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
09-04-2001 02:04 AM
09-04-2001 02:04 AM
why is my system swapping but memory is still 52% available? Please look at my swapinfo below and advice...
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192000 2635456 5556544 32% 0 - 1 /dev/vg00/lvol2
reserve - 4255624 -4255624
memory 6497808 3127736 3370072 48%
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 02:13 AM
09-04-2001 02:13 AM
Re: Memory
You do NOT have 52% memory available. The memory column from the swapinfo command shows how many processes in memory coul d be swapped to disk if required. See the manpage on swapinfo.
If Device swap is > 0% then you are OUT of physical ram. In your case youre over 30% used, you are severely out of memory. You should look to try to reduce buffer cache and/or add more ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 05:32 AM
09-04-2001 05:32 AM
SolutionLooks like your system is swapping a lot. You may have a memory bottleneck or you really need more memory on your system.
How much physical memory do you have on the system?
on 10.X
echo physmem/D | adb -k /stand/vmunix /dev/kmem
on 11.X
echo phys_mem_pages/D | adb /stand/vmunix /dev/mem
(multiple the value you get by 4096 to get the physical memory in bytes)
Also check the value of kernel parameter dbc_max_pct(normally you can start of with a value of 15-20, the default of 50 is very high)
You may have to analyze your system, the following link is a good start for that.
http://devresource.hp.com/devresource/Docs/TechPapers/UXPerfCookBook.pdf
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 07:04 AM
09-04-2001 07:04 AM
Re: Memory
The memory line in the output of your swapinfo indicates the swap that you are using on from the memory. This is a result of the kernel parameter swapmem_on.
You don't have memory available and you need to consider adding more.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 07:49 AM
09-04-2001 07:49 AM
Re: Memory
With all due respect to previous answers, the "memory" line in swapinfo output is more accurately the amount of pseudoswap used (read: "reserved"). Here's the scoop from the swapinfo man page:
memory Memory paging area (also known as pseudo-swap). This is the amount of system memory that can be used to hold pages in the event that all of the above paging areas are used up. See "Paging Allocation" below. This line appears only if memory paging is enabled.
Now, please understand that the above explanation is a colossally stupid description of pseudoswap, and whoever wrote it needs to be kicked in the shins. None of your physical RAM is being used (kernel data structs notwithstanding) for real swapping. Pseudoswap is an imaginary number calculated as 75% of your physical RAM. This make-believe swap space is used for swap reservations only.
As others have mentioned, it appears that you need more RAM, or you need to better utilize the RAM that you have. Check your dbc_max_pct kernel parm. Out of the box, it's set at 50%. (Another HP engineer needs to have his fingernails ripped off with pliers.) Knock that down so that your buffer cache tops out at around 200MB. Better yet, make it static with nbuf or bufpages.
Fire up glance and go to the memory (m) report. If you're getting consistent "VM Reads" and "VM writes", then you are paying a horrible performance price for your lack of RAM.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 06:47 PM
09-04-2001 06:47 PM
Re: Memory
Thvm on the reply, my dbc_max_pct is set to 50%. I plan to reduce it to 25% as recommended in on of the documentation. What is the impact if i reduce it by half?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 07:07 PM
09-04-2001 07:07 PM
Re: Memory
Regarding your buffer cache, your kernel will die if you allot 50% of your total memory. Amount of buffer cache needed - is really dependent on what you have at the back end. If it is like XP or EMC, you don't need to go for this much buffer cache. I am running with 2% dbc_max_pct on a 12GB system and I am doing excellent.
And it is really dependent on the application. So, you can start it from 5% (if you have a good disk subsystem).
The thing that you need to look at is with sar -b that shows the buffer activity. %rcache above 90 annd %wcache above 80 is a good sign of buffer activity.
Certainly you are misusing your memory by alloting 50% of it to buffer cache.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 08:27 PM
09-04-2001 08:27 PM
Re: Memory
First of all how much physical memory do you have on your system ?
Again you could start with as little as 5% and then check your buffer cache usage (sar -b) and if there is a necessity increase it.
Another thing i noticed is your device swap is configured for almost 8GB (i always read that you never want one big swap device file, rather its better to have equal sized swap devices with the same priority on different disks and preferebly different I/O paths )
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 09:05 PM
09-04-2001 09:05 PM