|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH 2/2] dm-ioband: I/O bandwidth controller v0.0.4:
To: |
Ryo Tsuruta <ryov@xxxxxxxxxxxxx> |
Subject: |
[Xen-devel] Re: [PATCH 2/2] dm-ioband: I/O bandwidth controller v0.0.4: Document |
From: |
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> |
Date: |
Sat, 26 Apr 2008 11:45:35 -0700 |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, Sergey Kononenko <sergk@xxxxxxxxxxxx>, containers@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, agk@xxxxxxxxxxxxxx |
Delivery-date: |
Tue, 29 Apr 2008 02:34:13 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20080424.202219.59667073.ryov@xxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20080424.201857.183035295.ryov@xxxxxxxxxxxxx> <20080424.202219.59667073.ryov@xxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Thu, 24 Apr 2008 20:22:19 +0900 (JST) Ryo Tsuruta <ryov@xxxxxxxxxxxxx> wrote:
> +What's dm-ioband all about?
> +
> + dm-ioband is an I/O bandwidth controller implemented as a device-mapper
> + driver. Several jobs using the same physical device have to share the
> + bandwidth of the device. dm-ioband gives bandwidth to each job according
> + to its weight, which each job can set its own value to.
> +
> + At this time, a job is a group of processes with the same pid or pgrp or
> + uid. There is also a plan to make it support cgroup. A job can also be a
> + virtual machine such as KVM or Xen.
Most writes are performed by pdflush, kswapd, etc. This will lead to large
inaccuracy.
It isn't trivial to fix. We'd need deep, long tracking of ownership
probably all the way up to the pagecache page. The same infrastructure
would be needed to make Sergey's "BSD acct: disk I/O accounting" vaguely
accurate. Other proposals need it, but I forget what they are.
Much more minor points: when merge-time comes, the patches should have the
LINUX_VERSION_CODE stuff removed. And probably all of the many `inline's
should be removed.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|