[sheepdog] [RFC PATCH] sdnet: threading tx/rx process

Christoph Hellwig hch at infradead.org
Fri Jul 13 10:47:24 CEST 2012


On Wed, Jul 11, 2012 at 06:11:31PM +0800, Liu Yuan wrote:
> This patch also remove request throttling because we are guaranteed to process
> requests as soon as it arrives and won't block any request.

I don't even understand the reason for blocking_conn_list, even with
epoll + O_NONBLOCK I/O we should not have to have an artifical limit
like that.

How do the numbers look if you compare just removing
MAX_OUTSTANDING_DATA_SIZE to your full patch?

Also if you move TX/RX to threads anyway why not simply stick to
blockin I/O instead of using epoll in the main thread and then creating
a new thread on every even?




More information about the sheepdog mailing list