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.

Share this

Related Posts

Previous
Next Post »

1 comments:

Write comments
May 10, 2011 at 2:51 PM delete

can you share any realtime example of kernel tuning ?

Reply
avatar

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