- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Diff between RAM, real memory, virtual memory and ...
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
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
тАО07-22-2003 01:45 AM
тАО07-22-2003 01:45 AM
Diff between RAM, real memory, virtual memory and swap space
I hope this is not too elementary. I run SAM => performance monitor => system properties => memory and the output is shown below.
Physical Memory: 768.7 MB
Real Memory:
Active: 38937.5 KB
Total: 85990.6 KB
Virtual Memory:
Active 278456.7 KB
Total: 323585.0 KB
Free Memory Pages: 89103 at 4KB/page
Swap Space:
Avail: 1024 MB
Used: 508 MB
I always thought that real mem = physical RAM and virtual mem = swap space. If I'm correct, then why are these figures different?
Also under vmstat, what is the meaning of avm and free memory in relation to the SAM output?
Lastly, what does the last line (memory) of the swapinfo command represent?
#swapinfo
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
reserve - 510968 -510968
memory 604852 199040 405812 33%
The man pages/unix manuals merely give the technical definition of the terms, which are not of much help to my understanding.
Any help is appreciated. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 01:54 AM
тАО07-22-2003 01:54 AM
Re: Diff between RAM, real memory, virtual memory and swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 01:55 AM
тАО07-22-2003 01:55 AM
Re: Diff between RAM, real memory, virtual memory and swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 01:58 AM
тАО07-22-2003 01:58 AM
Re: Diff between RAM, real memory, virtual memory and swap space
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 02:12 AM
тАО07-22-2003 02:12 AM
Re: Diff between RAM, real memory, virtual memory and swap space
Your attachment says that virtual mem = physical RAM + all swap space. But the sam output above shows virtual mem as 323mb, physical RAM as 767mb and swap space as 1gb. How is this so?
Also what is the meaning of real memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 02:40 AM
тАО07-22-2003 02:40 AM
Re: Diff between RAM, real memory, virtual memory and swap space
http://dataexpedition.com/~sbnoble/Tips/memory.html
Main - The physical Random Access Memory located on the CPU motherboard that most people think of when they talk about RAM. Also called Real Memory. This does not include processor caches, video memory, or other peripheral memory.
Also have a look at,
http://www.introcomp.co.uk/hpux/memory_management.html
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 03:04 AM
тАО07-22-2003 03:04 AM
Re: Diff between RAM, real memory, virtual memory and swap space
Physical Memory: 768.7 MB
Real Memory:
Active: 38937.5 KB
Total: 85990.6 KB
Virtual Memory:
Active 278456.7 KB
Total: 323585.0 KB
Free Memory Pages: 89103 at 4KB/page
Swap Space:
Avail: 1024 MB
Used: 508 MB
Unless I'm interpreting it wrongly, it shows different values for RAM & real Mem. Also virtual Mem is less then RAM or swap here.
This is what is confusing me right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 03:37 AM
тАО07-22-2003 03:37 AM
Re: Diff between RAM, real memory, virtual memory and swap space
Swapping is not often a good thing however. If competing processes need to run and they won't all fit in RAM, then swapping takes place with a tremendous performance penalty. To see the entire virtual memory area, always use:
swapinfo -tm
so you can see megs and total. The total line is all of virtual memory (swap and RAM as defined by swapmem_on). With RAM so cheap and performance a very high requirement, trying to figure out what will fit is more of an academic curiosity rather than a sysadmin job. For instance, the buffer cache, the kernel, shared libraries, shared memory and memory mapped files occupy space in RAM but are not assigned directly to specific processes.
Bill Hassell, sysadmin