- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swapping!!
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
08-02-2002 10:27 AM
08-02-2002 10:27 AM
Swapping!!
Server K460
Phy Mem 1.75 GB
Swap 1 Gb & 500 MB
In the Glance display I could see the Memory Utilisation as 90%, but when I am looking for Swapinfo it is showing that it is swapping on the device.
swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 512 0 512 0% 0 - 1 /dev/vg00/lvol2
dev 1024 18 1006 2% 0 - 0 /dev/vg01/lvol9
reserve - 1246 -1246
memory 1330 397 933 30%
total 2866 1661 1205 58% - 0 -
I am not sure how it will come on the display.
Total VM : 680.3mb Sys Mem : 161.0mb User Mem: 1.15gb Phys Mem: 1.75gb
Active VM: 160.5mb Buf Cache: 268.8mb Free Mem: 183.1mb
Now my question is if it is showing memory as free how it is swapping on the device.
Any look out is highly appreciated.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:31 AM
08-02-2002 10:31 AM
Re: Swapping!!
If it continues to grow, then I'd start checking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:36 AM
08-02-2002 10:36 AM
Re: Swapping!!
Because at some point the processing exceeded what could be run in memory and it had to page out to disk....then the processing slowed down and you continued to run your jobs within memory.
Overall you average use of memory is 58%, where you seem to have hit disk at 2% of time.
Monitor what's going on..vmstat is good for watching when it's paging out. Then see if you can tweek your kernel to improve things or do you need to add some more memory.
Just my thoughts,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:36 AM
08-02-2002 10:36 AM
Re: Swapping!!
Thanks for your reply. I am not too worried for this, but curious about why it is happening like that.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:38 AM
08-02-2002 10:38 AM
Re: Swapping!!
No points here,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:40 AM
08-02-2002 10:40 AM
Re: Swapping!!
Q: Why is swap being used when memory is available?
A: Active applications may have enough memory occupied where the memory manager needs to keep space free.
I.E. application1 allocates .5Gb RAM. application2 allocates 256M, application3 allocates 400M. This should leave space within 1.7Gb to not swap anything. However, application2 allocates another 256M, performs it's task, then releases it. The memory manager has exceeded memory, and expects this may happen again. application3(our make believe inactive application) now gets pages put to device swap, and will stay there until the memory manager thinks it's safe to use real memory again.
HP will have to let you know the algorythm's they use, but memory management is very intelligent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:40 AM
08-02-2002 10:40 AM
Re: Swapping!!
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:41 AM
08-02-2002 10:41 AM
Re: Swapping!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:46 AM
08-02-2002 10:46 AM
Re: Swapping!!
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:48 AM
08-02-2002 10:48 AM
Re: Swapping!!
A process may not be swapped out but for every single process spawn, the OS needs to reserve as much swap space for the process as RAM required to run it. Your glance indicates that your "User Mem" is 1.15gb and your swapinfo indicates that your "reserve" is 1246Mb. They are pretty much the same.
Hope this helps.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:53 AM
08-02-2002 10:53 AM
Re: Swapping!!
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 11:01 AM
08-02-2002 11:01 AM
Re: Swapping!!
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 11:04 AM
08-02-2002 11:04 AM
Re: Swapping!!
I don't think increase in the SGA will swap out. You can defenitely check for any new patches and may need to install that. Another option is to oberve the swap usage from Glance and see which process is doing this or the Kernel mapping ?
rgds,