Xeon Quad Core (Was: Server Freezing Solid)
rsmith at xs4all.nl
Mon Nov 24 14:51:55 PST 2008
On Mon, Nov 24, 2008 at 12:49:37PM -0800, Chris Maness wrote:
> >> Would there be a major performance gain with amd64 over that of the i386
> >> build on a Xeon Quad Core?
> > It will depend on your workload. If your machines were strapped fo
> > address space on i386, switching to amd64 (with enough RAM) will help.
> > In "long" (64-bit) mode, amd64 compatible CPUs have more registers
> > available, so that will speed up things. On the other hand, pointers and
> > longs are 64-bit numbers instead of 32-bit, which will make the code
> > somewhat larger. Run some benchmarks that are relevant for you on i386
> > and re-run them after you've switched to amd64 to know for sure.
> Another thought. Would a Quad Core chip help with compiling
> applications -- or would it be the same as a dual core or single core
> chip running at the same clock speed because the compiler is running
> single thread?
Again, it depends. If you have to compile a lot of C files via a
Makefile without much interdependencies you could start make with the
"-j 8" flag so it can start 8 jobs concurrently. (The number of cores x
2 seems to be the best option).
> Would php processing be benefited by quad a quad core
> over a dual core. If not, then I guess I should just purchase a dual
> core chip and save the cabbage up front and wattage to boot.
It could very well benefit. It depends where the bottleneck is in your
current setup. It e.g. depends on how many apache and php instances
you have running, and how you have compiled apache. Apache 22 is
standard compiled with the prefork MPM, which starts 2 processes by
default, and can start up to 16 IIRC (both numbers are configurable). A
quad processor could make this run faster as long as the rest of the
system can keep up.
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081124/aeba68c6/attachment.pgp
More information about the freebsd-questions