[Kernel-packages] [Bug 1218959] Re: KVM virbr# no longer forwards multicast traffic by default (U12.04)
Thanks for the patch and test instructions. Should this be tested using U12.04.2 LTS or U12.04.4 LTS as a baseline and should I apply updates to the installation first? A few questions: 1) I don't understand how of the security update superceeding this patch affects this problem unless it prevents enabling MC on bridge? 2) There is reference to an independent kernel update to libvirt has addressed this problem and if so, in which kernel. The comment #3 mentioned a redhat bug but the comments of that bug say it's not going to be propagated and looks project specific. Maybe I misread it? 3) I originally applied a udev rule myself, but specific to the single bridged interface I'm using to send multicast over. Your proposed udev patch applies this to all virbr* interfaces. Is this ok/sensible? Personally, I think for U12.04.2LTS back ports, MC traffic should have simply been left as-is. Future releases should have adopted proper handling of MC traffic and required Querier to be enabled. Appreciate any insight, thanks. -- 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/1218959 Title: KVM virbr# no longer forwards multicast traffic by default (U12.04) Status in “libvirt” package in Ubuntu: Fix Released Status in “linux” package in Ubuntu: Fix Released Status in “libvirt” source package in Precise: Fix Committed Status in “linux” source package in Precise: Won't Fix Bug description: A recent kernel update (Apr 2013) has made it's way to U12.04.2 LTS (approx June-Aug 2013) and has stopped the (default) behaviour of automatically forwarding multicast traffic over virbr#. Some updates the bridge subsystem now, by default, disable multicast traffic without IGMP Querier being enabled on that bridge. The corresponding Fedora/RHEL bug tracks the progress/updates of this specific change in relation to Fedora. https://bugzilla.redhat.com/show_bug.cgi?id=880035 (I have yet to find a similar bug report in Ubuntu so I have created this bug to help the Ubuntu community identify multicast issues that may arise since April 2013 in U12.04 LTS and presumably other Ubuntu releases as backports are made and break regression testing.) Using the latest patches in U12.04.2 LTS this following addition, with some modifications, can be made to the udev rules will enable multicast on virbr# bridge: https://bugzilla.redhat.com/show_bug.cgi?id=880035#c38 While this is an improvement/correction to KVM bridge networking it has broken existing functionality in U12.04.2 LTS and broke regressed functionality that once worked. IMPACT: multicast is broken over libvirt bridges FIX: set a (new, introduced by a new kernel) toggle on the bridges TEST CASE: cat /sys/devices/virtual/net/virbr0/bridge/multicast_querier - if 0, then forwarding multicast will be broken. REGRESSION POTENTIAL: should be none. older kernels do not have the toggle, and failure to set it will be ignored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1218959/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [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: USERPID ACCESS COMMAND /dev/snd/controlC0: kvm2293 F pulseaudio Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0xf3b2 irq 54' Mixer name : 'Conexant CX20590' Components : 'HDA:14f1506e,17aa21cf,0010 HDA:14f12c06,17aa2122,0010' 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-firmware1.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
[Kernel-packages] [Bug 1042612] Re: [Lenovo ThinkPad W520] KVM Guests only use one CPU after host wakes up from sleep
Further to my last comment, some real-world network testing of the applications running on the guests has shown that although the guests resume to use all CPUs the overall performance is sub-standard compared to a clean startup of the host (no suspend). I don't have any firm numbers to share, just hands-on experience with video streams becoming very unstable after a resume, even with a VM guest reboot. A fresh reboot of the host fixed this substandard behaviour. -- 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: USERPID ACCESS COMMAND /dev/snd/controlC0: kvm2293 F pulseaudio Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0xf3b2 irq 54' Mixer name : 'Conexant CX20590' Components : 'HDA:14f1506e,17aa21cf,0010 HDA:14f12c06,17aa2122,0010' 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-firmware1.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 -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1042612] Re: [Lenovo ThinkPad W520] KVM Guests only use one CPU after host wakes up from sleep
Thanks for the suggestion. I will be able to try this out by end of Nov 2013. -- 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: USERPID ACCESS COMMAND /dev/snd/controlC0: kvm2293 F pulseaudio Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0xf3b2 irq 54' Mixer name : 'Conexant CX20590' Components : 'HDA:14f1506e,17aa21cf,0010 HDA:14f12c06,17aa2122,0010' 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-firmware1.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 -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp