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

Liu Yuan namei.unix at gmail.com
Mon Jul 16 08:14:24 CEST 2012


On 07/16/2012 02:09 PM, Christoph Hellwig wrote:
> The threads doing the non-blocking network I/O won't do disk I/O, or do
> I misread the code?

For a running sheep, 99%+ of requests aren't from VMs or peer sheep that
try to do disk IO? I mean, after rx, we'll do a disk IO, then tx. What I
am trying to do is to overlap those rx/tx as much as possible: 1) only
do notification in main thread and 2) offload network IO in threads.

Thanks,
Yuan




More information about the sheepdog mailing list