- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What constitutes VSS or Virtual Memory?
Operating System - HP-UX
1753696
Members
5558
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО01-22-2009 12:44 PM
тАО01-22-2009 12:44 PM
What constitutes VSS or Virtual Memory?
Is a process is reported as having a total of 152MB as RSS and 900 MB as VSS what does it tell me?
Of the 900MB VSS -- what would be allocated from "SWAP Space"?
I have Glance.
It seems all of a Process Text, Shmem, Data. Stack, Other has an RSS Component and a VSS component. And it is in Data where RSS and VSS is allocated to the most.
But how does VSS alocate from SWAP space?
And is it a Good Idea to have massive amounts of SWAP just to address those "wayward" scenarios where processes go wild?
I've kept my SWAP allocation to about 60% average peak utilization. BUt there's clamour to add "more" than the 256GB there already exists.
Of the 900MB VSS -- what would be allocated from "SWAP Space"?
I have Glance.
It seems all of a Process Text, Shmem, Data. Stack, Other has an RSS Component and a VSS component. And it is in Data where RSS and VSS is allocated to the most.
But how does VSS alocate from SWAP space?
And is it a Good Idea to have massive amounts of SWAP just to address those "wayward" scenarios where processes go wild?
I've kept my SWAP allocation to about 60% average peak utilization. BUt there's clamour to add "more" than the 256GB there already exists.
Hakuna Matata.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 07:40 PM
тАО01-22-2009 07:40 PM
Re: What constitutes VSS or Virtual Memory?
>Of the 900MB VSS - what would be allocated from "SWAP Space"?
I assume all of it.
>is it a Good Idea to have massive amounts of SWAP just to address those "wayward" scenarios where processes go wild?
You can also use maxdsiz to limit them. Unfortunately if you don't have maxdsiz small enough, one bad apple can kill everyone else.
>But there's clamour to add "more" than the 256GB there already exists.
What does "swapinfo -tam" show? Do it during your heavy loads.
I assume all of it.
>is it a Good Idea to have massive amounts of SWAP just to address those "wayward" scenarios where processes go wild?
You can also use maxdsiz to limit them. Unfortunately if you don't have maxdsiz small enough, one bad apple can kill everyone else.
>But there's clamour to add "more" than the 256GB there already exists.
What does "swapinfo -tam" show? Do it during your heavy loads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2009 09:05 AM
тАО01-23-2009 09:05 AM
Re: What constitutes VSS or Virtual Memory?
Knowing what VSS really means requires an understanding of how the process in question works. It's typically just the measure of address space that's in use, which includes things that aren't really part of the process memory like shared libraries, memory-mapped files, and malloc'd-but-unused memory. However, some or all of the VSS size will be reserved in swap depending on the executable's allocation policy. You can easily end up needing an enormous swap size just to allow for all your process reservations, even though very little of that reserved space should actually be in use on a properly-sized system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 03:53 AM
тАО01-27-2009 03:53 AM
Re: What constitutes VSS or Virtual Memory?
VSS (or Virtual Set Size) is the total accessible address space of a process (obtained by execing, mmaping, shmget..). If the process accesses any portion outside this space, it will exit with a SIGSEGV.
When the kernel allocates this virtual space, it may also reserve swap space for these portions. Swap is reserved to ensure that if this process needs to be swapped to a swap device (due to memory pressure), it will have space in the swap device (else the process will die abnormally at any time). Swap is not reserved for objects which can be re-read from a file (e.g. text of the executable).
Whenever the process accesses an address, an actual physical page is allocated to it. The total number of actual physical pages associated with the process is termed as RSS or Resident Set Size.
When the kernel allocates this virtual space, it may also reserve swap space for these portions. Swap is reserved to ensure that if this process needs to be swapped to a swap device (due to memory pressure), it will have space in the swap device (else the process will die abnormally at any time). Swap is not reserved for objects which can be re-read from a file (e.g. text of the executable).
Whenever the process accesses an address, an actual physical page is allocated to it. The total number of actual physical pages associated with the process is termed as RSS or Resident Set Size.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP