From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Hirokazu Takahashi <taka@valinux.co.jp>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
containers@lists.linux-foundation.org
Subject: Re: [PATCH O/4] Block I/O tracking
Date: Tue, 18 Mar 2008 19:16:24 +0900 [thread overview]
Message-ID: <20080318191624.85ca135f.kamezawa.hiroyu@jp.fujitsu.com> (raw)
In-Reply-To: <20080318.182251.93858044.taka@valinux.co.jp>
On Tue, 18 Mar 2008 18:22:51 +0900 (JST)
Hirokazu Takahashi <taka@valinux.co.jp> wrote:
> # mount -t cgroup -o bio none /cgroup/bio
>
> Then, you make new bio cgroups and put some processes in them.
>
> # mkdir /cgroup/bio/bgroup1
> # mkdir /cgroup/bio/bgroup2
> # echo 1234 /cgroup/bio/bgroup1/tasks
> # echo 5678 /cgroup/bio/bgroup1/tasks
>
> Now you check the ids of the bio cgroups which you just created.
>
> # cat /cgroup/bio/bgroup1/bio.id
> 1
> # cat /cgroup/bio/bgroup2/bio.id
> 2
>
> Finally, you can attach the cgroups to "ioband1" and assign them weights.
>
> # dmsetup message ioband1 0 type cgroup
> # dmsetup message ioband1 0 attach 1
> # dmsetup message ioband1 0 attach 2
> # dmsetup message ioband1 0 weight 1:30
> # dmsetup message ioband1 0 weight 2:60
>
> You can find the manual of dm-ioband at
> http://people.valinux.co.jp/~ryov/dm-ioband/manual/index.html.
> But the user interface for the bio cgroup is temporal and it will be
> changed after the io_context support.
>
I'm grad if these some kinds of params rather than 'id' are also shown
under cgroup.
Thanks,
-Kame
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-03-18 10:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-18 9:22 Hirokazu Takahashi
2008-03-18 9:25 ` [PATCH 1/4] " Hirokazu Takahashi
2008-03-18 10:25 ` KAMEZAWA Hiroyuki
2008-03-18 9:29 ` [PATCH 2/4] " Hirokazu Takahashi
2008-03-18 10:22 ` KAMEZAWA Hiroyuki
2008-03-18 11:34 ` Hirokazu Takahashi
2008-03-18 11:55 ` KAMEZAWA Hiroyuki
2008-03-18 12:15 ` Hirokazu Takahashi
2008-03-18 9:30 ` [PATCH 3/4] " Hirokazu Takahashi
2008-03-18 9:31 ` [PATCH 4/4] " Hirokazu Takahashi
2008-03-18 10:16 ` KAMEZAWA Hiroyuki [this message]
2008-03-19 3:59 ` [PATCH O/4] " Hirokazu Takahashi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080318191624.85ca135f.kamezawa.hiroyu@jp.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=containers@lists.linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=taka@valinux.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox