So there's no easy way to get a real size?  That's fugly! 

...phsiii
-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rob van der Heij
Sent: Wednesday, March 01, 2006 2:53 PM
To: [email protected]
Subject: Re: Virtual vs. Linux "real" storage size

On 3/1/06, Phil Smith III <[EMAIL PROTECTED]> wrote:

> Does anyone understand the formula?

The total reported by meminfo is after we take off the various static
allocations like the kernel, the static data, the struct page tables,
various hash tables (many of those are reported in the first msgs from
the kernel). Especially the hash tables are sized as an "order" of the
total, so their size is the same whether you have 129M or 256M virtual
machine, but doubles when you have 257M. For nice round numbers
virtual machine size, I used 12M per GB (or 24M if you talk 64-bit).
Plus the (constant) size of the kernel and data area.

Rob

--
Rob van der Heij
Velocity Software, Inc

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to