HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Need kernel tuning help with Red Hat Linux 7.0
Operating System - Linux
        1839832
        Members
    
    
        2511
        Online
    
    
        110156
        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
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
07-03-2001 12:00 PM
07-03-2001 12:00 PM
			
				
					
						
							Need kernel tuning help with Red Hat Linux 7.0
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I'm installing a database application on our first Linux platform, and normally under other flavors of Unix, I need to adjust semaphore kernel parameters for the database.
Does Linux have a comparable command to "sysdef" which will display current kernel settings?
How would I change kernel settings under Linux?
		
		
	
	
	
Does Linux have a comparable command to "sysdef" which will display current kernel settings?
How would I change kernel settings under Linux?
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 10:54 PM
07-03-2001 10:54 PM
			
				
					
						
							Re: Need kernel tuning help with Red Hat Linux 7.0
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
Read the man page for sysctl. This is a program that can be used to set kernel parameters that are displayed under /proc/sys.
For instance, to get an overview of all tunable parameters:
# sysctl -A
Regards,
Vincent
		
		
	
	
	
Read the man page for sysctl. This is a program that can be used to set kernel parameters that are displayed under /proc/sys.
For instance, to get an overview of all tunable parameters:
# sysctl -A
Regards,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2001 01:57 PM
07-05-2001 01:57 PM
			
				
					
						
							Re: Need kernel tuning help with Red Hat Linux 7.0
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hello Debbie,
Kernel parameters are available through /proc filesystem. Some of these kernels are dynamic. Of course, changing parameters on live systems may result in unexpected behaviour. That is why it is better to set them in system start scripts, before launching applications such as databases.
In /etc/rc.d/rc.sysinit, the sysctl program is called to set some dynamic parameters during system boot.
These parameters can be defined in file /etc/sysctl.conf. For example, to set the shmmax parameter, you should add something like this in /etc/sysctl.conf :
kernel.shmmax = value_in_bytes
It stands for :
echo "value_in_bytes" >/proc/sys/kernel/shmmax
Other remark : if you had the linux kernel source and documentation installed, you would find some useful information in /usr/src/linux/Documentation/sysctl.
Good luck.
Kodjo
P.S. Some database tuning requirements are related to buffer cache. Check /etc/fstab for mount options that disable the buffer cache (man mount -> "sync" option).
					
				
			
			
				
		
		
	
	
	
Kernel parameters are available through /proc filesystem. Some of these kernels are dynamic. Of course, changing parameters on live systems may result in unexpected behaviour. That is why it is better to set them in system start scripts, before launching applications such as databases.
In /etc/rc.d/rc.sysinit, the sysctl program is called to set some dynamic parameters during system boot.
These parameters can be defined in file /etc/sysctl.conf. For example, to set the shmmax parameter, you should add something like this in /etc/sysctl.conf :
kernel.shmmax = value_in_bytes
It stands for :
echo "value_in_bytes" >/proc/sys/kernel/shmmax
Other remark : if you had the linux kernel source and documentation installed, you would find some useful information in /usr/src/linux/Documentation/sysctl.
Good luck.
Kodjo
P.S. Some database tuning requirements are related to buffer cache. Check /etc/fstab for mount options that disable the buffer cache (man mount -> "sync" option).
	Learn and explain...
			
			
				
			
			
			
			
			
			
		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
