Date: Fri, 7 Apr 2006 14:40:30 +0000 From: Astrodog <astrodog@gmail.com> To: freebsd-amd64@freebsd.org Subject: Re: extreme mem usage under amd64 arch ? Message-ID: <2fd864e0604070740s59f12148lfda0b237a3e869aa@mail.gmail.com> In-Reply-To: <200604071436.k37Ea9mA057746@lurza.secnetix.de> References: <2fd864e0604070628m64ecf142gb7dc314721510835@mail.gmail.com> <200604071436.k37Ea9mA057746@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/7/06, Oliver Fromme <olli@lurza.secnetix.de> wrote: > Astrodog <astrodog@gmail.com> wrote: > > Please consider what AMD64 is, exactly, and what it means for > > something to be 64-bit, as opposed to 32-bit. On a 32 bit processor, > > all ints, and pointers take up 32 bits of memory. So, for every int, > > and pointer, you use 4 Bytes. On a 64-bit processor, all ints, and > > pointers take up 64-bits of memory. > > No. You're right with the pointers, but ints are always > 4 bytes on both i386 and amd64. > D'oh. Stupid i386, getting me used to sizeof(int) =3D=3D sizeof(*). I blame Intel. Projection is a wonderful thing, --- Harrison Grundy > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing > Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd > Any opinions expressed in this message may be personal to the author > and may not necessarily reflect the opinions of secnetix in any way. > > "A language that doesn't have everything is actually easier > to program in than some that do." > -- Dennis M. Ritchie > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2fd864e0604070740s59f12148lfda0b237a3e869aa>