FW: [PATCH] Stop packet_recv greediness, stop using event_add_timed

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue May 19 10:33:36 GMT 2009

On Tue, May 19, 2009 at 08:29:26PM +1000, Andrew Bartlett wrote:
> I'm pretty sure the whole design was to get in as many packets as
> possible.  It may well be more than one, which is where the expected
> saving is particularly evident.

Yes, that's what I also think. Two points:

How large are those savings?

Don't we open up ourselves to a potential DoS? Do we prevent
sucking up stuff into user space faster than we handle it?
How can we make sure the kernel throttles the client by
closing the TCP window when there's more work than we can
swallow at the moment?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090519/d0c79bea/attachment.bin

More information about the samba-technical mailing list