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 2 Topic 3992 of 4154
Post > Topic >>

Re: Performance increase with elevator=deadline

by fweimer@[EMAIL PROTECTED] (Florian Weimer) Apr 15, 2008 at 03:27 PM

* Jeff:

> Using 4 of these with a dataset of about 30GB across a few files
> (Machine has 8GB mem) I went from around 100 io/sec to 330 changing to
> noop.   Quite an improvement.  If you have a decent controller CFQ is
> not what you want.   I tried deadline as well and it was a touch
> slower.  The controller is a 3ware 9550sx with 4 disks in a raid10.
>
> I'll be trying this out on the big array later today.  I found it
> suprising this info wasn't more widespread (the use of CFQ on a good
> controller).

3ware might be a bit special because the controller has got very deep
queues on its own, so many assumptions of the kernel I/O schedulers do
not seem to apply.  Toying with the kernel/controller queue depths
might help, but I haven't done real benchmarks to see if it's actually
a difference.

A few days ago, I experienced this: On a machine with a 3ware
controller, a simple getxattr call on a file in an uncontended
directory took several minutes because a PostgreSQL dump process was
running in the background (and some other activity of a legacy
database which caused frequent fdatasync calls).  Clearly, this is
unacceptable, and I've since switched to the deadline scheduler, too.
So far, this particular behavior hasn't occurred again.

--=20
Florian Weimer                <fweimer@[EMAIL PROTECTED]
>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstra=DFe 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

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




 2 Posts in Topic:
Re: Performance increase with elevator=deadline
fweimer@[EMAIL PROTECTED]  2008-04-15 15:27:20 
Re: Performance increase with elevator=deadline
david@[EMAIL PROTECTED]   2008-04-15 12:08:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Fri Jul 4 22:48:53 CDT 2008.