- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap space
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-25-2001 09:40 PM
11-25-2001 09:40 PM
Swap space
I have a doubt. Is there any restriction that I cant have swap space more than a limit? Is it so? If yes what is that limit?
Thanks in advance
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2001 10:04 PM
11-25-2001 10:04 PM
Re: Swap space
There is a limit in the kernel that you
need to be aware of and that is
'maxswapchunks' that may need increasing.
Also have a look at this thread, where
there was a similar discussion. Basically
you can get to a stage where having too
much swap space will not help at all.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x5ad9cf38d6bdd5118ff10090279cd0f9,00.html
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 05:58 AM
11-26-2001 05:58 AM
Re: Swap space
How much memory do you have?
It helps a bunch to set the kernel parm swapmem_on to 1, setting up pseudo swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 06:25 AM
11-26-2001 06:25 AM
Re: Swap space
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 06:33 AM
11-26-2001 06:33 AM
Re: Swap space
Two kernel parameters will decide the limit on the system.
1. maxswapchunks
2. swchunk
The limit would be maxswapchunks x swchunk.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 06:49 AM
11-26-2001 06:49 AM
Re: Swap space
swchunk * maxswapchunks
As others have said, there does become a point where adding more swap will not help at all and in fact if you are actually using swap instead of real memory your performance will be very poor. HP suggests 2 times physical memory for swap space, in my experience that amount makes a lot of sense. Too much more than that and it is wasted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 06:57 AM
11-26-2001 06:57 AM
Re: Swap space
The two params which determine the swap limit are:
#kmtune -l |grep chunk
Parameter: maxswapchunks
Parameter: swchunk
The links which give good info on this:
http://docs.hp.com/hpux/onlinedocs/os/KCparam.MaxSwapChunks.html
http://docs.hp.com/hpux/onlinedocs/os/KCparam.SwChunk.html
Pls note that you would never need to reach the swap limit.
Normally swap should be around 1.5 to 2times(max) the memory size.
HTH
raj