[Ksummit-discuss] [TECH TOPIC] Addressing long-standing high-latency problems related to I/O

Paolo Valente paolo.valente at linaro.org
Fri Sep 16 18:48:53 UTC 2016


> Il giorno 16 set 2016, alle ore 17:15, James Bottomley <James.Bottomley at HansenPartnership.com> ha scritto:
> 
> On Fri, 2016-09-16 at 10:24 +0200, Greg KH wrote:
>> On Fri, Sep 16, 2016 at 09:55:45AM +0200, Paolo Valente wrote:
>>> Linux systems suffers from long-standing high-latency problems, at
>>> system and application level, related to I/O.  For example, they
>>> usually suffer from poor responsiveness--or even starvation, 
>>> depending on the workload--while, e.g., one or more files are being
>>> read/written/copied.  On a similar note, background workloads may
>>> cause audio/video playback/streaming to stutter, even with long 
>>> gaps. A lot of test results on this problem can be found here [1] 
>>> (I'm citing only this resource just because I'm familiar with it, 
>>> but evidence can be found in countless technical reports, 
>>> scientific papers, forum discussions, and so on).
>> 
>> <snip>
>> 
>> Isn't this a better topic for the Vault conference, or the storage 
>> mini conference?
> 
> LSF/MM would be the place to have the technical discussion, yes.  It
> will be in Cambridge (MA,USA not the real one) in the Feb/March time
> frame in 2017.  Far more of the storage experts (who likely want to
> weigh in) will be present.
> 

Perfect venue.  Just it would be a pity IMO to waste the opportunity
of my being at KS with other people working on the components involved
in high-latency issues, and to delay by more months a discussion on
possible solutions.

> My understanding of the patch set is that you've only sent it as an RFC

Actually, in last submission the RFC tag was gone.

> and the main criticism was that it only applied to our legacy
> interface, not the new mq one.

Yes.  What puzzles me a little bit is that, over these years,
virtually no ack or objection concerned how relevant/irrelevant the
addressed latency problems are, or how effective/ineffective BFQ is in
solving them.

>  You sent out an RFD for ideas around mq
> in August, but the main criticism was that your ideas would introduce a
> contention point.

Yes, that criticism concerned one of my questions: I asked whether io
contexts or something like that could be used for I/O scheduling in
blk-mq.  Since I have just started thinking about possible solutions
to solve effectively latency issues in blk-mq, I'm trying to
understand on what ground they could be based.  Naively, I didn't
realize that io contexts, in their current incarnation, are just
unfeasible in a parallel framework.

>  Omar Sandoval is also working on something similar
> in mq, are you actually talking to him?
> 

One of the purposes of my RFD was exactly to talk with somebody like
Omar.  He did reply providing very useful information.  As of now, my
interaction with Omar consists just in the exchange of emails in that
thread.  That exchange is currently stuck at my last email, sent about
three weeks ago, and containing some considerations and questions
about the information Omar provided me in his email.

Thanks,
Paolo

> James
> 
> 



More information about the Ksummit-discuss mailing list