Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2006 12:42:47 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Kep Woof <kep.woof@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: which graphics card?
Message-ID:  <C1A969A6-F28E-4B88-BD5B-6A8C57E48D78@mac.com>
In-Reply-To: <9c8168780605040928j3c57ec2dne835d4f449abbfab@mail.gmail.com>
References:  <9c8168780605040928j3c57ec2dne835d4f449abbfab@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 4, 2006, at 12:28 PM, Kep Woof wrote:
> it seems like a huge waste to run the i386 version on an
> amd64 machine, but can anyone comment on the performance difference?

Sure.  For the most part, if you don't have more than 4GB of RAM,  
there is little point to running in 64-bit mode.  A more fine-grained  
analysis:

You can still take advantage of PAE and more than 4GB process address  
space on, say, a machine with 2GB of RAM, by using a lot of swap  
space or running a large 64-bit aware database.  However, if you  
don't have more than 4GB of RAM [1], it's entirely possible that  
applications will run faster in 32-bit mode than in 64-bit mode, but  
it depends on the specific things you are running.  IPv4 and  
character-related stuff (ie, byte fiddling/string copying) tend to be  
faster in 32-bit mode; things like SSL cryptography and big databases  
can prefer 64-bit mode even on machines without more than 4GB of RAM.

-- 
-Chuck

[1]: The real number is actually somewhat less than 4GB, more like  
3GB or 3.5GB, since the kernel itself and hardware devices consume  
some of the top of the physical memory address map.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1A969A6-F28E-4B88-BD5B-6A8C57E48D78>