Gentoo Archives: gentoo-amd64

From: Martin Nielsen <martin@×××××××.dk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Is there any difference with 4 core?
Date: Wed, 01 Aug 2007 20:13:54
Message-Id: 46B0E915.3020403@skytech.dk
In Reply to: [gentoo-amd64] Is there any difference with 4 core? by "P.V.Anthony"
1 P.V.Anthony skrev:
2 > Hi,
3 >
4 > Need some more advice.
5 >
6 > Now the question is, is it better to go with 2 core or 4 core?
7 Hi,
8
9 Are you absolutely certain that your server can even max out cpu-wise?
10 I've found in 99.99% of the cases it's usually other problems; not
11 enough ram, io or simply wrongly configured services.
12
13 With the services you list I'd say if you simply have enough ram, the
14 cpu really wont matter a thing. Since you'll seem to be doing some
15 database applications I can only recommend an amd opteron. You dont even
16 need a dc, but I guess the price difference these days are so small
17 anyways :).
18
19 I'd prolly save the money on the Core2 CPU's and grab an amd opteron
20 instead, dump software raid 1 and get something like 3ware SATA
21 controller ( The 8000-model -
22 http://www.3ware.com/products/serial_ata8000.asp ). Around here these
23 things sell for roughly €175 or likewise but it's so much worth it. They
24 come with in-kernel drivers as well as extra goodies in form of a
25 service which can send you warnings/info/error so you'll always know the
26 second a disk is fried. They come stock for debian, so I guess it's
27 there for gentoo as well. They are even hotswappable if I remember
28 correctly.
29
30 Sorry, sidetracked a bit.
31
32 I just don't think you'll ever max your cpu with the apps you listed. If
33 you really have money to burn, smack in 4gb more ram instead - you'll
34 take advantage of that way more than that extra cpu-power you'll never
35 really use anyways (Im guessing tho - I dont know your actual usage
36 patterns with the server)
37 >
38 > The reason for this question is, that I heard there is a diminishing
39 > return with more cores. Not sure if this is true with kernel 2.6.21
40 > and running at 64bit.
41 I dont have any factual data to back this up, but my coworker has stated
42 on numerous occasions something like:
43 dual-core intel: 180% performance
44 dual-core amd: 190%
45 quad-core intel: 300%
46
47 Like I said, I dont have a clue whether that is true or not, so use that
48 information with care :).
49
50 /Martin
51 >
52 > The server needed to built is for the following apps.
53 >
54 > Hardware.
55 > 1. Tyan Tank GT20 (B5191)
56 > 2. 2 x Sata drives
57 > 3. Software raid 1
58 > 4. 4Gb ram ecc
59 > 5. Intel Core2Duo E6420 or Intel Core2Quad E6600
60 >
61 > Apps.
62 > 1. Gentoo linux 64bit
63 > 2. Apache 2
64 > 3. MySql
65 > 4. Postgres
66 > 5. Qmail
67 > 6. Pure-ftpd
68 > 7. Mod_perl
69 > 8. php
70 > 9. ruby
71 >
72 > Will all the instances of the apps be shared among the cores?
73 >
74 > Please share the comments.
75 >
76 > I would really like to save some money. If the 2 core can do the job
77 > there is quite a bit of savings buying just the 2 core.
78 >
79 > The other option is just to go with Pentium D with 2 core. That one is
80 > a real saver.
81 >
82 > Please advice.
83 >
84 > P.V.Anthony
85 >
86
87 --
88 gentoo-amd64@g.o mailing list