cgroup

cgroup でプロセス毎のDisk (block device) へのI/O の帯域制限 blkio.throttle.*

http://docs.redhat.com/docs/ja-JP/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch-Subsystems_and_Tunable_Parameters.html http://www.kernel.org/doc/Documentation/devices.txt /usr/share/doc/kernel-*/Documentation/cgroups/ redhat…

cgroup と libvirtの連携

cgroup有効にしているときにlibvirtdを起動すると、各コントローラ以下の /cgroup/*/libvirt/qemu/"仮想マシン名" が自動で作成されていく、ということを知った。/cgroup/*/libvirt/qemu/"仮想マシン名"/tasks に仮想マシンのqemu-kvmプロセスのpidも書き込…

linuxのコントロールグループ(cgroup)でリソース制御 memo

今更だけど便利そうな機能なので勉強。 http://docs.redhat.com/docs/ja-JP/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch01.html http://docs.redhat.com/docs/ja-JP/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch-Subsy…