Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Performance...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4176 of 4424
Post > Topic >>

Re: Performance on Sun Fire X4150 x64 (dd, bonnie++,

by gsmith@[EMAIL PROTECTED] (Greg Smith) Jul 21, 2008 at 02:43 PM

On Mon, 21 Jul 2008, Stephane Bailliez wrote:

> Isn't it a scheduler problem, I thought CFQ was the default for desktop 
> ?

CFQ/Deadline/AS are I/O scheduler choices.  What changed completely in 
2.6.23 is the kernel process scheduler. 
http://people.redhat.com/mingo/cfs-scheduler/sched-design-CFS.txt
gives 
some info about the new one.

While the switch to CFS has shown great improvements in terms of desktop 
and many server workloads, what I discovered is that the pgbench test 
program itself is really incompatible with it.  There's a kernel patch 
that seems to fix the problem at http://lkml.org/lkml/2008/5/27/58
but I 
don't think it's made it into a release yet.

This is not to say the kernel itself is unsuitable for running PostgreSQL 
itself, but if you're using pgbench as the program to confirm that I 
expect you'll be dissapointed with results under the Ubuntu 8.04 kernel. 
It tops out at around 10,000 TPS running the select-only test for me while

older kernels did 3X that much.

> Yes I'd definitely prefer to go 8.3 as well but there are a couple
reasons 
> for now I have to suck it up:
> - 8.2 is the one in the 7.10 repository.
> - I need plr as well and 8.3-plr debian package does not exist yet.
> (I know in both cases we could recompile and install it from there, but
...)

Stop and think about this for a minute.  You're going into production with

an older version having a set of known, impossible to work around issues 
that if you hit them the response will be "upgrade to 8.3 to fix that", 
which will require the major disruption to your application of a database 
dump and reload at that point if that fix becomes critical.  And you can't

just do that now because of some packaging issues?  I hope you can impress

upon the other people involved how incredibly short-sighted that is.

Unfortunately, it's harder than everyone would like to upgrade an existing

PostgreSQL installation.  That really argues for going out of your way ir 
necessary to deploy the latest stable release when you're building 
something new, if there's not some legacy bits seriously holding you back.

--
* Greg Smith gsmith@[EMAIL PROTECTED]
 http://www.gregsmith.com
Baltimore, MD

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 1 Posts in Topic:
Re: Performance on Sun Fire X4150 x64 (dd, bonnie++,
gsmith@[EMAIL PROTECTED]   2008-07-21 14:43:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 21:40:55 CST 2008.