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

[Xen-users] dom0 crashes when having more than 1 vCPU


  • To: Xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Klaus Darilion <klaus.mailinglists@xxxxxxxxx>
  • Date: Wed, 8 May 2019 11:42:04 +0200
  • Autocrypt: addr=klaus.mailinglists@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQENBFNx04oBCADtZDDwcBZ08w5K/WbJ13tDHOOPmqMUsBsevlR+vxERQtiX4RsPar8ScfF1 p8D4RryXybMl+IW4sZyJIQPoMrkSvVl+tjA9gWXho4jx6IZLHG2cnULvP5+TJiXUHaNgW//T UL18j325U4jTX1ki/cEe5nB70PaBDo6lw9Ctzzd6CZa7pspYVd5VSiEoZWhdO1b3Ilt1zvEv ffVXwZXPIG/cV3zjJXatu+M9Z9Pj7STU6lV75uiYHJAVlgwj5+1Xv/JBiEcGp5gdqZAAlijG txTZhDJ9TVxAOnP15wPH2IZ3GgnrQKiXb86BpGW4Hsk0WUWPGVIJIGmFHpYh2XqduNI3ABEB AAG0JktsYXVzIERhcmlsaW9uIDxrbGF1cy5kYXJpbGlvbkBuaWMuYXQ+iQFCBBMBAgAsAhsj BQkJZgGABwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AFAlNx1ssCGQEACgkQcve78dOLvZeB wgf9EAsr4xDsotUXH1bqxasa1dWvIHu57BAC7sg/SX0Uprs1waPyBCfgMp/tMDo4b10QRlvO YUan8HsChCtoVzpyIeR/gED9gtOzD6qkKxSf5OJEyJB6saf5DHY/AEG9bXl0pjvOJMCeE5Op MOtn5qCdIYn70Wr1QwNAAQGZ5q0qYHVhXv0yNEKQZS3kh38w47eJR+cVwGsOIehrystXtXLY R0dmZeih0rM/wlcwax/q+AcxIeAFxFVhUXL6r5r/id3glcDpvkWgryNF7QgHfEORwY3t7mri acz2jWTmDy82wkiXxKlusDnwsc5hOi3mk02mg+fRGQSLiI0QkHDC/CQ3IrkBDQRTcdOKAQgA y5BqBWUqnB4rJhAx9uREh2tscuXUGTGKMZv0TGgc7+iUjwEWp6pe0rqi528vGWBrQph2xHZR WHSGivrChhendkpFha5jChU5ZBlF8PU5SS1BZWaDJ6RFQZBNbt8Mhdu7Z4aXAwHqFosFLU6Z JZUNS+oXWjAWFn7Ep03W6dvgVckqNffD47rJXqZrW5Rl5NSmCGb/Po50k17sfG/U/AYpTtrB gewbdF9UqweFcEpAOQpy2LCOd/zBBFbLMTfr9jf8B0az8af9YqwNvW72zZ3ETACUXu2n4HKu N1iD/YVH+mB0ual54tHd+2KfTwG/ZiCylZKuHbJc1dX2kQAxLWsAywARAQABiQElBBgBAgAP BQJTcdOKAhsMBQkJZgGAAAoJEHL3u/HTi72XTQwH/j3IAADtnKWMgOSK9NE5f7vigbQVa6gT 0tMny/ppaBwbBGlcwwWhfyex93uhtWEn8qVsQRkcpYlqqnii0Qu5Td4C6TU+mRu1zLSmxoHO cmC+Kjh1E3JujzEOvav5+Vd85img1Mc7W1mMxNAbcckFhJBbJIMmo5/ywrsNF1anLh9HNz1k 2N2wVmr8anz0mYqHSjJpkHiVxn7K7/tMJPazJlTg9kELWjeMi+5ea0eOiLr6TrIeFugOs0d+ YxftJZuwIkRgJmCoC40+VYeMp2mkE/SJA19s8QtjMAEDUMYgpUTnFZdIE+6CjvGDHeCxf/Ee DLNBR9e5w/NWcG1WJBsQ0ds=
  • Delivery-date: Wed, 08 May 2019 09:43:12 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Openpgp: preference=signencrypt

Hello!

Ubuntu 14.04, 3.13.0-141-generic #190-Ubuntu SMP Fri Jan 19 12:52:38 UTC
2018 x86_64, xen_version: 4.4.2, Server: DL380 G6 with 2x Intel E5540
(more details below)

We configured our dom0 with a single CPU:
GRUB_CMDLINE_XEN="dom0_mem=1024M,max:1024M dom0_max_vcpus=1
dom0_vcpus_pin iommu=no-intremap"

The last 5 years we did not had any single problem with Xen. Yesterday,
we had poor io-performance when using dd in the dom0 and tried if it
would be better when having more CPUs. Hence, we changed dom0_max_vcpus
to 4 vCPUs. io was much better, but today it crashed (the server was
totally unresponive, we had to power toggle it, hence, no console logs).

We saw that more than once (Ubuntu 14.04 on DL380G6 with dual CPU,
Debian 9 on DL380G7 with single CPU) that Xen locks up when we tried to
play with the number of CPUs in the dom0, or with CPU pinning.

Is there a known issue with this Xen version, this hardware, or whatever
which can cause this Xen lock ups when using multiple vCPUs?

What is the recommended setting for number of CPUs in the dom0?

Thanks
Klaus



# xl info -n
release                : 3.13.0-141-generic
version                : #190-Ubuntu SMP Fri Jan 19 12:52:38 UTC 2018
machine                : x86_64
nr_cpus                : 16
max_cpu_id             : 31
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2533
hw_caps                :
bfebfbff:28100800:00000000:00003b00:009ce3bd:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 122869
free_memory            : 104431
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
cpu_topology           :
cpu:    core    socket     node
  0:       0        0        0
  1:       0        0        0
  2:       1        0        0
  3:       1        0        0
  4:       2        0        0
  5:       2        0        0
  6:       3        0        0
  7:       3        0        0
  8:       0        1        1
  9:       0        1        1
 10:       1        1        1
 11:       1        1        1
 12:       2        1        1
 13:       2        1        1
 14:       3        1        1
 15:       3        1        1
numa_info              :
node:    memsize    memfree    distances
   0:     61952      56439      10,20
   1:     61439      47992      20,10
xen_major              : 4
xen_minor              : 4
xen_extra              : .2
xen_version            : 4.4.2
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          :
xen_commandline        : placeholder dom0_mem=1024M,max:1024M
dom0_max_vcpus=4 dom0_vcpus_pin iommu=no-intremap
cc_compiler            : gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
cc_compile_by          : stefan.bader
cc_compile_domain      : canonical.com
cc_compile_date        : Fri Oct 13 15:48:48 UTC 2017
xend_config_format     : 4

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.