From: Ron <rjpeace@earthlink.net>
To: Marty Jia <mjia@ask.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to get higher tps
Date: Tue, 22 Aug 2006 11:47:13 -0400
Message-ID: <7.0.1.0.2.20060822111857.038f6838@earthlink.net> (raw)
In-Reply-To: <0B9A8C89DCC3AB488A78A4DE0FECDA90019E30D4@SITE3MAIL04.jeeve s.ask.info>
References: <0B9A8C89DCC3AB488A78A4DE0FECDA90019E3074@SITE3MAIL04.jeeves.ask.info>
<0B9A8C89DCC3AB488A78A4DE0FECDA90019E30D4@SITE3MAIL04.jeeves.ask.info>
At 04:45 PM 8/21/2006, Marty Jia wrote:
>I'm exhausted to try all performance tuning ideas, like following
>parameters
>
>shared_buffers
>fsync
>max_fsm_pages
>max_connections
>shared_buffers
>work_mem
>max_fsm_pages
>effective_cache_size
>random_page_cost
All of this comes =after= the Get the Correct HW (1) & OS (2)
steps. You are putting the cart before the horse.
>I believe all above have right size and values, but I just can not get
>higher tps more than 300 testd by pgbench
300tps on what HW? and under what pattern of IO load?
300tps of OLTP on a small number of non-Raptor 10K rpm HD's may
actually be decent performance.
300tps on a 24 HD RAID 10 based on Raptors or 15Krpm HDs and working
through a HW RAID controller w/ >= 1GB of BB cache is likely to be poor.
>Here is our hardware
>
>
>Dual Intel Xeon 2.8GHz
>6GB RAM
Modest CPU and RAM for a DB server now-a-days. In particular, the
more DB you can keep in RAM the better.
And you have said nothing about the most importance HW when talking
about tps: What Does Your HD Subsystem Look Like?
.
>Linux 2.4 kernel
>RedHat Enterprise Linux AS 3
Upgrade to a 2.6 based kernel and examine your RHEL-AS3 install with
a close eye to trimming the fat you do not need from it. Cent-OS ot
Ca-Os may be better distro choices.
>200GB for PGDATA on 3Par, ext3
>50GB for WAL on 3Par, ext3
Put WAL on ext2. Experiment with ext3, jfs, reiserfs, and XFS for pgdata.
Take a =close= look at the exact HW specs of your 3par.to make sure
that you are not attempting the impossible with that HW.
"3par" is marketing fluff. We need HD specs and RAID subsystem config data.
>With PostgreSql 8.1.4
>
>We don't have i/o bottle neck.
Prove it. Where are the numbers that back up your assertion and how
did you get them?
>Whatelse I can try to better tps? Someone told me I can should get tps
>over 1500, it is hard to believe.
Did they claim your exact HW could get 1500tps? Your exact HW+OS+pg
version+app SW? Some subset of those 4 variables?
Performance claims are easy to make. =Valid= performance claims are
tougher since they have to be much more constrained and descriptive.
Ron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: rjpeace@earthlink.net, mjia@ask.com
Subject: Re: How to get higher tps
In-Reply-To: <7.0.1.0.2.20060822111857.038f6838@earthlink.net>
References: <0B9A8C89DCC3AB488A78A4DE0FECDA90019E3074@SITE3MAIL04.jeeves.ask.info> <0B9A8C89DCC3AB488A78A4DE0FECDA90019E30D4@SITE3MAIL04.jeeves.ask.info> <7.0.1.0.2.20060822111857.038f6838@earthlink.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox