public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: KVM list <kvm@vger.kernel.org>
Subject: Re: high load with usb device
Date: Tue, 14 Sep 2010 18:00:35 +0200	[thread overview]
Message-ID: <4C8F9C23.4090400@redhat.com> (raw)
In-Reply-To: <4C8F8C5A.9000003@msgid.tls.msk.ru>

  On 09/14/2010 04:53 PM, Michael Tokarev wrote:
> 14.09.2010 18:45, Avi Kivity пишет:
> >>  17:27:23.999996 select(13, [0 5 7 9 10 12], [], [], {1, 0}) = 2 (in [5
> >>  10], left {0, 999998})<0.000009>
> >>  17:27:24.000199 select(13, [0 5 7 9 10 12], [], [], {1, 0}) = 1 (in
> >>  [12], left {0, 998775})<0.001241>
> >>  17:27:24.001666 select(13, [0 5 7 9 10 12], [], [], {1, 0}) = 2 (in [5
> >>  10], left {0, 999997})<0.000006>
> >>  17:27:24.001768 select(13, [0 5 7 9 10 12], [], [], {1, 0}) = 1 (in
> >>  [12], left {0, 999932})<0.000103>
> >>  17:27:24.001985 select(13, [0 5 7 9 10 12], [], [], {1, 0}) = 2 (in [5
> >>  10], left {0, 999998})<0.000005>
> >>  17:27:24.002061 select(13, [0 5 7 9 10 12], [], [], {1, 0}) = 1 (in
> >>  [12], left {0, 998407})<0.001617>
> >
> >  That pipe is doing a lot of damage (I don't have it, and couldn't
> >  reproduce your results, another pointer).  Do you have CONFIG_EVENTFD
> >  set?  If not, why not?
>
> As I mentioned in other emails in this thread:
>
> o yes, I do have CONFIG_EVENTFD set, and it is being used
>    too (fd#12 in the above strace).

I thought that was the signalfd.

> o 0.13.0-rc1 behaves the same way (that is, it also shows
>    high load when idle -- the same 18% of host CPU), but it
>    has no pipe on fd#5.
>
>

I think it's host_alarm_handler()'s use of qemu_notify_event().  It's 
telling the main loop to rescan pending events, even though it's called 
from the main loop itself.  Please drop it and rerun.

It booted for me and seems to work.

Marcelo, it's safe to remove it, yes? (except for tcg or upstream 
without iothread).

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2010-09-14 16:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 12:21 high load with win7 & usb tablet Michael Tokarev
2010-09-10 11:47 ` Jes Sorensen
2010-09-10 12:16   ` Michael Tokarev
2010-09-10 16:17     ` high load with usb device Michael Tokarev
2010-09-12  9:26       ` Avi Kivity
2010-09-14  6:51         ` Michael Tokarev
2010-09-14  9:06           ` Avi Kivity
2010-09-14  9:08             ` Avi Kivity
2010-09-14 10:00               ` Michael Tokarev
2010-09-14 10:07                 ` Avi Kivity
2010-09-14 10:25                   ` Michael Tokarev
2010-09-14 10:39                     ` Avi Kivity
2010-09-14 11:02                       ` Michael Tokarev
2010-09-14 13:15                         ` Michael Tokarev
2010-09-14 13:25                           ` Avi Kivity
2010-09-14 13:29                             ` Michael Tokarev
2010-09-14 13:38                               ` Michael Tokarev
2010-09-14 14:45                               ` Avi Kivity
2010-09-14 14:53                                 ` Michael Tokarev
2010-09-14 16:00                                   ` Avi Kivity [this message]
2010-09-14 16:29                                     ` Michael Tokarev
2010-09-14 16:37                                       ` Avi Kivity
2010-09-14 16:50                                         ` Michael Tokarev
2010-09-14 16:45                                       ` David S. Ahern
2010-09-14 15:51                                 ` David S. Ahern
2010-09-14 16:00                                   ` Michael Tokarev
2010-09-14 16:09                                     ` David S. Ahern
2010-09-10 12:19 ` high load with win7 & usb tablet Avi Kivity
2010-09-10 12:44   ` Michael Tokarev
2010-09-10 12:50     ` Avi Kivity
     [not found]       ` <4C8A44E6.2060008@msgid.tls.msk.ru>
2010-09-10 14:56         ` Avi Kivity
2010-09-10 15:03           ` Michael Tokarev
2010-09-10 16:03             ` Avi Kivity
2010-09-14  8:26               ` Brad Campbell
2010-09-14  8:33                 ` Michael Tokarev
2010-09-14  8:46                   ` Brad Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C8F9C23.4090400@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox