From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 7 21:22:56 2006 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.ORG Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF80716A400 for ; Fri, 7 Apr 2006 21:22:56 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7680A43D45 for ; Fri, 7 Apr 2006 21:22:56 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gzb087vwtpp8vcsh@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k37LMtAX093404 for ; Fri, 7 Apr 2006 14:22:55 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k37LMsAP093403 for freebsd-amd64@FreeBSD.ORG; Fri, 7 Apr 2006 14:22:54 -0700 (PDT) (envelope-from jmg) Date: Fri, 7 Apr 2006 14:22:54 -0700 From: John-Mark Gurney To: freebsd-amd64@FreeBSD.ORG Message-ID: <20060407212254.GE72485@funkthat.com> Mail-Followup-To: freebsd-amd64@FreeBSD.ORG References: <20060407172618.GC72485@funkthat.com> <200604072116.k37LGQhQ071637@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604072116.k37LGQhQ071637@lurza.secnetix.de> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Subject: Re: extreme mem usage under amd64 arch ? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 21:22:57 -0000 Oliver Fromme wrote this message on Fri, Apr 07, 2006 at 23:16 +0200: > John-Mark Gurney 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."