Re: > 15,000 Simultaneous Connections

Mike Jagdis (mike@roan.co.uk)
Thu, 16 Sep 1999 10:26:14 +0100 (GMT/BST)


On Wed, 15 Sep 1999, Stephen C. Tweedie wrote:

> For sockets, look at sock_wake_async: it already does a first pass at
> eliminating redundant signals.

I'm obviously missing something but it looks like sock_wake_async
always queues/sends a signal if SO_WAITDATA isn't set and that is
only set if something blocks on the socket. Event driven code
wouldn't be blocking on the socket. Then looking at the tcp code
it seems to call wake_async for each packet. This is fine for
a traditional SIGIO but with queued signals you have a situation
where increasing load causes a needless increase in overhead.

Mike

-- 
         Failure isn't an option - it's built in to Windows
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  2 Markham Mews, Broad Street |  Telephone:  +44 118 989 0403        |
|  Wokingham ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/