Messages in this thread | | | Date | Mon, 11 May 2015 00:20:00 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH v3 3/4] block: loop: use kthread_work |
| |
On Thu, May 07, 2015 at 06:32:03PM +0800, Ming Lei wrote: > > I can't really parse this, what's the specific advantage here? > > Patch 4's commit log provides the test data. > > >From the data, it is observed that one thread is enough to get > similar throughput with previous one which submits IO from > work concurrently. > > Single thread can decrease context switch a lots, also one thread is > often used to submit AIO in reality.
But we still need to support the non-AIO case. For one due to bisectablity, and second even with AIO support we'll still have people using it.
| |