From: Max Krasnyansky <maxk@qualcomm.com>
To: Juergen Lock <nox@jelal.kn-bremen.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 4/5] uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions
Date: Wed, 15 Oct 2008 12:54:25 -0700 [thread overview]
Message-ID: <48F64A71.5070303@qualcomm.com> (raw)
In-Reply-To: <200810112354.m9BNsXXh060894@saturn.kn-bremen.de>
Hi Juergen,
Juergen Lock wrote:
> This is whats got committed as r5050, right? It causes a large slowdown
> with some linux guests, as posted here:
> http://lists.gnu.org/archive/html/qemu-devel/2008-09/msg01201.html
> As mentioned the guest I tested was:
> sidux-2008-03-ourea-pre1-kde-lite-i386-200809142136.iso
> It uses a Linux 2.6.26 kernel, a FreeBSD guest is not affected by the
> slowness, could this be related to dynticks?
>
> Oh and on one box transfers over the emulated usb nic even sometimes
> stall, I have to ping the guest's ip for them to continue, and the ping
> then loses packets too.
Can you please clarify your setup. As I understood, from the thread you
mentioned above, you're running Linux 2.6.26 guest on QEMU under FreeBSD
host,correct ?
And what you're saying is that USB is slow in that configuration.
Assuming that I got that part correctly let me first say that this means
that usb-linux is not activated and you're using built-in QEMU USB
devices. What this in turn means is that your USB operation is
synchronous (all builtin devices are sync). New async logic with
multiple transactions, etc only applies to the real USB devices
virtualized via usb-linux & libusb.
After doing UHCI rewrite I made sure that new code generates exactly the
same UHCI structures as the old code. I may have missed something but in
general guests should not be affected, and as I explained new async
logic does not even kick in with built-in devices.
Is there any chance that there may be something else going on here ?
In other words are you sure that it's UHCI changes that cause the slow down.
If you are sure can you please recompile hw/usb-uhci.c with DEBUG
enabled. Save the trace it generates and send it to me. I can take a
look at it and see if there is something obvious. I do not have FreeBSD
hosts around to try and reproduce this myself.
Thanx
Max
next prev parent reply other threads:[~2008-10-15 19:55 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 4:22 [Qemu-devel] [PATCH 0/5] Various USB fixes and improvements Max Krasnyansky
2008-08-14 4:22 ` [Qemu-devel] [PATCH 1/5] husb: support for USB host device auto disconnect Max Krasnyansky
2008-08-14 16:28 ` [Qemu-devel] " Anthony Liguori
2008-08-14 19:26 ` Max Krasnyansky
2008-08-14 21:41 ` Max Krasnyansky
2008-08-14 4:22 ` [Qemu-devel] [PATCH 2/5] husb: support for USB host device auto connect Max Krasnyansky
2008-08-14 16:41 ` [Qemu-devel] " Anthony Liguori
2008-08-14 19:38 ` Max Krasnyansky
2008-08-14 20:21 ` Anthony Liguori
2008-08-14 20:34 ` Max Krasnyansky
2008-08-14 20:41 ` Anthony Liguori
2008-08-14 21:14 ` François Revol
2008-08-15 7:46 ` Guido Günther
2008-08-15 18:24 ` Max Krasnyansky
2008-08-15 18:31 ` Javier Guerra
2008-08-18 18:21 ` Max Krasnyansky
2008-08-18 18:52 ` Javier Guerra
2008-08-18 18:56 ` Jamie Lokier
2008-08-17 7:52 ` Avi Kivity
2008-08-18 18:46 ` Max Krasnyansky
2008-08-18 14:11 ` Anthony Liguori
2008-08-18 18:16 ` Max Krasnyansky
2008-08-14 4:22 ` [Qemu-devel] [PATCH 3/5] usb: generic packet handler cleanup and documentation Max Krasnyansky
2008-08-14 4:22 ` [Qemu-devel] [PATCH 4/5] uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions Max Krasnyansky
2008-08-14 17:51 ` [Qemu-devel] " Anthony Liguori
2008-08-14 19:49 ` Max Krasnyansky
2008-10-11 23:54 ` [Qemu-devel] " Juergen Lock
2008-10-15 19:54 ` Max Krasnyansky [this message]
2008-10-15 22:05 ` andrzej zaborowski
2008-10-16 21:25 ` Juergen Lock
2008-08-14 4:22 ` [Qemu-devel] [PATCH 5/5] husb: rewrite Linux host USB layer, fully async operation Max Krasnyansky
2008-08-15 14:24 ` Paul Brook
2008-08-15 19:04 ` Max Krasnyansky
2008-08-15 19:53 ` Paul Brook
2008-08-18 18:40 ` Max Krasnyansky
2008-08-14 17:55 ` [Qemu-devel] Re: [PATCH 0/5] Various USB fixes and improvements Anthony Liguori
2008-08-14 19:55 ` Max Krasnyansky
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=48F64A71.5070303@qualcomm.com \
--to=maxk@qualcomm.com \
--cc=nox@jelal.kn-bremen.de \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).