From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 7 14:40:32 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 E821C16A402 for ; Fri, 7 Apr 2006 14:40:32 +0000 (UTC) (envelope-from astrodog@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E82843D53 for ; Fri, 7 Apr 2006 14:40:31 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so298271nfc for ; Fri, 07 Apr 2006 07:40:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mxTsTcsxxVvLqqMwKFzPuyzG24fg9UA4HuQyKaJ2s+gYpI/XB8Qyj2/zD+uc2Czlo7/Yru/uoVnGlO3W1U/a5YierZeyXzAcVBXCT4/M/qGJlR3IRHku/XLxppwol0IYLDpZENmxvTFpjyzdMRrQL8EDwF5TaLyVBhoFnFu2+V8= Received: by 10.49.31.8 with SMTP id i8mr1564075nfj; Fri, 07 Apr 2006 07:40:30 -0700 (PDT) Received: by 10.49.38.1 with HTTP; Fri, 7 Apr 2006 07:40:30 -0700 (PDT) Message-ID: <2fd864e0604070740s59f12148lfda0b237a3e869aa@mail.gmail.com> Date: Fri, 7 Apr 2006 14:40:30 +0000 From: Astrodog To: freebsd-amd64@freebsd.org In-Reply-To: <200604071436.k37Ea9mA057746@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2fd864e0604070628m64ecf142gb7dc314721510835@mail.gmail.com> <200604071436.k37Ea9mA057746@lurza.secnetix.de> Subject: Re: extreme mem usage under amd64 arch ? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 14:40:33 -0000 On 4/7/06, Oliver Fromme wrote: > Astrodog 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" >