Operating System - HP-UX
1748336 Members
3732 Online
108762 Solutions
New Discussion юеВ

Re: problem with changing kernal tunable parameter

 
SOLVED
Go to solution
Bunty....
Advisor

problem with changing kernal tunable parameter

Tunable Current Planned Dynamic
maxdsiz_64bit 0x400000000 34359738368 yes

i changed it from 0x400000000 to 0x800000000.

but it is showing :
maxdsiz_64bit 0x400000000 34359738368 yes

how can i change the current & planned value to 0x800000000.

when i modify this, it asks for value/expression, i give there 0x800000000, then it shows expressed value is 34359738368


i want current & planned value should be 0x800000000




9 REPLIES 9
James R. Ferguson
Acclaimed Contributor

Re: problem with changing kernal tunable parameter

Hi Bunty:

You are asking the same question in three threads. PLEASE slow down, read and confine this to one thread.

The values in '0x' notation are hexadecimal. The displayed values are decimal.

If you are doing this via SAM, there is a toggle to show and input values in decimal or hexadecimal as I recall.

Since the tunables like 'maxdsiz' have mininum and maximums expressed in hexadecimal, it is better to specify them in those terms and do the base conversion yourself.

Regards!

...JRF...
Dave Hutton
Honored Contributor

Re: problem with changing kernal tunable parameter

If your using 11.11 or below it requires a kernel recompile and reboot.

It looks like 11.23 its dynamic. You should be able to set it. And tell it 'n' not to hold it til next reboot. Exit out and it'll be changed.

11.11 or below you change the value and under actions choose process new kernel. It'll ask if you want to move the kernel and place and reboot.

Bunty....
Advisor

Re: problem with changing kernal tunable parameter

hi,
it will be veryhelpful to me if anybody tell me the value which i should enter to make current & planned value to 0x800000000.

when i modify this, it asks for value/expression, i give there 0x800000000, then it shows expressed value is 34359738368


i want current & planned value should be 0x800000000

Please help me soon, it so urgent
Bunty....
Advisor

Re: problem with changing kernal tunable parameter

OS version is 11iv2 - no need to reboot.

please tell me the values which i should enter
mirco_1
Valued Contributor
Solution

Re: problem with changing kernal tunable parameter

hi,

34359738368 = 0x800000000

the value is correct, is the same number.

The incorrect is :
34359738368 (DECIMAL) = 0x400000000
Infact in my system :
1073741824 (DECIMAL) = 0x400000000

DM.
James R. Ferguson
Acclaimed Contributor

Re: problem with changing kernal tunable parameter

Hi Bunty:

0x800000000 (base-16) is 34359738368 (base-10).

You can interconvert a number of ways. One easy one is:

# echo "obase=16;ibase=10;34359738368"|bc

# echo "obase=10;ibase=16;800000000"|bc

Notice that the output-base is "obase"; the input number base is "ibase".

As far as which base to use, again, I'd use the base-16 (hexadecimal) value for the reason I stated above.

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: problem with changing kernal tunable parameter

Hi (again) Bunty:

Please see too, my response regarding 'maxdsiz' and 'maxdsiz_64bit' values in your other post:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=986055

Regards!

...JRF...
Geoff Wild
Honored Contributor

Re: problem with changing kernal tunable parameter

Can't you just do a:

kctune maxdsiz_64bit=0x800000000

or

kctune maxdsiz_64bit=34359738368

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: problem with changing kernal tunable parameter

Also - have a read through this doc:

http://docs.hp.com/en/B2355-90912/B2355-90912.pdf

In particular - section on Reconfiguring The Kernel...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.