Subject: Re: POSIX.4 real-time extensions?
To: glen mccready <>
From: Alex Barclay <>
List: tech-kern
Date: 07/06/2001 14:24:10
On Fri, 6 Jul 2001, glen mccready wrote:

> 60000 conns * 150KB/conn / (3 min * 60 secs/min) = 50MB/s
> certainly much different from 50KB/s; you're driving the network pretty
> hard there.  my bad.  certainly the socket buffers will help, etc, but
> multiple kthreads won't help you until you're SMP.  the trick is that the
> IO done by the kthread will have to be non-blocking and it'll have to
> walk through the buffers passed in; or the callbacks can hold off queuing
> the work onto the kthread until appropriate secondary conditions are met.

I also screwed up! I went back... It's 15K not 150K. which explains how I
was managing this over a couple of 100MB cards.

The biggest problem that I encountered with this was with select and poll
which are just not feasable. Now by going to an efficient AIO 
implementation I can make it work.

I would also dearly love to be able to use NetBSD for this rather than
Linux which I still see as having an aio implementation that sucks.
Currently this is running on HP-A and L-Class hardware which does seem to
keep up reasonably well.