[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-users
Subject: Re: [Xen-users] pvhvm domU via direct kernel boot on multi-cpu systems only shows one vcpu
From: Tomas Mozes <hydrapolic () gmail ! com>
Date: 2017-06-29 12:30:44
Message-ID: CAG6MAzSafrpiGLsHk_1WnORPaXioh8pm17=g1NhGY21HkAtp2g () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Fri, Jun 9, 2017 at 5:54 PM, Tomas Mozes <hydrapolic@gmail.com> wrote:
> Hello,
> we're trying to migrate PV domUs to PVHVM. It seems that it works just
> fine for single CPU servers, but servers having two physical processors
> only provide 1 virtual cpu in the domU when using direct kernel boot.
> When running a HVM machine without direct kernel boot, it properly
> detects all cores.
>
> PV
> kernel = "kernel-4.4.67-gentoo-xen"
> extra = "root=/dev/xvda1 net.ifnames=0"
> memory = 4000
> vcpus = 24
> disk = ['/dev/vg_data/hydra_root,raw,xvda1,rw']
> => shows 24 vcpus
>
> HVM
> builder = "hvm"
> kernel = "kernel-4.4.67-gentoo-xen"
> extra = "root=/dev/xvda net.ifnames=0 console=ttyS0 console=ttyS0,38400n8"
> memory = 4000
> vcpus = 24
> disk = ['/dev/vg_data/hydra_root,raw,xvda,rw']
> sdl = 0
> vnc = 0
> serial='pty'
> xen_platform_pci=1
> => shows only 1 vcpu on a machine with 2 physical CPU
>
> Tested with kernel 4.4.67, xen 4.8.1.
>
> Thanks,
> Tomas
>
My xen-domU kernel configuration was too minimalistic, seems like it was
missing acpi. Now it works properly even with 2x 20 core machines with xen
4.8.1 in pvhvm.
Tomas
[Attachment #5 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun \
9, 2017 at 5:54 PM, Tomas Mozes <span dir="ltr"><<a \
href="mailto:hydrapolic@gmail.com" \
target="_blank">hydrapolic@gmail.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hello,<br>we're trying to migrate PV domUs \
to PVHVM. It seems that it works just <br>fine for single CPU servers, but servers \
having two physical processors <br>only provide 1 virtual cpu in the domU when using \
direct kernel boot. <br>When running a HVM machine without direct kernel boot, it \
properly <br>detects all cores.<br><br>PV<br>kernel = \
"kernel-4.4.67-gentoo-xen"<br>extra = "root=/dev/xvda1 \
net.ifnames=0"<br>memory = 4000<br>vcpus = 24<br>disk = \
['/dev/vg_data/hydra_root,raw,<wbr>xvda1,rw']<br>=> shows 24 \
vcpus<br><br>HVM<br>builder = "hvm"<br>kernel = \
"kernel-4.4.67-gentoo-xen"<br>extra = "root=/dev/xvda net.ifnames=0 \
console=ttyS0 console=ttyS0,38400n8"<br>memory = 4000<br>vcpus = 24<br>disk = \
['/dev/vg_data/hydra_root,raw,<wbr>xvda,rw']<br>sdl = 0<br>vnc = \
0<br>serial='pty'<br>xen_platform_pci=1<br>=> shows only 1 vcpu on a \
machine with 2 physical CPU<br><br>Tested with kernel 4.4.67, xen \
4.8.1.<br><br>Thanks,<br>Tomas<br></div></blockquote><div><br><br></div><div>My \
xen-domU kernel configuration was too minimalistic, seems like it was missing acpi. \
Now it works properly even with 2x 20 core machines with xen 4.8.1 in \
pvhvm.<br></div><div><br></div><div></div><div>Tomas <br></div></div><br></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
https://lists.xen.org/xen-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic