1829767 Members
6517 Online
109992 Solutions
New Discussion

Re: kernel tuning RHEL3

 
SOLVED
Go to solution
Manuela Italia
Advisor

kernel tuning RHEL3

Hi

I'm tuning kernel parameters of a Red Hat Enterprise Linux AS release 3 (Taroon Update 7).
I tuned parameters with "sysctl" command, but i'm not able to modify the value of shmseg and shmmin, because there are not files
/proc/sys/kernel/shmseg and /proc/sys/kernel/shmmin and
# sysctl -w kernel.shmseg=10
error: 'kernel.shmseg' is an unknown key.

I don't have kernel source, because I'm using the installation kernel 2.4.21-40.ELsmp.

How can I enable these parameters and change their value without rebuilt a new kernel?

Thanks a lot!

Manuela


4 REPLIES 4
Vitaly Karasik_1
Honored Contributor

Re: kernel tuning RHEL3

which parameters exactly do you need to tune? there is no shmmin, there is shmmni:

kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 33554432
Manuela Italia
Advisor

Re: kernel tuning RHEL3

Hi
I'm not able to tune parameters "shmmin" and "shmseg".
I tuned without problem the other parameters.
I got these parameters from "Oracle Enterprise Manager Grid Control requirements guide"

thank you!


Manuela
Vitaly Karasik_1
Honored Contributor
Solution

Re: kernel tuning RHEL3

Well, after some googling I understand that shmmin & shmseg isn't a type as I suspected (sorry for that!).

But, according to http://www.puschitz.com/InstallingOracle10g.shtml, shmmin isn't a kernel parameter and shmseg is hardcoded, but default is enough:

shmmin = 1 (To verify, execute: ipcs -lm |grep "min seg size")
shmseg = 10 (It's hardcoded in the kernel - the default is much higher)
Manuela Italia
Advisor

Re: kernel tuning RHEL3

thanks a lot!