- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Linux Kernel autotunes itself?
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
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
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
06-28-2011 09:02 AM
06-28-2011 09:02 AM
Linux Kernel autotunes itself?
From 2.6 does the Linux Kernel autotunes itself? - This was something i heard on a call from a senior Linux Member. Could someone clarify this statement although it would be better for that person to clarify as he made the statement. I wanted to know if there was some meaning to that statement.
Thanks
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2011 09:12 AM
06-28-2011 09:12 AM
Re: Linux Kernel autotunes itself?
Shalom Joe,
You might want to define what auto tune means to you.
There are kernel parameters that can get set with ranges, which does permit the kernel to change the running value without systems administrator intervention.
Beyond that, I've had to manually tune most kernel paramters by updating them in /proc or using sysctl
sysctl -a
# displays all running parameters. Might be instructive to run this and look at the results.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2011 09:50 AM
06-28-2011 09:50 AM
Re: Linux Kernel autotunes itself?
Shalom Steve
Thanks! I did not know that sysctl -a is an intrusive command! Could you please clarify how it could be intrusive as it is just reporting (similar to kmtune or kctume in HP-UX). Also, when you mention about the range, what are you referring to, could you give an example please?
Best Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2011 09:09 AM
06-30-2011 09:09 AM
Re: Linux Kernel autotunes itself?
Shalom again. :smileyhappy:
sysctl -a is not really instrusive.
It merely displays all kernel parameters.
Examples:
syscl -a
fs.dir-notify-enable = 1
fs.leases-enable = 1
fs.overflowgid = 65534
fs.overflowuid = 65534
fs.dentry-state = 177408 166387 45 0 0 0
fs.nr_open = 1048576
fs.file-max = 331662
fs.file-nr = 2550 0 331662
fs.inode-state = 156672 378 0 0 0 0 0
fs.inode-nr = 156672 378
fs.binfmt_misc.status = enabled[root@mercury ~]#
cd /proc/sys/kernel
[root@mercury kernel]# cat shmmax
68719476736
Now I can do a one time only change on shmmax on the command line
echo 6871947673 > shmmax
That parameter is now changed.
To do a permenent change that survives boot, that is where we are like kctune/kmtune
From the man page
-w Use this option when you want to change a sysctl setting.
/sbin/sysctl -w kernel.domainname="example.com"
sysctl -a | grep kernel.domainname
Reboot.
You will see survival.
-a just shows you where stuff is set. -w is the intrusvie one, but not really bad.
Almost every kernel parameter is dynamic on Red Hat Linux.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com