- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory usage
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
11-17-2004 08:04 AM
11-17-2004 08:04 AM
memory usage
Memory Stat total used avail %used
physical 2560.0 2518.9 41.1 98%
active virtual 3195.4 569.3 2626.1 18%
active real 1773.5 328.6 1444.9 19%
memory swap 1579.7 1220.3 359.4 77%
device swap 2048.0 2048.0 0.0 100%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 08:21 AM
11-17-2004 08:21 AM
Re: memory usage
How did you get these numbers?. Different tools show the usages differently based on the collection mechanism and the collection intervals. If this is from top, then
The system has 2560MB of physical memory out of which 2519MB is used.
The total virtual memory allocated to (or requested by) the processes is 3195MB out of which 569 MB was active during the last interval.
Total real memory active has been 1774 MB. Around 329MB was used in the last interval. Real memory pages are really the memory pages that were being used.
1580MB of memory was alloted as 'swap' out of which 1220MB is 'not available' anymore for swap purposes.
2GB of area has been alloted as swap from the disks. You don't have anything left.
This clearly shows that you are running *over and above* out of memory. You will need to add more memory. One area to look for memory wastage is 'dbc_max_pct' kernel parameter. If it is still at 50%, which is it's default, reduce it to get around 500 MB. If you can't do anything, then add more memory. I would say add *atleast* another 2 GB as you have 2 GB sitting on the device swap already.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 08:22 AM
11-17-2004 08:22 AM
Re: memory usage
ram plus swap
8 gb ram 6 gb swap 14 Gb of memory.
Its okay to reserve part of that 6 GB of swap but if you start using it you slow down fast. Watch for paging.
Your ouptut appears to be from swapinfo -tam
IT shows you are using all ram, and nearly all swap. You need memory or less work for your machine.
Virtual memory is disk memory that is used like memory. In essence swap. Its not real memory in the form of a fast chip, its kind of fake or psuedo memory to enable the system to swap out processes and keep running when actual ram(physical) memory is short.
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
11-17-2004 09:14 AM
11-17-2004 09:14 AM
Re: memory usage
Try the memory management white paper,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062686726
The itrc doc id is WP1030009A.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 09:47 AM
11-17-2004 09:47 AM
Re: memory usage
Both Sri and SEP have explained the memory figures to you.
In terms of memory utilsation on systems I would pay partiular attention to the amount of free memory, page out rate and swap utilisation.
You can use glance (options 'm' & 'w')to get a breakdown of memory and swap utilisation.
If you don't have glance the following command will show you free memory in MB.
# vmstat 1 2 | egrep -v 'procs|free' | tail -1 | awk '{ print $5*4/1024 }'.
You can also use vmstat to view pageout (po) rate.
Another good utility is kmeminfo (usually in /usr/contrib/Q4/bin). This gives an excellent breakdown of memory usage. The figures are in 4k pages, so you need to multiply by 4 to get figures in Kb.
Have a look at this excellent HP paper on memory for more info.
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Cheers
Con