why CPU pinning doesn't take effect when using lxc-enter-namespace to run an application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

 

I want my container to run on the third CPU core and I define this by the following xml scrpits:

<vcpu placement=”static” cpuset=”3”>1</vcpu>

 

When I run my application in a container terminal, I can see the application runs on the third core as expected.

When I run my application using lxc-enter-namespace, the CPU pinning doesn't take effect, i.e., the application runs on a core which isn’t the third one.

 

How can I solve this problem?

 

Any replies are highly appreciated.

 

Cheng

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux