Bug#700445:

2013-09-09 Thread Sam Williams
Answering to myself: the taskset needs to be applied to all guest threads, not 
just the main process:ps -L -C kvm|awk '/kvm/ {print $2}'| xargs -n1 taskset -c 
-p 0-7

Thanks to Daniele for the info! The actual bug is because of certain AMD 
processors group cores in different NUMAs and  the calculation of cores changed 
in libvirt. Newer libvirt should have this fixed. More discussion about the 
issue can be found e.g. here: 
https://bugzilla.redhat.com/show_bug.cgi?id=833425  
   

Bug#700445:

2013-09-05 Thread Sam Williams
I have the same problem after upgrading from squeeze to wheezy. Only the first 
half of the cores (4 out of 8) are visible to KVM host.  I also have AMD 
processor on my HP Proliant DL165 G7 (AMD Opteron(tm) Processor 6136).
The taskset workaround doesn't seem to help. The output of taskset indicates it 
changes the affinity list:
# taskset -p -c 0-7 8755pid 8755's current affinity list: 0-3pid 8755's new 
affinity list: 0-7
but there is no change to the pinning of the cores: only cores 0-3 are used by 
KVM guest. Do I need to do something else to get the workaround working?
Installed versions:linux-image-3.2.0-4-amd64: 3.2.46-1+deb7u1libvirt-bin: 
0.9.12-11+deb7u1qemu-kvm: 1.1.2+dfsg-6  

Bug#700445:

2013-06-12 Thread Nikita A Menkovich
I have same configuration, and get same error on AMD 9174 CPU


Bug#700445: libvirt has an wrong/inconsistend view on cpus

2013-02-12 Thread Philipp Schmidt
Package: libvirt-bin
Version: 0.9.12-6~bpo60+1
Severity: important

KVM-Hosts only use the first 6 of the available 12 cores on my machine 
(HP ProLiant DL385 G7), but i can use taskset to manually pin the qemu-kvm 
to the remaining cores.

root@saiga:/home/phils# virsh nodeinfo
CPU model:   x86_64
CPU(s):  12
CPU frequency:   2300 MHz
CPU socket(s):   1
Core(s) per socket:  6
Thread(s) per core:  1
NUMA cell(s):1
Memory size: 33017248 KiB

root@saiga:/home/phils# cat /proc/cpuinfo | grep processor | wc -l
12

root@saiga:/home/phils# virsh vcpupin somehost --vcpu 0 6-11 
error: Physical CPU 6 doesn't exist.

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (600, 'stable'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser3.112+nmu2add and remove users and groups
ii  gettext-base   0.18.1.1-3GNU Internationalization utilities
ii  libavahi-client3   0.6.27-2+squeeze1 Avahi client library
ii  libavahi-common3   0.6.27-2+squeeze1 Avahi common library
ii  libblkid1  2.17.2-9  block device id library
ii  libc6  2.11.3-4  Embedded GNU C Library: Shared lib
ii  libcap-ng0 0.6.4-1   An alternate posix capabilities li
ii  libdbus-1-31.2.24-4+squeeze1 simple interprocess messaging syst
ii  libdevmapper1.02.1 2:1.02.48-5   The Linux Kernel Device Mapper use
ii  libgcrypt111.4.5-2   LGPL Crypto library - runtime libr
ii  libgnutls262.12.20-4 GNU TLS library - runtime library
ii  libnl1 1.1-6 library for dealing with netlink s
ii  libnuma1   2.0.8-1   Libraries for controlling NUMA pol
ii  libparted0debian1  2.3-5 The GNU Parted disk partitioning s
ii  libpcap0.8 1.1.1-2+squeeze1  system interface for user-level pa
ii  libpciaccess0  0.12.0-1  Generic PCI access library for X
ii  libreadline6   6.1-3 GNU readline and history libraries
ii  libsasl2-2 2.1.23.dfsg1-7Cyrus SASL - authentication abstra
ii  libudev0   164-3 libudev shared library
ii  libuuid1   2.17.2-9  Universally Unique ID library
ii  libvirt0   0.9.12-6~bpo60+1  library for interfacing with diffe
ii  libxenstore3.0 4.0.1-5.5 Xenstore communications library fo
ii  libxml22.7.8.dfsg-2+squeeze6 GNOME XML library
ii  libyajl1   1.0.12-2  Yet Another JSON Library
ii  logrotate  3.7.8-6   Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils1.4-5Utilities for configuring the Linu
ii  dmidecode   2.9-1.2  Dump Desktop Management Interface 
pn  dnsmasq-basenone   (no description available)
pn  ebtablesnone   (no description available)
ii  gawk1:3.1.7.dfsg-5   GNU awk, a pattern scanning and pr
ii  iproute 20100519-3   networking and traffic control too
ii  iptables1.4.8-3  administration tools for packet fi
pn  libxml2-utils   none   (no description available)
ii  netcat-openbsd  1.89-4   TCP/IP swiss army knife
ii  parted  2.3-5The GNU Parted disk partition resi
ii  qemu1.1.2+dfsg-2~bpo60+1 fast processor emulator
ii  qemu-kvm1.1.2+dfsg-5~bpo60+1 Full virtualization on x86 hardwar

Versions of packages libvirt-bin suggests:
pn  policykit-1   none (no description available)
pn  radvd none (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org