Hi Viktor,
On 09/05/2012 04:54 PM, Viktor Mihajlovski wrote:
I posted a comment some time ago about that. If you do not mount the
cpuset controller, i.e for RHEL 6 you delete the cpuset line from
/etc/cgconfig, the CPU affinity isn't controlled by cgroups any more but
uses the old mechanism, which works as expected: take a host CPU offline
and it will be removed from the process CPU mask and will show up again
after onlining the host CPU.
The only issue I currently see is that the display of virsh vcpuinfo and
vcpupin is somewhat strange. Using taskset will however show the the
correct affinity.
I suggest that you try out that approach.
I saw your comment before. You are quite right. :)
But the situation here is there are some other features in libvirt
using cpuset. For example, emulator-pin feature. If we remove cpuset in
the system, other features could be unusable.
And more, I found different cgroups are widely used in libvirt now.
I don't think removing cgroups from system is a good enough idea, though
it can be a work around.
What do you think? :)
Thanks. :)