Alxen4 wrote:> Hi,
> Hope someone could help me.
> Is it possible to allocate one physical CPU to Dom0 an another
> physicals CPU to all DomU guests ? And similar thing for memory,
> let say 2G of RAM to Dom0 and rest to DomU ?> So under any circumstances DomU guests won''t use Dom0 resources ?
>
> Thanks a lot.
You can do this via the grub line.. You can limit dom0 memory
using dom0_mem, then limit the CPUs dom0 uses via max vcpus
and pin. e.g.
kernel /boot/amd64/xen.gz dom0_mem=2G dom0_max_vcpus=2 dom0_vcpus_pin=true
to fix the domU vcpu mapping, you can use virsh vcpupin.
virsh help vcpupin
MRJ