Skip site navigation (1) Skip section navigation (2)

Re: pgsql-server/ /configure /configure.in rc/incl ...

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>,Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>,"Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/ /configure /configure.in rc/incl ...
Date: 2003-03-11 05:30:33
Message-ID: 20030311053033.GH79234@perrin.int.nxad.com (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-performance
> > That said, what was the performance gain of moving from select()
> > to poll()?  It wasn't the biggest optimization in PostgreSQL
> > history, nor the smallest, but it was a step forward.  -sc
> 
> That change was not sold as a performance improvement; I doubt that
> it is one.  It was sold as not failing when libpq runs inside an
> application that has thousands of open files (i.e., more than
> select() can cope with).  "Faster" is debatable, "fails" is not...

Well, I've only heard through 2nd hand sources (dillion) the kind of
hellish conditions that Mark has on his boxen, but "faster and more
efficient in the kernel" is "faster and more efficient in the kernel"
no matter how 'ya slice it and I know that every last bit helps a
loaded system.

I'm not stating that most people, or even 90% of people, will notice.
Hopefully 100% of the universe runs their boxen under ideal conditions
(like most databases should, right?  ::wink wink, nudge nudge:: For
those that don't, however, and get to watch things run in the red with
a load average over 20, the use of kqueue or more efficient system
calls is likely very appreciated.  -sc

-- 
Sean Chittenden

In response to

pgsql-performance by date

Next:From: Nikk AndersonDate: 2003-03-11 08:46:32
Subject: Re: Large difference between elapsed time and run time
Previous:From: Tom LaneDate: 2003-03-11 05:06:14
Subject: Re: pgsql-server/ /configure /configure.in rc/incl ...

pgsql-committers by date

Next:From: Tom LaneDate: 2003-03-11 19:40:24
Subject: pgsql-server/ oc/src/sgml/ref/fetch.sgml oc/sr ...
Previous:From: Tom LaneDate: 2003-03-11 05:06:14
Subject: Re: pgsql-server/ /configure /configure.in rc/incl ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group