Sharing Knowledge | System Admin Articles

Kernel Tuning in Linux



There are two methods to configure/tune the Kernel parameters in RHEL

1. Use the command sysctl -w <parameter_name>= <value> 

The above command will change the kernel parameters on the fly but the changes are not persistent with system reboots. 

2. The second method is,

     a. Edit the file "/etc/sysctl.conf" by adding the parameters along with values
     b. execute "/sbin/sysctl -p" to make sure that the changes are made using the values inside the above mentioned file.

The advantage with the second method is that the changes are persistent with system reboots. 

To View the Kernel Parameters:

#sysctl -a


Hope that the information will be useful for you.



Labels: Linux, Quick HOWTO

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

1 Comments for "Kernel Tuning in Linux"

can you share any realtime example of kernel tuning ?

What do you think about this Article? Add your Opinion..!

Back To Top