On Wed, Oct 18, 2000, Henrik Nordstrom wrote:
> Adrian Chadd wrote:
>
> > In seriousness, I can't see anything in the interface that could cause
> > things to be slow, so it entirely depends how it is implemented in the
> > OS. Once I have the implementation working, we can then see how/where
> > its slow and possibly fix it.
>
> How do you register filedescriptors in /dev/poll? If done one at a time
> then there might be a significant overhead there...
Yup, initially I just do one-a-a-time registration, and multiple events
are retrieved per loop. I'm not trying to optimise the IO loop just
yet, I'm trying out seperate event-driven IO ideas so I can make squid
deal with it.
Adrian
-- Adrian Chadd "It was then that I knew that I wouldn't <adrian@creative.net.au> die, as a doctor wouldn't fart in front of a dying boy." -- Angela's AshesReceived on Wed Oct 18 2000 - 15:05:24 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:51 MST