1832433 Members
3299 Online
110042 Solutions
New Discussion

Re: kernel config

 
amit singh_3
Advisor

kernel config

Have wanted to change the "maxswapchunks"
kernel parameter.
but after changing the parameter by "kmtune" command it is showing me new value in "planed" field.
after rebooting the system it is still showing the old value, why?

pls reply me.

Amit singh

5 REPLIES 5
Karthik S S
Honored Contributor

Re: kernel config

Hi Amit,

Most of the Kernel parameters require a kernel reconfiguration and a reboot to take effect. Note that you need to reconfigure the kernel before you reboot the system.

Refer,
http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html

kmtune -l will show you if a parameter is static or dynamic (that doesnt require a reboot)

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Anita Kelkar
New Member

Re: kernel config

Hi Amit,
You need to rebuild the kernel using "/usr/sbin/mk_kernel -o /stand/vmunix" .
Once this is done, then reboot the system. You can do all this using "SAM" .


thanks
Anita
kamal_9
Super Advisor

Re: kernel config

hi
amit cahnge the value and move the old kernal as vmunix.old nad rebulit the kernal.then you can reboot the machine with new kernal
amit singh_3
Advisor

Re: kernel config

hey ,

Have allready tried all the things,
after changing the parameter with "kmtune"
it showing me the new value in "planed"
field by "kmtune -l -q" option.
but after rebuilting the kernel it is
showing me the old value only.

thnks for replying me.

Amit singh
Sanjay Kumar Suri
Honored Contributor

Re: kernel config

You need to do the following before boot:

SAM -->Kernel Configuration --> Configurable Parameters --> Actions --> Apply Tuned Parameter Set

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.