HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

shmmax value

 
SOLVED
Go to solution
himacs
Super Advisor

shmmax value

Hi Admins,

I want to tune shmmax value equal to ram.

currently i have 6 gb ram and shmmax is 1073741824.

How can i calculate the new shmmax value

whether its like 1073741824*6

Please suggest on this

Regards
himacs
9 REPLIES
johnsonpk
Honored Contributor
Solution

Re: shmmax value

Hi Himacs
Currently you have 1 Gb (ie 1073741824 bytes)

>>whether its like 1073741824*6
Yes , You are right.

Johnson
himacs
Super Advisor

Re: shmmax value

Hi Johnson,

Thanks for the response

So what vakue i have to give with kctune or SAM..

kctune shmmax=?

Please suggest

Regards
himacs

johnsonpk
Honored Contributor

Re: shmmax value

kctune shmmax=6442450944
Johnson Punniyalingam
Honored Contributor

Re: shmmax value

Hope you have also "make_tape_recovery" for the OS backup.

Better if you could >SAM

SAM ->Kernel Configuration Configurable-> Parameters->Select shmmax->Actions -> Modify Configurable Parameter -> specify the value 1073741824*6 =

Problems are common to all, but attitude makes the difference
madhuchakkaravarthy
Trusted Contributor

Re: shmmax value

shmmax is dynamic so reboot is not necessary,,

but it is always welcome to take the os backup.

if not have the copy of vmunix and system in stand

regards

MC
johnsonpk
Honored Contributor

Re: shmmax value

BY default kctune will prompt you for take a current kernel config backup

if you want to revert back the changes, you can use kconfig -l backup
if you want the system to be booted with the backed up kernel

use kconfig -n backup and reboot the server


himacs
Super Advisor

Re: shmmax value

Hi All,

I have changed the shmmax value to 6GB thro SAM.There was no renoot since the same is dynamic.

Thanks to johnsonpk for value calculating suggestion

regards
himacs

Johnson Punniyalingam
Honored Contributor

Re: shmmax value

Congrats .!!

does the new value changes reflected ..? You can with below command

# kctune |grep shmmax

. if everything looks good. You may wish to close thread.avoid multiple posting :)
Problems are common to all, but attitude makes the difference
himacs
Super Advisor

Re: shmmax value

Hi Johnson,

Changes reflected in server.

Thanks for ur support

Regards
himacs