1846611 Members
1566 Online
110256 Solutions
New Discussion

tunning kernel

 
SOLVED
Go to solution
K.C. Chan
Trusted Contributor

tunning kernel

I have two questions in regards to generating a new kernel.
1) kmupdate /stand/build/vmunix_test; does this really works. I am skeptical of it because I do not see /stand/vmunix after this cmd is run. When does it cp the newly builded vmunix over?
2) kmtune -s seems to work, but what file does it writes to. I ussually edit /stand/build/system for all my tunable parameter?
Reputation of a thousand years can be determined by the conduct of an hour
3 REPLIES 3
Hai Nguyen_1
Honored Contributor
Solution

Re: tunning kernel

2) /stand/system is updated. To have /stand/build/system updated, modify your command to:
kmtune -s -S /stand/build/system

Hai
twang
Honored Contributor

Re: tunning kernel

The steps to manually rebuild kernel:

1) cd /stand/build
2) /usr/lbin/sysadm/system_prep -v -s system
3) vi /stand/build/system
4) make all the changes as instructed
5) mk_kernel -s system
6) cp /stand/system /stand/system.working
7) cp /stand/vmunix /stand/vmunix.working
8) mv /stand/dlkm /stand/dlkm.working
9) mv /stand/build/system /stand/system
10) mv /stand/build/vmunix /stand/vmunix
11) kmupdate
12) shutdown -r -y 0
K.C. Chan
Trusted Contributor

Re: tunning kernel

Ah I see said the blind man. I bought an hpux 11 i sys admin handbook and toolkit. It's missing step 10, mv /stand/build/vmunix_test /stand/vmunix which I have done anyway bec. it doesn't seem right when I did a kmupdate and told all is well when you rebooted while clearly the new kernel is not moved into place.

Thanks all for your help.
Reputation of a thousand years can be determined by the conduct of an hour