Re: Purchasing the correct hardware: dual-core intel? Big cache?
- From: "Martin Hepworth" <maxsec@xxxxxxxxx>
- Date: Wed, 26 Apr 2006 08:10:34 +0100
Bill
start with looking the DB design - I;ve had batch runs go from 5 days down
to 1/2 day purely by tuning the SQL. I'm not kidding, all the DB tuning
quides say look at the SQL/design first, then look at hardware like
disk/data layout, then finally the CPU.
There's lots of info about tuning on Postgress, use this, you'll get more
out of the app this way than spending money chucking hardware at it.
--
martin
On 4/25/06, Bill Moran <wmoran@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
_______________________________________________
On Tue, 25 Apr 2006 13:28:50 +0100
"Martin Hepworth" <maxsec@xxxxxxxxx> wrote:
Billand
if the database is CPU dependant I'd look at tuning the queries/indexes
that stuff...it really shouldn't be CPU bound.
That's in progress, and it's going to be an ongoing process as the
application goes through versions.
Fact is, with 4G of RAM most of the data sits in RAM, so reads incur
no or little IO. With high-end SCSI disks in RAID-10 and a battery-
backed cache, burst writes are cached, thus lightening fast, and
we've been unable to run the application hard enough to saturate
the SCSI bus so far.
So ... the current bottleneck is CPU.
the
--
martin
On 4/24/06, Bill Moran <wmoran@xxxxxxxxxxxxxxxxx> wrote:
On Mon, 24 Apr 2006 23:03:59 +0100
"Martin Hepworth" <maxsec@xxxxxxxxx> wrote:
Bill(RAID)
depends on the application itself, but more RAM and the disk layout
will be more important than the CPU. Also depends on how write-heavy
oftenapps are...
Thanks for the feedback, Martin.
I'm fully aware of the app-dependency - what I'm looking for is a way
to test the application. I've got 3 different clusters available for
testing, but I'm not sure how to tell if the cache is getting used
heavily or not.
I've already determined that the database server is CPU-bound under
our test load. With high-speed SCSI disks and battery-backed RAID,
there's not enough IO to stress the disk subsystem. RAM is almost a
non-issue. With the machine stressed at full load, it's only using
1/8 of the available RAM.
So, my current bottleneck is CPU power. And the boss has asked me
for the best way to overcome this bottleneck. We're looking at either
the same CPUs we already have, but with _huge_ caches (8m) - or going
with more CPUs by getting true dual-core pentiums.
The question this all pivots on is will 8M of cache be a significant
improvement? If not, then we're going with the dual-core CPUs. What
I'd like is some way to take an existing system and determine how
somethe cache is getting invalidated, so I can make some guesstemate as to
whether more cache will help or not.
--
martin
On 4/24/06, Bill Moran <wmoran@xxxxxxxxxxxxxxxxx> wrote:
I've been asked to make some hardware recommendations, I'm hoping
gettingfolks on the list can make some suggestions.
We're looking hard at getting either Intel dual-core procs, or
testhyperthreaded procs with huge (8M) caches.
We currently have a few dual proc Intel HT machines that we can
determineout our workload on, and I'm trying to get a feel for how to
replacingif a larger cache size will generate better performance than
6850HT procs with full-blown dual-core procs. We're looking at the
http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=us&cs=555&l=en&s=bizfrom Dell, which supports both processor families:
as
The goal for these machines is to serve out PosgreSQL databases to
atryingmany Apache+php front ends as we can hang off each one. So we're
to purchase hardware that will create a DB server that can handle
testing.lot
of web server front ends.
I have a Dell 2850 (dual HT procs) here that I can use for
soI'm a little fuzzy on determining how well the cache is working,
unitsI'm
stuck on whether or not the 8M cache that's available on the HT
methodologyis worth the money or not. Can anyone suggest a testing
************************************************************************************freebsd-questions-unsubscribe@xxxxxxxxxxx"that will isolate this particular aspect?_______________________________________________
--
Bill Moran
Collaborative Fusion Inc.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
freebsd-questions-unsubscribe@xxxxxxxxxxx"
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
*
************************************************************************************This footnote confirms that this email message has been scanned bycomputer viruses.
PineApp Mail-SeCure for the presence of malicious code, vandals &
freebsd-questions-unsubscribe@xxxxxxxxxxx"_______________________________________________
--
Bill Moran
Collaborative Fusion Inc.
****************************************************************
IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
************************************************************************************
*
This footnote confirms that this email message has been scanned bycomputer viruses.
PineApp Mail-SeCure for the presence of malicious code, vandals &
************************************************************************************
--
Bill Moran
Collaborative Fusion Inc.
****************************************************************
IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Purchasing the correct hardware: dual-core intel? Big cache?
- From: Bill Moran
- Re: Purchasing the correct hardware: dual-core intel? Big cache?
- From: Martin Hepworth
- Re: Purchasing the correct hardware: dual-core intel? Big cache?
- From: Bill Moran
- Re: Purchasing the correct hardware: dual-core intel? Big cache?
- From: Martin Hepworth
- Re: Purchasing the correct hardware: dual-core intel? Big cache?
- From: Bill Moran
- Purchasing the correct hardware: dual-core intel? Big cache?
- Prev by Date: Re: Bind as a chaching nameserver
- Next by Date: Re: How to re-compile gcc?
- Previous by thread: Re: Purchasing the correct hardware: dual-core intel? Big cache?
- Next by thread: Re: Purchasing the correct hardware: dual-core intel? Big cache?
- Index(es):
Relevant Pages
|