Operating System - HP-UX
1834127 Members
2778 Online
110064 Solutions
New Discussion

good virtual memory (VSS) definition needed

 
Dan Copeland
Regular Advisor

good virtual memory (VSS) definition needed

I know the definition of VSS :

This consists of the sum of the virtual set size of all private and shared memory regions used by this process. This metric is not affected by the reference count for those regions which are shared.

But I was hoping for a clearer expalnation of virtual set size.

What is confusing me is that I have many oracle discoverer process that have a VSS 10 times that of their RSS. I'm trying to uderstand what exactly this means before I scream at the application guys for running buggy code.

Any help would be appreciated.

tia,
Frank
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: good virtual memory (VSS) definition needed

Hi Frank,

The difference is that RSS is affected by the reference count of the shared segments while VSS is not.

So if a shared memory segment (X mb) is referenced by 10 procs, the vss of each of the proc is an additive of their private regions + X.

However, the RSS of each proc will be it's private regions + x/10.

So obviously in your case, VSS could be ~10 times than RSS.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Mladen Despic
Honored Contributor

Re: good virtual memory (VSS) definition needed