Re: [rfc] direct IO submission and completion scalability issues

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <npiggin@...>
Cc: Siddha, Suresh B <suresh.b.siddha@...>, Christoph Lameter <clameter@...>, <linux-kernel@...>, <arjan@...>, <mingo@...>, <ak@...>, <jens.axboe@...>, <James.Bottomley@...>, <andrea@...>, <akpm@...>, <andrew.vasquez@...>
Date: Tuesday, July 31, 2007 - 1:14 pm

On Tue, Jul 31, 2007 at 06:19:17AM +0200, Nick Piggin wrote:

Yes. Implementation is the challenging part I guess.


Yes, softirq context is one way. But just didn't want to penalize the running
task by taking away some of its cpu time. With CFS micro accounting, perhaps
we can track irq, softirq time and avoid penalizing the running task's cpu
time.


Improvement numbers quoted are from the OLTP database workload. We can look
into other workloads.


This workload is using direct IO and there is no batching at the block layer
for direct IO. IO is submitted to the HW as it arrives.


There is 3-4% iowait time in the system. So the cpu's are not 100% busy,
but there is quite a bit of direct IO going on.


It is applicable for both direct IO and buffered IO. But the implementations
will differ. For example in buffered IO, we can setup in such a way that the
block plug timeout function runs on the IO completion cpu.


Correct. We have more potential to explore. Current implementation
is very elementary.


yes.


or in other words, each kblockd thread catering multiple request queues
(perhaps one for each cpu or one for group of cpu's).

softirq context and each kblockd thread handling multiple request queues will
lead to further improvements.

thanks,
suresh
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[rfc] direct IO submission and completion scalability issues, Siddha, Suresh B, (Fri Jul 27, 9:21 pm)
Re: [rfc] direct IO submission and completion scalability is..., Christoph Lameter, (Mon Jul 30, 2:20 pm)
Re: [rfc] direct IO submission and completion scalability is..., Siddha, Suresh B, (Tue Jul 31, 1:14 pm)