- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Question about memory reservation beyond (maxs...
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
тАО06-01-2011 05:00 AM
тАО06-01-2011 05:00 AM
I understand I still need to reserve swap for every allocated memory under 11.23. However, how does it work beyong the maximum supported swap space?
We have 38 GB of physical RAM and have setup the same amount of RAM (device+swapmem). We are afraid we won┬┤t be able to use all the available physical RAM due to the reservation behavior.
Thank you.
Solved! Go to Solution.
- Tags:
- maxswapchunks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2011 05:54 AM
тАО06-01-2011 05:54 AM
Re: Question about memory reservation beyond (maxswapchunks * swchunk * 1k) on 11.23
In general I disable formulas like this because they do not work in the real world.
swapinfo -tam
Please post.
In a system with this much RAM, if total available swap space is equal to memory you should be able to use all available physical ram.
I would not use this formula though as stated above.
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-01-2011 06:17 AM
тАО06-01-2011 06:17 AM
Re: Question about memory reservation beyond (maxswapchunks * swchunk * 1k) on 11.23
Thank you, but the formula was not inserted anywhere, it├В┬┤s the definition of swap usage under HP-UX according to http://docs.hp.com/en/939/KCParms/KCparam.MaxSwapChunks.html
(Actually: maxswapchunks times swchunk times DEV_BSIZE)
The swapinfo follows:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 20480 0 20480 0% 0 - 1 /dev/vg00/lvol2
dev 20480 0 12288 0% 0 - 1 /dev/vg00/swap1
reserve - 25018 -25018
memory 38863 24846 14017 64%
total 79823 49864 21767 62% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2011 09:18 AM
тАО06-01-2011 09:18 AM
Re: Question about memory reservation beyond (maxswapchunks * swchunk * 1k) on 11.23
Being limited to the maximum supported swap space at 32 GB, without changing swapchunks (which is not recommended), will I be able to reserve and use up to 38 GB, which is my physical RAM?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2011 10:50 AM
тАО06-01-2011 10:50 AM
SolutionYou don't need device swap to access your RAM. You have pseudo-swap enabled.
Your total swap is 80 Gb. You have reserved 25 Gb of device swap but not paging to it yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2011 10:56 AM
тАО06-01-2011 10:56 AM
Re: Question about memory reservation beyond (maxswapchunks * swchunk * 1k) on 11.23
>You don't need device swap to access your RAM. >You have pseudo-swap enabled.
>Your total swap is 80 Gb. You have reserved 25 >Gb of device swap but not paging to it yet.
Thanks, so maxswapchunks and swapchunks only limits the amount of device swap space and the pseudo-swap adds to the amount of max reserved space. That answers my question.
Thank you again.
BTW: If you look at the FREE space on /dev/vg00/swap1, you├В┬┤ll notice that, even though they├В┬┤ve created two 20 GB swap devs, only 20+12GB are available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2011 11:24 AM
тАО06-01-2011 11:24 AM
Re: Question about memory reservation beyond (maxswapchunks * swchunk * 1k) on 11.23
That's probably your (maxswapchunks * swchunk) limitation.
The formula that SEP was probably referring to was one there you need N X RAM for swap.
This changes when RAM is very large.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2011 01:12 PM
тАО06-01-2011 01:12 PM
Re: Question about memory reservation beyond (maxswapchunks * swchunk * 1k) on 11.23
Better off getting rid of the formula so if you need it all swap is available.
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-02-2011 01:40 AM
тАО06-02-2011 01:40 AM
Re: Question about memory reservation beyond (maxswapchunks * swchunk * 1k) on 11.23
That (maxswapchunks * swchunk) formula is hardcoded in the 11.11 kernel.
(I don't see maxswapchunks on 11.23 and it looks like it is hardcoded to 16384.)
That rule of thumb about device swap and RAM can be changed.