문제

how XEN chontrol cores and whether there is a API in Linux to run process on designated core

도움이 되었습니까?

해결책

AFAIK this is done using libvirt driver. You can specify the cpuset in nova configuration file and when the instance is being spawned, the libvirt driver checks the config file and the specified value is put in the instance's xml. The only shortcoming is that the given cpuset works for all the instances being spawned on that host. There is no way to specify different cpu cores for different instances. And yeah, there is no API to do this. Admin has to specify it explicitly in the config file. HTH.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top