On February 4, 2002 01:59 am, Aaron Sethman wrote:
> On Sun, 3 Feb 2002, Dan Kegel wrote:
>
> > Kev wrote:
> > >
> > > > The /dev/epoll patch is good, but the interface is different enough
> > > > from /dev/poll that ircd would need a new engine_epoll.c anyway.
> > > > (It would look like a cross
On Mon, 4 Feb 2002, Daniel Phillips wrote:
> In an effort to somehow control the mushrooming number of IO interface
> strategies, why not take a look at the work Ben and Suparna are doing in aio,
> and see if there's an interface mechanism there that can be repurposed?
When AIO no longer sucks o
> > If I'm reading Poller_sigio::waitForEvents correctly, the rtsig stuff at
> > least tries to return a list of which sockets have become ready, and your
> > implementation falls back to some other interface when the signal queue
> > overflows. It also seems to extract what state the socket's in
On Sun, 3 Feb 2002, Dan Kegel wrote:
> Kev wrote:
> > If that's true, I confess I can't quite see your point even still. Once
> > the event is generated, ircd should read or write as much as it can, then
> > not pay any attention to the socket until readiness is again signaled by
> > the generat
On February 4, 2002 07:26 am, Aaron Sethman wrote:
> On Mon, 4 Feb 2002, Daniel Phillips wrote:
> > In an effort to somehow control the mushrooming number of IO interface
> > strategies, why not take a look at the work Ben and Suparna are doing in aio,
> > and see if there's an interface mechanism
On Mon, 4 Feb 2002, Daniel Phillips wrote:
> On February 4, 2002 07:26 am, Aaron Sethman wrote:
> > On Mon, 4 Feb 2002, Daniel Phillips wrote:
> > > In an effort to somehow control the mushrooming number of IO interface
> > > strategies, why not take a look at the work Ben and Suparna are doing i
Hi
I've been testing the modified Undernet (2.10.10) code with Vincent
Sweeney based on the simple usleep(10) addition to s_bsd.c
PRI NICE SIZERES STATE C TIME WCPUCPU | # USERS
2 0 96348K 96144K poll 0 29.0H 39.01% 39.01% | 1700 <- Without
Patch
10 0 77584K 77336K na
On Mon, 4 Feb 2002, Darren Smith wrote:
> Hi
>
> I've been testing the modified Undernet (2.10.10) code with Vincent
> Sweeney based on the simple usleep(10) addition to s_bsd.c
>
> PRI NICE SIZERES STATE C TIME WCPUCPU | # USERS
> 2 0 96348K 96144K poll 0 29.0H 39.01% 39
> > I mean I added a usleep() before the poll in s_bsd.c for the undernet
> > 2.10.10 code.
> >
> > timeout = (IRCD_MIN(delay2, delay)) * 1000;
> > + usleep(10); <- New Line
> > nfds = poll(poll_fds, pfd_count, timeout);
> Why not just add the additional delay into the poll() timeout? It j
On Mon, 4 Feb 2002, Kev wrote:
> Wouldn't have the effect. The original point was that adding the usleep()
> gives some time for some more file descriptors to become ready before calling
> poll(), thus increasing the number of file descriptors poll() can return
> per system call. Adding the time
> >From: "Dennis Masselink" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: [User-Com] Question
> >Hello,
> >
> >I'm in the process of seting up a chatbox on a website using a java
applet
> >called Jpilot. So far this looks great and has worked like a charm for
me,
> >but when we start
On Mon, 4 Feb 2002, Darren Smith wrote:
> I mean I added a usleep() before the poll in s_bsd.c for the undernet
> 2.10.10 code.
>
> timeout = (IRCD_MIN(delay2, delay)) * 1000;
> + usleep(10); <- New Line
> nfds = poll(poll_fds, pfd_count, timeout);
Why not just add the additional delay int
I mean I added a usleep() before the poll in s_bsd.c for the undernet
2.10.10 code.
timeout = (IRCD_MIN(delay2, delay)) * 1000;
+ usleep(10); <- New Line
nfds = poll(poll_fds, pfd_count, timeout);
And now we're using 1/8th the cpu! With no noticeable effects.
Regards
Darren.
-Origi
Aaron Sethman <[EMAIL PROTECTED]> writes:
> On Mon, 4 Feb 2002, Darren Smith wrote:
>
> > I mean I added a usleep() before the poll in s_bsd.c for the undernet
> > 2.10.10 code.
> Why not just add the additional delay into the poll() timeout? It just
> seems like you were not doing enough of a
14 matches
Mail list logo