Tests for cpusets and cgroup performance measurement

Paul Menage menage at google.com
Mon Mar 21 10:33:08 PDT 2011


On Mon, Mar 21, 2011 at 3:42 AM, Jaswinder Singh
<jaswinderlinux at gmail.com> wrote:
>
> Can you please suggest some simple tests to measure the performance
> enhancement by using cpusets/cgroups.

The cgroups framework is simply a way of grouping processes together
and allowing subsystems (memory, CPU, disk I/O, etc) to associate
state objects with each group. Generally this is for improving
isolation rather than improving performance - sticking extra machinery
and scheduling in will typically reduce overall throughput, but make
it more practical to share resources safely between multiple groups of
processes.

Your question is pretty open-ended - what's your ultimate goal? You
should probably be focusing on some particular problem that you're
trying to measure/improve via resource isolation/scheduling.

Paul


More information about the Containers mailing list