- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap related performance
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
тАО12-16-2008 09:55 AM
тАО12-16-2008 09:55 AM
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 843 3249 21% 0 - 1 /dev/vg00/lvol2
.
.
.
dev 43000 0 42996 0% 0 - 3 /dev/swap/swap2
reserve - 24941 -24941
memory 26424 18625 7799 70%
total 92304 45521 46759 49% - 0 -
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2008 10:04 AM
тАО12-16-2008 10:04 AM
SolutionAt start time, all processes will reserve swap, even if the likelihood of actually being swapped is nill.
Lets say you have a system with 16 GB ram and you run 1 oracle db that needs 1 GB for everything including its buffers and SGA.
swap will be reserved.
Why? Because the system is stupid. It doesn't know what you will run next.
You really don't have trouble with swap until you start paging. Then its time to buy ram.
vmstat will tell you about paging.
http://www.hpux.ws/?p=6
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
тАО12-16-2008 10:31 AM
тАО12-16-2008 10:31 AM
Re: swap related performance
Thanks for your response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2008 12:09 PM
тАО12-16-2008 12:09 PM
Re: swap related performance
Used shows that the system is under physical memory pressure -- the two aren't that related.
Easy example: Take a system with 32Gb of RAM and 50Gb of device swap. Create a 30Gb object (and assume the kernel require about 2Gb). 30Gb of device swap will then be Reserved.
Touch all the pages in the object -- now 30Gb of RAM are used.. and the kernel is using the other 2Gb -- so the system is under memory pressure and some of that 30Gb will be paged out to device swap (USED increases). The RESERVE [virtual space] is unchanged and nowhere near 100%.
So what the above tells us is that at some point your system was pushed to physical memory exhaustion such that user pages were swapped out to device. Keep an eye on vmstat to see if this was a transitory spike or a steady condition (po [page outs] field). If it is, you'll need to tune your load or your kernel to reduce the physical pressure or buy more RAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 07:58 AM
тАО12-17-2008 07:58 AM
Re: swap related performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 07:59 AM
тАО12-17-2008 07:59 AM