From owner-freebsd-current Wed Sep 2 00:51:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA08002 for freebsd-current-outgoing; Wed, 2 Sep 1998 00:51:38 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA07997 for ; Wed, 2 Sep 1998 00:51:35 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA15197; Wed, 2 Sep 1998 17:50:31 +1000 Date: Wed, 2 Sep 1998 17:50:31 +1000 From: Bruce Evans Message-Id: <199809020750.RAA15197@godzilla.zeta.org.au> To: jdp@polstra.com, tlambert@primenet.com Subject: Re: ELF binaries size Cc: bde@zeta.org.au, current@FreeBSD.ORG, reilly@zeta.org.au Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> > I think it implies that elf wastes a full page of memory (the space >> > between the ':'s above) most of the time (unless the ':'s are on a >> > page boundary), while aout only wastes an average of half a page >> > (the space between the text ':' and the end of the page). >> >> But a.out has a repeat of the same situation at the juncture of data >> and bss, and ELF does not. > >In the disk image rather than in the memory image. > >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. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message