Re: 2.6.PRE1 is out the door

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 30 May 2006 13:28:51 +0200

tis 2006-05-30 klockan 13:20 +0800 skrev Adrian Chadd:

> Poll should be better - it'll be much better if/when the comm backon/backoff
> stuff is turned on by default and can be used to add/subtract pollfd
> entries. I'm sure a little coding can go a long way in improving poll
> and select.

I didn't say poll() is worse than select(). I said comm_poll is worse
than comm_select, and have a strong suspicion the current code comm_poll
code performs considerably worse than comm_select.. and if that is the
case I propose ripping it out or at least changing priorities to prefer
select until there is time for a better implementation.

From a coding perspective I see very little of comm_poll.c which is
meaningful to reuse. Better to copy comm_select and translate it to
poll.. or maybe add a libevent loop.. (should be fairly trivial copy of
epoll now..)

Regards
Henrik

Received on Tue May 30 2006 - 05:29:01 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:04 MDT