Re: Scalable postgresql using sys_epoll

Lists: pgsql-hackers
From: anthony_barker(at)hotmail(dot)com (Anthony_Barker)
To: pgsql-hackers(at)postgresql(dot)org
Subject: Scalable postgresql using sys_epoll
Date: 2004-03-04 22:16:43
Message-ID: 899f842.0403041416.6895ee32@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

IBM has rewritten their Domino database system to use the new
sys_epoll call available in the Linux 2.6 kernel.

Would Postgresql benefit from using this API? Is anyone looking at
this?

Anthony
http://xminc.com/mt/


From: Shachar Shemesh <psql(at)shemesh(dot)biz>
To: Anthony_Barker <anthony_barker(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Scalable postgresql using sys_epoll
Date: 2004-03-10 08:38:10
Message-ID: 404ED3F2.7080900@shemesh.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Anthony_Barker wrote:

>IBM has rewritten their Domino database system to use the new
>sys_epoll call available in the Linux 2.6 kernel.
>
>Would Postgresql benefit from using this API? Is anyone looking at
>this?
>
>Anthony
>http://xminc.com/mt/
>
>
>
I'm not familiar enough with the postgres internals, but is using
libevent (http://monkey.org/~provos/libevent/) an option? It uses state
triggered, rather than edge triggered, interface, and it automatically
selects the best API for the job (epoll, poll, select). I'm not sure
whether it's available for all the platforms postgres is available for.

Shachar

--
Shachar Shemesh
Lingnu Open Systems Consulting
http://www.lingnu.com/


From: Matthew Kirkwood <matthew(at)hairy(dot)beasts(dot)org>
To: Shachar Shemesh <psql(at)shemesh(dot)biz>
Cc: Anthony_Barker <anthony_barker(at)hotmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Scalable postgresql using sys_epoll
Date: 2004-03-10 13:10:12
Message-ID: Pine.LNX.4.58.0403101308570.28417@sphinx.mythic-beasts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, 10 Mar 2004, Shachar Shemesh wrote:

> >IBM has rewritten their Domino database system to use the new
> >sys_epoll call available in the Linux 2.6 kernel.
> >
> >Would Postgresql benefit from using this API? Is anyone looking at
> >this?

> I'm not familiar enough with the postgres internals, but is using
> libevent (http://monkey.org/~provos/libevent/) an option? It uses state
> triggered, rather than edge triggered, interface, and it automatically
> selects the best API for the job (epoll, poll, select). I'm not sure
> whether it's available for all the platforms postgres is available for.

libevent is cool, but postgres uses a process-per-client
model, so the number of file descriptors of active interest
to a backend at any given time is low.

Matthew.