Re: [PATCH] Improve behaviour of Netlink Sockets
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-09-27 21:36:07
On Mon, Sep 27, 2004 at 08:46:30AM -0400, jamal wrote:
quoted
1) Request/response: No overruns should occur.Cant assume this. A request for an ACK is fine. A get is a different ball game.
What I meant is that this is a case where the maximum size of the reply can be known at compile time. So assuming that your socket receive size is set correctly, it should never overflow.
quoted
3) Async messages: Overruns may occur if the arrival rate exceeds the application's processing capacity or if the queue is too small for a burst. Now we were discussing about how we can do congestion control for 3). But to do that we need to know exactly what these messages are. For example if they're coming from an external source as is the case in ip_queue then you can't congestion control it at all.
You still haven't told me what you're going to use 3) for yet... Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt