Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 18:30:53 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, tlambert@primenet.com
Cc:        current@FreeBSD.ORG, jdp@polstra.com, reilly@zeta.org.au
Subject:   Re: ELF binaries size
Message-ID:  <199809020830.SAA18187@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >I think Bruce is mistaking the dual mapping for a single mapping,
>> >on the theory that in a unified VM and buffer cache, there can be
>> >only one instance of a page hung off the VP.
>> 
>> Nah.  The dual mapping is precisely what costs a full page of real memory.
>
>The page is wasted through padding in the image, or it is wasted
>through padding in the execution class loader.  Either way, it is
>wasted in the in-memory image of the application.

No, padding in (relatively cheap) disk space saves an average of half
a page in (relatively expensive) memory.

>The savings are disk-space only.

Perhaps not even there, because file systems allocate in blocks, or at
least fragments.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809020830.SAA18187>