- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to Tune Kernerl parameter on Linux?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2002 09:35 PM
тАО02-20-2002 09:35 PM
Could anyone help how to tune kernel on Linux 6.2 as given parameter,
SEMNI 100
SEMNS 256
SEMMSL 100
SEMOPM 100
SEMVMX 32767
SHMMAX 2147483648
SHMMIN 1
SHMMNI 100
SHMSEG 4096
Thanks in advance for your helps,
Worapoj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2002 10:25 PM
тАО02-20-2002 10:25 PM
SolutionTo list kernel parameters : sysctl -a
To set kernel paramters : sysctl -w key=value
Specially for semaphore setting use the key,
kernel.sem="SEMMSL SEMMNS SEMOPM SEMMNI"
to set a value to this parameter,
use kernel.sem="value1 value2 value3 value4"
-Allen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2002 10:34 PM
тАО02-20-2002 10:34 PM
Re: How to Tune Kernerl parameter on Linux?
I meant set all of them to permanence, by tune parameter and make new kernel.
Pls advise,
Worapoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2002 10:54 PM
тАО02-20-2002 10:54 PM
Re: How to Tune Kernerl parameter on Linux?
all the kerenel parameters are available at /proc/sys/kernel
-Allen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2002 11:13 PM
тАО02-20-2002 11:13 PM
Re: How to Tune Kernerl parameter on Linux?
I would like to know the old way which this need to re gennerate new kernel.
Please helps,
Worapoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 01:27 PM
тАО02-21-2002 01:27 PM
Re: How to Tune Kernerl parameter on Linux?
This might cause some confusion if you are used to more main-stream Unicies (ie. I'm familier with SCO which requires /etc/conf/bin/idtune, and then a relink/reboot), but this is NOT the case with Linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 03:33 PM
тАО02-22-2002 03:33 PM
Re: How to Tune Kernerl parameter on Linux?
There are 2 ways to tune kernel parameters on Linux.
1. The "difficult" way : change values in the kernel source, then re-build the kernel.
Rebuilding the kernel is a risky task, and you should not do this unless you know exactly what you are doing. One problem you can have is the way drivers needed to boot the system are loaded (eg : ramdisk).
If you want to learn how to rebuild the kernel, please post another message on this specific topic.
2. The easiest way : change values directly in the running kernel using /proc.
This can be done either directly :
echo "134217728" >/proc/sys/kernel/shmmax
or using the sysctl program (as explained by Allen) :
sysctl -w kernel.shmmax=134217728
You can automate this in system boot-up scripts.
However when using RedHat, this is already done in /etc/rc.d/rc.sysinit. Therefore, the only thing you have to do is edit the /etc/sysctl.conf file to set the parameters like this :
kernel.shmmax=134217728
Good luck.
Kodjo