Skip to content

RFC Another proportional weight IO controller

[email protected] containers lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 266 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io controller: documentationDocumentation/controllers/io-controller.txt+172 -00 replies
1/4io controller: documentationDocumentation/controllers/io-controller.txt+172 -013 replies
2/4io controller: biocgroup implementationinclude/linux/biocontrol.h include/linux/cgroup_subsys.h include/linux/memcontrol.h +4 more+664 -490 replies
2/4io controller: biocgroup implementationinclude/linux/biocontrol.h include/linux/cgroup_subsys.h include/linux/memcontrol.h +4 more+664 -499 replies
3/4io controller: Core IO controller implementation logicblock/blk-core.c block/genhd.c include/linux/bio.h +3 more+990 -00 replies
3/4io controller: Core IO controller implementation logicblock/blk-core.c block/genhd.c include/linux/bio.h +3 more+990 -012 replies
4/4io controller: Put IO controller to use in device mapper and standard make_request() functionblock/blk-core.c drivers/md/dm.c+22 -10 replies
4/4io controller: Put IO controller to use in device mapper and standard make_request() functionblock/blk-core.c drivers/md/dm.c+22 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] [RFC] Another proportional weight IO controller

Hi,

If you are not already tired of so many io controller implementations, here is another one.

This is a very eary very crude implementation to get early feedback to see if this approach makes any sense or not.

This controller is a proportional weight IO controller primarily based on/inspired by dm-ioband. One of the things I personally found little odd about dm-ioband was need of a dm-ioband device for every device we want to control. I thought that probably we can make this control per request queue and get rid of device mapper driver. This should make configuration aspect easy.

I have picked up quite some amount of code from dm-ioband especially for biocgroup implementation.

I have done very basic testing and that is running 2-3 dd commands in different cgroups on x86_64. Wanted to throw out the code early to get some feedback.

More details about the design and how to are in documentation patch.

Your comments are welcome.

Thanks
Vivek