Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457901

Re: [RFD] I/O scheduling in blk-mq

From Bart Van Assche <bvanassche@acm.org>
Newsgroups linux.kernel
Subject Re: [RFD] I/O scheduling in blk-mq
Date 2016-08-08 18:40 +0200
Message-ID <s3VKN-3JN-5@gated-at.bofh.it> (permalink)
References <s3Tzk-2sm-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/08/16 07:09, Paolo wrote:
> 2) To provide per-process service guarantees, an I/O scheduler must
> create per-process internal queues. BFQ and CFQ use I/O contexts to
> achieve this goal. Is something like that (or exactly the same)
> available also in blk-mq? If so, do you have any suggestion, or link to
> documentation/code on how to use what is available in blk-mq?

Hello Paolo,

I/O contexts are, by definition, data structures that are shared by 
multiple I/O queues. blk-mq reaches high performance by keeping each 
per-CPU queue independent. This means that using I/O contexts in a 
blk-mq I/O scheduler would introduce a contention point and probably 
also a performance bottleneck. So I would appreciate it if multiqueue 
schedulers would avoid constructs similar to I/O contexts.

Thanks,

Bart.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFD] I/O scheduling in blk-mq Paolo <paolo.valente@linaro.org> - 2016-08-08 16:20 +0200
  Re: [RFD] I/O scheduling in blk-mq Bart Van Assche <bvanassche@acm.org> - 2016-08-08 18:40 +0200
  Re: [RFD] I/O scheduling in blk-mq Omar Sandoval <osandov@osandov.com> - 2016-08-08 22:10 +0200

csiph-web