HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Virtual memory configuration
 
Operating System - Linux
        1840197
        Members
    
    
        2822
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-16-2002 10:10 PM
08-16-2002 10:10 PM
Hello there.
My m/c is Pentium III 500MHz with 320MB RAM. I have Redhat linux 7.3 installed.
One of the applications I want to install requires 512MB RAM. Since the hardware limit of m/c doesn't allow me to increase the RAM capacity futher, I wish to configure virtual memory and swap space to 512MB and 1GB respectively. I have enough of hard disk space.
I read about fdisk and mkswap and tried few things but going nowhere. Your inputs are very much appreciated.
Thanks,
Vimala.
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-17-2002 01:14 AM
08-17-2002 01:14 AM
Solution
			
				
					
					
						Hi,
Commands in order to create swap space
1) mkswap
2) swapon
man mkswap
man swapon
will give you more details.
After giving swapon you have put the swap entry
in /etc/fstab.
man fstab
regards.
U.SivaKumar
					
				
			
			
				
		
		
	
	
	
Commands in order to create swap space
1) mkswap
2) swapon
man mkswap
man swapon
will give you more details.
After giving swapon you have put the swap entry
in /etc/fstab.
man fstab
regards.
U.SivaKumar
	Innovations are made when conventions are broken
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-17-2002 01:39 AM
08-17-2002 01:39 AM
			
				
					
						
							Re: Virtual memory configuration
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi
the max swap partition size is 2GB. And you can use multiple swaps. Some people create swap on different HDs for performance reason. Set them as same priority.
/dev/hda7 swap swap defaults 0 0
This is my swap config.
fdisk steps.
# fdisk /dev/hda
"n" for create new partition.
"t" for set the partition type.
swap should be 82.
"w" for write & quit.
These are all you shold know.
Good luck
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
the max swap partition size is 2GB. And you can use multiple swaps. Some people create swap on different HDs for performance reason. Set them as same priority.
/dev/hda7 swap swap defaults 0 0
This is my swap config.
fdisk steps.
# fdisk /dev/hda
"n" for create new partition.
"t" for set the partition type.
swap should be 82.
"w" for write & quit.
These are all you shold know.
Good luck
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP