Operating System - HP-UX
1834187 Members
2856 Online
110064 Solutions
New Discussion

Changing data seg size kernal parameter

 
SOLVED
Go to solution
Shehan
Super Advisor

Re: Changing data seg size kernal parameter

Hi Dennis

You have proposed the maximum level. But I am afraid to increase it to maximum because it might be impact to other applications as well. So I am supposing to increase it to 3GB level(mid range). Is it possible to increase to value between 2-4 GB?

Regards
Nirukshitha
Dennis Handly
Acclaimed Contributor

Re: Changing data seg size kernal parameter

>please let me know more suitable values.

Suitable depends on your applications. You only need to increase it if your application needs that much data space.

>Venkatesh: The maximum allowed value is (4GB)

For maxdsiz. The maximum for maxdsiz_64bit is zillions (0x3ffbffff000) of bytes, not the piddly 4 Gb.

>So I am supposing to increase it to 3GB level (mid range). Is it possible to increase to value between 2-4 GB?

Sure you can use values between 2 and 4 Gb.
Shehan
Super Advisor

Re: Changing data seg size kernal parameter

Hi Dennis

If we set to 3Gb, is there a byte pattern like 4GB(0x3ffbffff000). How do we calculate this 3GB into byte pattern?

Regards
Nirukshitha
Venkatesh BL
Honored Contributor

Re: Changing data seg size kernal parameter

3*1024*1024*1024 (3GB) =
3221225472 (decimal) 0xc0000000 (hexa)
Shehan
Super Advisor

Re: Changing data seg size kernal parameter

Hi Dennis

If we take this calculation to 4GB, hax valve is incorrect. Please advice.

Also let me know whether we need to use hax valve or decimal valve for this parameter?

Regards
Nirukshitha
Dennis Handly
Acclaimed Contributor

Re: Changing data seg size kernal parameter

>If we take this calculation to 4GB... Also let me know whether we need to use hex valve or decimal valve for this parameter?

You can use either. 0x100000000 is 4 Gb.
Shehan
Super Advisor

Re: Changing data seg size kernal parameter

Thanks

Nirukshitha