- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap trouble
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-22-2004 02:19 AM
01-22-2004 02:19 AM
swap trouble
The user does CFD analysis and required an extra 6Gb of memory so, as a rule of thumb, I want to add an extra 6Gb of swap. This swap has to be added as file system swap (yuk, yes I know it is not efficient but the alternative is to copy 20Gb's of data off the disk, add device swap and reinstate the 20Gb's of data. The user does not have enough time for this to be done at the moment but will allow it in the long term). So ....
I started SAM, went to Disks and File Systems -> Swap, click on Actions and Add File System Swap, I select the filesystem and set the Minimum and Maximum Swap Mbytes to 6144 (6Gb). All goes well and I am told that the paging area has been created. However ....
When I look at swapinfo -tam I see that only 2048 Mb are available as swap on localfs. Where is my other 4096 Mb's?
The filesystem I selected had 12 Gb's of free space, swchunk is set to 2048 and maxswapchunks is set to 16384.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:25 AM
01-22-2004 02:25 AM
Re: swap trouble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:43 AM
01-22-2004 02:43 AM
Re: swap trouble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:49 AM
01-22-2004 02:49 AM
Re: swap trouble
Im not sure what rule of thumb you are referring to, but the current HPUX rule of thumb is to have roughly 20-33% of swap versus memory.
My 48-way Superdome has 72GB of memory and about 36GB of swap... some of my other boxes have only 20% swap per memory.
I only have 27GB memory and 5GB of SWAP on one N-class of mine.
To view paging activity you need to go to glance if you have it and type "w" this will show you swap utilization on your box.
You can use commandline to read the amount of swap you use on intervals in seconds.
To monitor and print swap utilization once every two hours, specifying
a file, enter:
glance -j 7200 -f filename -w
You can shorten the seconds as you wish...
your system should only page out to free up memory when usage is high. Your system should almost never swap IN from swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:55 AM
01-22-2004 02:55 AM
Re: swap trouble
If you have added 6GB memory,check the usage of memory.If the memory is not highly used you can enable the swapmem_on on the system.
There is no rule as such.
yes,if the memory is completely utilized add swap.
The problem should be with the maxswapchunks.
Is your kernel newly built with a greater value of maxswapchunks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:56 AM
01-22-2004 02:56 AM
Re: swap trouble
It will slow your box down.
How much additional swap you need for this special request is dependent on what the system looked like before this application.
I'll endorse the prior posts, not that its necessary, but I've used advice Stefan and A. Clay gave on this subject to others to resolve issues myself. Hope that makes you feel better.
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
01-22-2004 03:28 AM
01-22-2004 03:28 AM
Re: swap trouble
I have switched swapmem_on on in the kernel, the user will see how he gets on with that.
Thanks for all the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 04:28 AM
01-22-2004 04:28 AM
Re: swap trouble
Your situation still intrigues me. I have a few questions and an observation.
How much memory and swap do you have at present? Seems your user's tool is abit of a memory/swap hog... What is the current CPU load on your box? What type of box is it?
Was your box only configured for a certain level of activity and this tool pushed it beyond its normal capacity? So you need to add more memory?
--------------------------------------------
Also, I was just noticing your maxswapchunks is near what I have on my 48-way Superdome with 72GB memory and 36GB Swap...
My maxswapchunks is currently 13481, lower than what you have configured...of course it is hard to know how it compares to your box since I dont know what H/W you are running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 06:41 AM
01-22-2004 06:41 AM
Re: swap trouble
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:09 AM
01-22-2004 07:09 AM
Re: swap trouble
Your particular situation is interesting. What is the utilization on your filesystem now?
bdf /filesystem
You should see a directory created as paging underneath this filesystem files created with each of size equal to your swchunk. What is the value of 'du -sk /filesystem/paging'?
Do you see any errors in your 'dmesg' output?.
-Sri