- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- proper settings for swap
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
01-08-2004 08:36 AM
01-08-2004 08:36 AM
I have 2GB of RAM and a 4 GB swap device,
the kernel setting for maxdsiz and maxswapchunks are:
# sysdef | grep -i maxdsiz
maxdsiz 503866 - 0-503866 Pages -
maxdsiz_64bit 524288 - 1024-1073479679 Pages -
# sysdef | grep -i maxswapchunks
maxswapchunks 2048 - 1-16384 -
Are these set to the optimal level to take advantage of the RAM and swap, do you
see a problem?
Thanks,
Randy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 08:49 AM
01-08-2004 08:49 AM
SolutionMaxswapchunks info -
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.MaxSwapChunks.html
maxdsiz and maxdsiz_64 specify the maximum data segment size, in bytes, for an executing process. So that is one of the controls to keep a process from using too much RAM. See here for more info on maxdsiz* parameters - http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.MaxDsiz.html
You can also look here for info on all configurable kernel parms -
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
Is there some problem you are having that is leading to these questions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 08:52 AM
01-08-2004 08:52 AM
Re: proper settings for swap
Some developers were running into
problems with swap ( they weren't
too detailed ) so I thought I would
double the current settings.
Thank you,
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 09:47 AM
01-08-2004 09:47 AM
Re: proper settings for swap
check your swap usage with swapinfo -tam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 01:10 PM
01-08-2004 01:10 PM
Re: proper settings for swap
swapminfo -tam
This shows if were are really using all or most of our swap.
Now: If you have high utilization and swap is already twice RAM don't add any more swap. You'll just slow your system down.
In that scenario you need memory.
If however you need general swap guidelines:
I'm a member of the A. Clay Stephenson school of swap.
I set one swap area, as small as possible as primary, sometimes as small as half system ram. I then set a secondary swap area to cover the rest.
This gets me very fast performance during low and medium system loads.
To pick the overall number: between 1.5 and 2.0 times RAM. The more RAM you have the less you need to be in the 2.0 multiple neighborhood.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com