Operating System - HP-UX
1834454 Members
2555 Online
110067 Solutions
New Discussion

How can i leave with kmtunes a kernel param to its default

 
SOLVED
Go to solution
likid0
Honored Contributor

How can i leave with kmtunes a kernel param to its default

Hy people,

I am going to recompile the kernel to leave a kernel parameter to the machine default, which is the formula the proper server uses to calculate that parameter.

I am using kmtunes -S system -s vx_ninode=0

But i am not sure if 0 takes it to its default?

or instead of 0 i have to put another thing??

Thnx!
Windows?, no thanks
4 REPLIES 4
Jaime Bolanos Rojas.
Honored Contributor

Re: How can i leave with kmtunes a kernel param to its default

Daniel,

the default for 11i v2 is 1024 according to this document:

http://docs.hp.com/en/B2355-60105/vx_ninode.5.html

if you are running 11.11 I recommend you to go to docs.hp.com and do a search non vx_ninode.

Regards,

Jaime.
Work hard when the need comes out.
spex
Honored Contributor
Solution

Re: How can i leave with kmtunes a kernel param to its default

Hi Daniel,

'0' is the default value for vx_ninode under 11.00 and 11.11. If you're using HP-UX 11.11, the '-r ' option to 'kmtune' will reset a parameter to its default value.

# kmtune -S system -r vx_ninode

To see default values for all parameters:

# kmtune -l | more

The attached HP-UX Performance Cookbook has a nice description of this tunable.

PCS
likid0
Honored Contributor

Re: How can i leave with kmtunes a kernel param to its default

i am using 11i, and i have the parameter to 8000 but i they have told me they want to try with default value so what i have done is as you told me:

gredos1:/stand/build# kmtune -S system -r vx_ninode

gredos1:/stand/build# kmtune -S system -d
Parameter Current Dyn Planned Module Version
===============================================================================
nfile 63488 - 100000
vx_ninode 8000 - 0




is this correct??
Windows?, no thanks
spex
Honored Contributor

Re: How can i leave with kmtunes a kernel param to its default

David,

# uname -r
B.11.11

# kmtune -l -q vx_ninode
Parameter: vx_ninode
Current: 0
Planned: 0
Default: 0
Minimum: -
Module: -
Version: -
Dynamic: No

Pay special attention to the line which says "Default: 0". So yes, '0' is the default for vx_ninode under 11.11.

PCS