Operating System - HP-UX
1838703 Members
3328 Online
110128 Solutions
New Discussion

SHMEM value DYNAMIC/STATIC

 
Amith_2
Frequent Advisor

SHMEM value DYNAMIC/STATIC

Could any let me know what is the difference in setting SHMEM value to DYNAMIC or STATIC.

In my server it is as follows:
shmmax 67108864 67108864 Dynamic N/A Max Shared Mem Segment (Bytes)

When do we set it to dynamic and when do we set it as static?
5 REPLIES 5
Rajesh D L
Frequent Advisor

Re: SHMEM value DYNAMIC/STATIC

Hi,

You cant set it to dynamic or static. Dynamic means you dont have to reboot the server for modifying this kernel parameter. Static needs a reboot.

regards,
RDL.
Anand_20
Advisor

Re: SHMEM value DYNAMIC/STATIC

Dynamic kernel tuning is available for 11i onwards.
As said dynamic parameter can be tuned online without a reboot whereas static requires a reboot whenever kernel parameter is changed.
Matti_Kurkela
Honored Contributor

Re: SHMEM value DYNAMIC/STATIC

As far as I know, "dynamic" or "static" is the type of the kernel parameter. It is not changeable through SAM or kernel configuration tools: you'd have to reprogram parts of the kernel to do that.

You can change dynamic parameters without rebooting (using kmtune -u), but changing a static parameter always requires making a new kernel and rebooting.

MK
Manish Srivastava
Trusted Contributor

Re: SHMEM value DYNAMIC/STATIC

Hi,

I agree with Matti. "Dynamic" says that the value of this particular kernel tunable parameter can be changed at runtime without rebuilding the kernel and the value will be visible immediately.
You can see the changed values by setting the tunable to some value and then querying it later.

manish
Shaikh Imran
Honored Contributor

Re: SHMEM value DYNAMIC/STATIC

Hi,
Dear amith,
You don't have control over the
Dynamic & Static.
These are inbuilt into the kernel.
You can only change the values of these configurable kernel parameters.
If you change a Dynamic value it is affected immediately and no kernel rebuild is required.
If you change a Static parameter's value
the kernel is required to rebuild and your new changes will come into effect after a reboot only.

Regards,
I'll sleep when i am dead.