- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel parameters
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
Forums
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
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
11-24-2004 01:09 AM
11-24-2004 01:09 AM
I have some troubles with 4 kernel param
I have an hpux 11.00 with oralcle and some application
4 CPU
6GB RAM
4GB SWAP
Timeslice - on my server is set to 1, but I read it should be set to 10. isn't it?
bufpages and nbuf -
I have 4692 for bufpages and 8092 for nbuf
I read if you put zero values you get the dynamic buffer cache... but I would like to know how these 2 param work and how they can increase the system performances... if it's possible!
swapmem_on - is set to 0... it should be to 1??
in attach some info
Thanks in advance for help!
L.F.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:12 AM
11-24-2004 01:12 AM
Re: Kernel parameters
My swapmen is set to 1. This enables swap to be reserved, device and filesystem.
Again, production system running well.
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
11-24-2004 01:17 AM
11-24-2004 01:17 AM
Solutionbufpages and nbuf - If you want to use, dynamic buffer cache, set those two values to 0 and set parameters dbc_max_pct and dbc_min_pct. In most cases (with oracle) setting of 10 % and 5 % suffices. If values of bufpages and nbuf are non zero static buffer cache is set.
swapmem_on - With 6GB RAM, I would not set it to 1. Setting it to one, inflates the swap space value. (swap space + 75 % of RAM) This is just for kernel calculation. It is helpful, if your system is not oging to swap at all. Proves very helpful on systems with large RAM. (for me large RAM starts at atleast 12 GB)
Hope this helps.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:17 AM
11-24-2004 01:17 AM
Re: Kernel parameters
I think the Monolithic Database kernel parameter set used to set the timeslice to 1. As mentioned you should put it back at 10. We had a box that had it set to 1 for a while. It didn't run noticeably faster with the timeslice at 10, but long running jobs that contended for CPU time did seem to do better.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:19 AM
11-24-2004 01:19 AM
Re: Kernel parameters
Since you have less device swap than RAM swapmem_on should be set at 1 in order to use for swap what the extra...
Now reduce your buffers:
set
dbc_max_pct 10
dbc_min_pct 3
Once that done you can try with a bigger SGA and tune the way you mount your file sytems if you use vxfs and have onlineJFS
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:19 AM
11-24-2004 01:19 AM
Re: Kernel parameters
First, timeslice should definitely be set to 10. This should never be changed.
From SAM's "Help on Configurable Parameters":
" * bufpages = 0, nbuf = 0: Enables dynamic buffer cache.
* bufpages not zero, nbuf = zero: Creates bufpages/2 buffer headers and allocates (bufpages x4 Kbytes) of buffer pool space at system boot time.
* bufpages = 0, nbuf not zero: Allocates nbuf*2 pages of buffer pool space and creates nbuf headers at boot time..
* bufpages not 0, nbuf not zero: Allocates bufpages pages of buffer pool space and creates nbuf buffer headers at boot time. If the two values conflict such that it is impossible to configure a system using both of them, bufpages takes precedence."
The setting of swapmem depends. On systems with lots of available memory it is typically enabled. On smaller systems and workstations, it might be better to disable it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:19 AM
11-24-2004 01:19 AM
Re: Kernel parameters
Swapmem_on set to 1
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/939/KCParms/KCparam.SwapMemOn.html&searchterms=swapmem_on&queryid=20041124-071617
My bufpages/nbuf are set to 0
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:22 AM
11-24-2004 01:22 AM
Re: Kernel parameters
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:30 AM
11-24-2004 01:30 AM
Re: Kernel parameters
As others indicated, set your timeslice to 10 otherwise your system will spend quite sometime in doing context switching.
Interestingly you have set only 4692 pages for bufpages which means you have around 18MB for buffer cache!!!... That's too low. Either set your nbuf and bufpages to 0 and make your max_dbc_pct and min_dbc_pct to 8 and 2 respectively or set your bufpages to 128000 and nbuf to 0 so that buffer headers will be automatically determined.
Set your swapmem_on to 1 otherwise you will not be able to use all of your memory as you have only 4GB of swap.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:58 AM
11-24-2004 01:58 AM
Re: Kernel parameters
just 2 question
I'm using the static cache (so nonzero values to bufpages and nbuf)
bufpages 4692
nbuf 8092
It's enough?? or I should change something?
how does it work?
thanks
L.F
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 02:23 AM
11-24-2004 02:23 AM
Re: Kernel parameters
You obviously didn't read my message. You are only setting 4692 pages of buffer cache which is around 18MB and this is too low. I would set it to around 400-500 MB means, set it to 128000 pages. Also set nbuf to 0 and let the system calculate the buffer headers.
Either you should have the filesystem set to use no buffer cache (using OnlineJFS options) or with optimum size for oracle. Otherwise it can impact the performance.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 02:33 AM
11-24-2004 02:33 AM
Re: Kernel parameters
300-400MB => 76800-102400 bufpages
600-800MB => 153600-204800 bufpages
In almost every case leaving nbuf set to 0 for the default behavior is a good idea.
Currently, your buffer cache is much too small to handle all the routine UNIX tasks well even if all your Oracle i/o is raw. At a barebones minimum, you should increase it to 100MB or so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 02:36 AM
11-24-2004 02:36 AM
Re: Kernel parameters
sorry SRI but I didn't refresh the page...
THANKS ALL!!