Date: Fri, 7 Apr 2006 14:22:54 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: freebsd-amd64@FreeBSD.ORG Subject: Re: extreme mem usage under amd64 arch ? Message-ID: <20060407212254.GE72485@funkthat.com> In-Reply-To: <200604072116.k37LGQhQ071637@lurza.secnetix.de> References: <20060407172618.GC72485@funkthat.com> <200604072116.k37LGQhQ071637@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme wrote this message on Fri, Apr 07, 2006 at 23:16 +0200: > John-Mark Gurney <gurney_j@resnet.uoregon.edu> wrote: > > Astrodog wrote this message on Fri, Apr 07, 2006 at 21:28 +0800: > > > and pointer, you use 4 Bytes. On a 64-bit processor, all ints, and > > > pointers take up 64-bits of memory. So, for every int and pointer, you > > > use 8 bytes. (Assuming its a 64-bit app, of course) That means > > > > Not quite... FreeBSD/amd64 like all? the other arches are LP64... > > that means longs and pointers are 64bits, while ints remain at 32bits... > > I think longs are 32 bits on /i386, and 64 bits on /amd64 > (On /i386, "long longs" are 64 bits.) Sorry, I ment to write like all the other 64bit arches.... ^^^^^ since i386 isn't 32bit, it isn't LP64, the same way arm or powerpc isn't LP64... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060407212254.GE72485>