lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 18 Mar 2008 19:16:24 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	Hirokazu Takahashi <taka@...inux.co.jp>
Cc:	linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	containers@...ts.linux-foundation.org
Subject: Re: [PATCH O/4] Block I/O tracking

On Tue, 18 Mar 2008 18:22:51 +0900 (JST)
Hirokazu Takahashi <taka@...inux.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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ