mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/9] I/O bandwidth controller and BIO tracking
@ 2009-09-14 12:28 Ryo Tsuruta
  2009-09-14 12:28 ` [PATCH 2/9] dm-ioband-1.13.0: All-in-one patch Ryo Tsuruta
  2009-09-14 14:11 ` [PATCH 1/9] I/O bandwidth controller and BIO tracking Daniel Walker
  0 siblings, 2 replies; 13+ messages in thread
From: Ryo Tsuruta @ 2009-09-14 12:28 UTC (permalink / raw)
  To: linux-kernel, dm-devel, containers, virtualization, xen-devel, agk

Hi all,

These are new releases of dm-ioband and blkio-cgroup. The major change
of these releases is that a hierarchical configuration is supported,
a parent cgroup's bandwidth is distributed to its children. The
hierarchical configuration is available when using dm-ioband and
blkio-cgroup together. Please refer to the documentation included in 
this series of patches on how to use it.

The summary of the changes are below:
dm-ioband v1.13.0
  - Introduce a hierarchical grouping mechanism for blkio-cgroup.
  - Change the dmsetup status outputs to be similar to 
    /proc/diskstats and /sys/block/dev/stat files.
blkio-cgroup v12
  - dm-ioband can be configured in a hierarchical manner through the
    cgroup interface.
  - blkio.stat file is added which shows IO statistics per cgroup.

TODO
  - Borrowing and lending bandwidth between a parent and children if
    spare bandwidth is available in them.

These patches can be applied to kernel 2.6.31

The list of the patches:
  [PATCH 1/9] I/O bandwidth controller and BIO tracking
  [PATCH 2/9] dm-ioband-1.13.0: All-in-one patch
  [PATCH 3/9] blkio-cgroup-v12: The new page_cgroup framework
  [PATCH 4/9] blkio-cgroup-v12: Refactoring io-context initialization
  [PATCH 5/9] blkio-cgroup-v12: The body of blkio-cgroup
  [PATCH 6/9] blkio-cgroup-v12: Page tracking hooks
  [PATCH 7/9] blkio-cgroup-v12: The document of blkio-cgroup
  [PATCH 8/9] blkio-cgroup-v12: Add a cgroup support to dm-ioband
  [PATCH 9/9] blkio-cgroup-v12: The document of a cgroup support for dm-ioband

About dm-ioband
  dm-ioband is an I/O bandwidth controller implemented as a
  device-mapper driver and can control bandwidth on per partition, per
  user, per process, per virtual machine (such as KVM or Xen) basis.

About blkio-cgruop
  blkio-cgroup is a block I/O tracking mechanism implemented on the
  cgroup memory subsystem. Using this feature the owners of any type
  of I/O can be determined. This allows dm-ioband to control block I/O
  bandwidth even when it is accepting delayed write requests.
  dm-ioband can find the cgroup of each request. It is also for
  possible that others working on I/O bandwidth throttling to use this
  functionality to control asynchronous I/O with a little enhancement.

Please visit our website, the patches and more information are available.
  Linux Block I/O Bandwidth Control Project
  http://sourceforge.net/apps/trac/ioband/

I'd like to get some feedbacks from the list. Any comments are
appreciated.

Thanks,
Ryo Tsuruta

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 1/9] I/O bandwidth controller and BIO tracking
@ 2009-10-02 11:56 Ryo Tsuruta
  0 siblings, 0 replies; 13+ messages in thread
From: Ryo Tsuruta @ 2009-10-02 11:56 UTC (permalink / raw)
  To: linux-kernel, dm-devel, containers, virtualization, xen-devel

Hi all,

These are new releases of dm-ioband and blkio-cgroup. The major change
of these releases is that dm-ioband handles sync/async IO requests
separately and it solves write-startve-read issue pointed out by Vivek.
Thank you Vivek for your pointing out the issue.

  Subject: ioband: Writer starves reader even without competitors
  http://lkml.org/lkml/2009/9/15/478

Here is the test result. I did the same test as Vivek did, it reads
32MB files four times during a bufferd writer is running.

dm-ioband v1.14.0
file #   1, plain reading it took: 0.73 seconds
file #   2, plain reading it took: 0.78 seconds
file #   3, plain reading it took: 0.78 seconds
file #   4, plain reading it took: 0.94 seconds

dm-ioband v1.13.0
file #   1, plain reading it took: 14.27 seconds
file #   2, plain reading it took: 22.17 seconds
file #   3, plain reading it took: 12.31 seconds
file #   4, plain reading it took: 17.69 seconds

The summary of the changes are below:
dm-ioband v1.14.0
  - Handle sync/async IO requests separetely, it solves write-starve-read
    issue.
  - Allow it to compile against 2.6.32-rc1.
blkio-cgroup v13
  - Fix style issues caught by checkpatch.pl.
  - Allow it to compile against 2.6.32-rc1.

The list of the patches:
  [PATCH 1/9] I/O bandwidth controller and BIO tracking
  [PATCH 2/9] dm-ioband-1.14.0: All-in-one patch
  [PATCH 3/9] blkio-cgroup-v13: The new page_cgroup framework
  [PATCH 4/9] blkio-cgroup-v13: Refactoring io-context initialization
  [PATCH 5/9] blkio-cgroup-v13: The body of blkio-cgroup
  [PATCH 6/9] blkio-cgroup-v13: Page tracking hooks
  [PATCH 7/9] blkio-cgroup-v13: The document of blkio-cgroup
  [PATCH 8/9] blkio-cgroup-v13: Add a cgroup support to dm-ioband
  [PATCH 9/9] blkio-cgroup-v13: The document of a cgroup support for dm-ioband

About dm-ioband
  dm-ioband is an I/O bandwidth controller implemented as a
  device-mapper driver and can control bandwidth on per partition, per
  user, per process, per virtual machine (such as KVM or Xen) basis.

About blkio-cgruop
  blkio-cgroup is a block I/O tracking mechanism implemented on the
  cgroup memory subsystem. Using this feature the owners of any type
  of I/O can be determined. This allows dm-ioband to control block I/O
  bandwidth even when it is accepting delayed write requests.
  dm-ioband can find the cgroup of each request. It is also for
  possible that others working on I/O bandwidth throttling to use this
  functionality to control asynchronous I/O with a little enhancement.

Please visit our website, the patches and more information are available.
  Linux Block I/O Bandwidth Control Project
  http://sourceforge.net/apps/trac/ioband/

I'd like to get some feedbacks from the list. Any comments are
appreciated.

Thanks,
Ryo Tsuruta

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 1/9] I/O bandwidth controller and BIO tracking
@ 2009-07-21 14:09 Ryo Tsuruta
  0 siblings, 0 replies; 13+ messages in thread
From: Ryo Tsuruta @ 2009-07-21 14:09 UTC (permalink / raw)
  To: linux-kernel, dm-devel, containers, virtualization, xen-devel; +Cc: agk

Hi all,

These are new releases of dm-ioband and blkio-cgroup. The major
changes of these releases are:
  - dm-ioband can be configured through the cgroup interface. The
    bandwidth can be assigned on a per cgroup per block device basis.
  - The event tracing is supported that helps in debugging and
    monitoring dm-ioband.
  - A document for blkio-cgroup is available at
    Documentation/cgroup/blkio.txt.

This series of patches consists of two parts:
dm-ioband v1.12.1
  dm-ioband is an I/O bandwidth controller implemented as a
  device-mapper driver and can control bandwidth on per partition, per
  user, per process, per virtual machine (such as KVM or Xen) basis.

blkio-cgruop v9 
  blkio-cgroup is a block I/O tracking mechanism implemented on the
  cgroup memory subsystem. Using this feature the owners of any type
  of I/O can be determined. This allows dm-ioband to control block I/O
  bandwidth even when it is accepting delayed write requests.
  dm-ioband can find the cgroup of each request. It is also for
  possible that others working on I/O bandwidth throttling to use this
  functionality to control asynchronous I/O with a little enhancement.

The patches can be applied to both the current device-mapper development
tree and 2.6.31-rc3.

The list of the patches:
  [PATCH 1/9] I/O bandwidth controller and BIO tracking
  [PATCH 2/9] dm-ioband-1.12.1: All-in-one patch
  [PATCH 3/9] blkio-cgroup-v9: The new page_cgroup framework
  [PATCH 4/9] blkio-cgroup-v9: Refactoring io-context initialization
  [PATCH 5/9] blkio-cgroup-v9: The body of blkio-cgroup
  [PATCH 6/9] blkio-cgroup-v9: The document of blkio-cgroup
  [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks
  [PATCH 8/9] blkio-cgroup-v9: Fast page tracking
  [PATCH 9/9] blkio-cgroup-v9: Add a cgroup support to dm-ioband

Please visit our website, the patches and more information are available.
  Linux Block I/O Bandwidth Control Project
  http://sourceforge.net/apps/trac/ioband/

I'd like to get some feedbacks from the list. Any comments are
appreciated.

Thanks,
Ryo Tsuruta

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-10-02 11:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-14 12:28 [PATCH 1/9] I/O bandwidth controller and BIO tracking Ryo Tsuruta
2009-09-14 12:28 ` [PATCH 2/9] dm-ioband-1.13.0: All-in-one patch Ryo Tsuruta
2009-09-14 12:29   ` [PATCH 3/9] blkio-cgroup-v12: The new page_cgroup framework Ryo Tsuruta
2009-09-14 12:29     ` [PATCH 4/9] blkio-cgroup-v12: Refactoring io-context initialization Ryo Tsuruta
2009-09-14 12:30       ` [PATCH 5/9] blkio-cgroup-v12: The body of blkio-cgroup Ryo Tsuruta
2009-09-14 12:30         ` [PATCH 6/9] blkio-cgroup-v12: Page tracking hooks Ryo Tsuruta
2009-09-14 12:31           ` [PATCH 7/9] blkio-cgroup-v12: The document of blkio-cgroup Ryo Tsuruta
2009-09-14 12:31             ` [PATCH 8/9] blkio-cgroup-v12: Add a cgroup support to dm-ioband Ryo Tsuruta
2009-09-14 12:32               ` [PATCH 9/9] blkio-cgroup-v12: The document of a cgroup support for dm-ioband Ryo Tsuruta
2009-09-14 14:11 ` [PATCH 1/9] I/O bandwidth controller and BIO tracking Daniel Walker
2009-09-14 15:06   ` Ryo Tsuruta
  -- strict thread matches above, loose matches on Subject: below --
2009-10-02 11:56 Ryo Tsuruta
2009-07-21 14:09 Ryo Tsuruta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®