Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 524970 - Guest single-cpu IPI leads to a global IPI on host
Guest single-cpu IPI leads to a global IPI on host
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
5.5
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Eduardo Habkost
Lawrence Lim
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-22 16:03 EDT by Avi Kivity
Modified: 2014-03-25 21:02 EDT (History)
6 users (show)

See Also:
Fixed In Version: kvm-83-119.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-30 03:54:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
systemtap script to check for IPIs (340 bytes, text/plain)
2009-10-26 18:33 EDT, Eduardo Habkost
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0271 normal SHIPPED_LIVE Important: kvm security, bug fix and enhancement update 2010-03-29 09:19:48 EDT

  None (edit)
Description Avi Kivity 2009-09-22 16:03:56 EDT
Description of problem:

When a guest issues an IPI (or when kvm needs to signal another processor for another reason), all host processors are interrupted, not just the ones requested by the guest or kvm.  This leads to increased host load and wastes resources.

Version-Release number of selected component (if applicable):
kvm-83-105.el5

How reproducible:
Always

Steps to Reproduce:
1. Start a 2-vcpu guest on a larger host
2. Run an IPI-intensive workload (pipetest with processes pinned to vcpus) 
3. watch /proc/interrupts
  
Actual results:
Tons of IPIs everywhere

Expected results:
Tons of IPIs on just two cpus

Additional info:

Cause: kvm's smp_call_function_single() is translated to 2.6.18's smp_call_function() instead of smp_call_function_single() (since it used not to be exported).
Comment 7 Eduardo Habkost 2009-10-26 18:33:24 EDT
Created attachment 366168 [details]
systemtap script to check for IPIs
Comment 13 errata-xmlrpc 2010-03-30 03:54:36 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html

Note You need to log in before you can comment on or make changes to this bug.