[Users] Using a specified CPU with cpuset.cpus
Scott Dowdle
dowdle at montanalinux.org
Sun Mar 31 10:23:47 EDT 2013
Greetings,
----- Original Message -----
> I want to use cgroups (cpusets) to use only one CPU for sending a
> network packet.
>
> I tried this:
> cgcreate -g cpuset:/test
> cgset -r cpuset.cpus=1 /test
> cgset -r cpuset.mems=0 /test
> cgset -r cpuset.cpu_exclusive=1 /test
> cgexec -g cpuset:test ping www.google.com
>
> But "cat /proc/interrupts" show that network interrupts are
> incremented on cpu0 only.
>
> Am I missing anything ? what should I do so that interrupts will
> occur on CPU1 ?
What does this have to do with OpenVZ?
TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
More information about the Users
mailing list