[tpop3d-discuss]Re: bad file descriptor from select in tpop3d

Arkadiusz Miskiewicz arekm at pld-linux.org
Sat, 3 Jun 2006 21:45:23 +0200


On Saturday 03 June 2006 21:37, Martin Blapp wrote:
> Hi,
>
> > It doesn't watch for EV_WRITE events on accepted sockets until it's
> > needed (the check happens in an event called every second).
> >
> > Unfortunately I don't like fire-event-every-second solution.
>
> Hi,
>
> On which OS did you test this ? Using kqueue on BSD the CPU usage should
> be the same or less than using select().
Linux 2.6.12, glibc 2.3.6.

With cvs version of libevent it seems that cpu usage is smaller - I'll veri=
fy=20
that on monday when I'll have bigger pop3 usage than now, in weekend.

> Martin

=2D-=20
Arkadiusz Mi=B6kiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/