- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- confused on swap & virtual memory
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
06-16-2005 12:51 AM
06-16-2005 12:51 AM
When I do a "swapinfo -at", I can still see the "total PCT USED" to be around 74% but when I do a "vmstat 1 1", the "memory free" column is so low ( memory free * 4 ) / 1024?
Thanks,
f. halili
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2005 01:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2005 01:01 AM
06-16-2005 01:01 AM
Re: confused on swap & virtual memory
virtual meme - swap space configured + physical RAM on the system.
The free mem count that you get in vmstat is free "virtual memory" It is in pages. (1 page is 4096k) So you need to "free_page * 4096" to get the value in bytes.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2005 02:38 AM
06-16-2005 02:38 AM
Re: confused on swap & virtual memory
http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf
Here's a small excerpt:
Memory Setup
Hey, memory is cheap so buy lots (a hardware vendor's point of view). Application
providers will usually supply some guidelines for you to use for how much memory
you'll need, though in practice it can be tough to predict memory utilization. You do not want to get into a memory bottleneck situation, so you want enough memory to hold the
resident memory sets for all the applications you'll be running, plus the memory needed
for the kernel, plus dynamic system memory such as the filesystem buffer cache.
If you're going to be hosting a database, or something else that benefits from a large inmemory
cache, then its even more essential to have enough memory. Oracle installations,
for example, can benefit from "huge" SGA configurations (gigabyte range) for buffer
pools and shared table caches.
Resident memory and virtual memory can be tricky. Operating systems pretend to the
applications that there is more memory on your system than there really is. This is called
Virtual Memory, and is essentially the amount of memory allocated by programs for all
their data, including shared memory, heap space, program text, shared libraries, and
memory-mapped files. The total amount of virtual memory allocated to all processes on
your system roughly translates to the amount of swap space that is reserved (with the
exception of program text). Virtual memory actually has little to do with how much
actual physical memory is allocated because not all data mapped into virtual memory will
be active ("Resident") in physical memory. Confused yet? Hey, memory is cheap so buy
lots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2005 03:12 AM
06-16-2005 03:12 AM