← Back to team overview

kernel-packages team mailing list archive

[Bug 1042612] Re: [Lenovo ThinkPad W520] KVM Guests only use one CPU after host wakes up from sleep

 

Retesting:
I tested suspending the host but this time with the latest updates to U12.04 applied to the host & guest.

HOST: Linux thinkpad-w520 3.2.0-55-generic #85-Ubuntu SMP Wed Oct 2 12:29:27 UTC 2013 x86_64 x86_64 x86_64 
GUEST: Linux tpa 3.2.0-41-generic #66-Ubuntu SMP Thu Apr 25 03:27:11 UTC 2013 x86_64 x86_64 x86_64 

1) I stressed out the guest to see which CPUs were in use.  I used "stress --cpu 2"
2) I noticed the VM Manager's CPU for this guest go solidly to 100% and CPU 5 & 6 to roughly constant 98%.
3) On resuming the host, I noticed "stress" continued to run but the VM Manager CPU graph had spikes every ~2-3 seconds.
4) Host Sys-monitor showed CPUs for this guest was roughly constant at 94%.  

But there was two instead of just one being used by the guest... which
is different from my original issue where they all head to just one host
CPU.  I repeated this suspension several times and the CPU guest spiking
did not occur again.  So it looks like an improvement.

BIOS Update:
Next, as requested above, I tried to update my W520 BIOS from 1.06 (2011) to 1.42 (latest from Lenovo 2013).

I download the ISO from Lenovo and this booted to "Starting PC DOS" at which point it seems to have hung.
So, I quickly looked into trying to extract and apply the BIOS image in Ubuntu.  This does not seem very straightforward either. I've found one guide on ThinkWiki which has step-by-step process (with plenty of warnings) for the "old style" BIOS image .exe to build a new ISO to boot.  I extracted the 'new' style using innoextract but I have not found/or understood what do with these files from the ThinkWiki page.  

Any help here on updating W520 with the newer 1.42 bios ISO/.exe?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1042612

Title:
  [Lenovo ThinkPad W520] KVM Guests only use one CPU after host wakes up
  from sleep

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  ThinkPad W520 running U12.04 with the latest updates applied.
  VT-d enabled in BIOS
  NVIDIA driver disabled (because it simply doesn't boot with VT-d enabled)
  KVM Guests of Windows7, RHEL5.3

  i) Start KVM Guest and you can see all host CPUs timeslicing and guest is fast and responsive.
  ii) Shutdown KVM Guest.
  iii) Place Host laptop into sleep mode.
  iv) Wake up host and restart KVM Guest
  v) KVM Guest CPU graph is at 50%, never fluctuates and behaviour is like single-core.  All host CPUs are idling except for one at 100%.

  This is quite reproducable.  It is identical in performance and KVM Guest behaviour if you disabled VT-d in the BIOS (but have VT enabled).
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  kvm        2293 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf3b20000 irq 54'
     Mixer name	: 'Conexant CX20590'
     Components	: 'HDA:14f1506e,17aa21cf,00100000 HDA:14f12c06,17aa2122,00100000'
     Controls      : 20
     Simple ctrls  : 10
  Card29.Amixer.info:
   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
     Mixer name	: 'ThinkPad EC (unknown)'
     Components	: ''
     Controls      : 1
     Simple ctrls  : 1
  Card29.Amixer.values:
   Simple mixer control 'Console',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  DistroRelease: Ubuntu 12.04
  HibernationDevice: RESUME=UUID=ef35a2f8-8839-44d5-ac77-fcc3fd10dfa2
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MachineType: LENOVO 427638U
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_CA:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic root=UUID=6ddbc439-93f6-4c59-a307-902d009a430d ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-29-generic N/A
   linux-backports-modules-3.2.0-29-generic  N/A
   linux-firmware                            1.79
  StagingDrivers: mei
  Tags:  precise running-unity staging
  Uname: Linux 3.2.0-29-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
  dmi.bios.date: 03/02/2011
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8BET30WW (1.06 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 427638U
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8BET30WW(1.06):bd03/02/2011:svnLENOVO:pn427638U:pvrThinkPadW520:rvnLENOVO:rn427638U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 427638U
  dmi.product.version: ThinkPad W520
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1042612/+subscriptions