* kvm with usb slow
@ 2008-01-06 16:41 Norbert Preining
[not found] ` <20080106164153.GO4981-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Norbert Preining @ 2008-01-06 16:41 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi all,
(please Cc, thanks)
I am running kernel 2.6.24-rc6 and kvm-56 (or was it 55) and as soon as
I plug an usb device with usb enabled it is getting terrible slow. I
have searched a bit and it seems to be related to async i/o not being
implemented.
Is this expected behaviour, and if yes, are there patches floating around
for testing?
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining-DX+603jRYB8@public.gmane.org> Vienna University of Technology
Debian Developer <preining-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HASTINGS (pl.n.)
Things said on the spur of the moment to explain to someone who comes
into a room unexpectedly precisely what it is you are doing.
--- Douglas Adams, The Meaning of Liff
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kvm with usb slow
[not found] ` <20080106164153.GO4981-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
@ 2008-01-06 22:03 ` Dor Laor
2008-01-07 18:04 ` Arnon Gilboa
1 sibling, 0 replies; 4+ messages in thread
From: Dor Laor @ 2008-01-06 22:03 UTC (permalink / raw)
To: Norbert Preining; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Arnon Gilboa
[-- Attachment #1.1: Type: text/plain, Size: 1687 bytes --]
Norbert Preining wrote:
>
> Hi all,
>
> (please Cc, thanks)
>
> I am running kernel 2.6.24-rc6 and kvm-56 (or was it 55) and as soon as
> I plug an usb device with usb enabled it is getting terrible slow. I
> have searched a bit and it seems to be related to async i/o not being
> implemented.
>
Can you please tell the device type, is it usb2.0 or usb1.1 ?
Is running with -no-kvm improve something?
>
> Is this expected behaviour, and if yes, are there patches floating around
> for testing?
>
Arnon will send updated patches soon.
>
> Best wishes
>
> Norbert
>
> -------------------------------------------------------------------------------
> Dr. Norbert Preining <preining-DX+603jRYB8@public.gmane.org> Vienna University of
> Technology
> Debian Developer <preining-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> Debian
> TeX Group
> gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3
> 09C5 B094
> -------------------------------------------------------------------------------
> HASTINGS (pl.n.)
> Things said on the spur of the moment to explain to someone who comes
> into a room unexpectedly precisely what it is you are doing.
> --- Douglas Adams, The Meaning of Liff
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
[-- Attachment #1.2: Type: text/html, Size: 3483 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kvm with usb slow
[not found] ` <20080106164153.GO4981-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2008-01-06 22:03 ` Dor Laor
@ 2008-01-07 18:04 ` Arnon Gilboa
[not found] ` <64F9B87B6B770947A9F8391472E032161047900C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
1 sibling, 1 reply; 4+ messages in thread
From: Arnon Gilboa @ 2008-01-07 18:04 UTC (permalink / raw)
To: Norbert Preining, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
USB redirection support in qemu is currently using synchronous ioctls,
which might block the guest for too long (>100usec). The current host
controller emulations allow only one pending transfer at a time, which
might slow down the guest as well.
If you are using simple bulk device (disk on key, printer etc.), you can
try the patch of USB 2.0 EHCI emulation, recently submitted to
qemu-devel. It is at very preliminary stage, but still might be useful
for you.
Arnon
-----Original Message-----
From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Norbert
Preining
Sent: Sunday, January 06, 2008 6:42 PM
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [kvm-devel] kvm with usb slow
Hi all,
(please Cc, thanks)
I am running kernel 2.6.24-rc6 and kvm-56 (or was it 55) and as soon as
I plug an usb device with usb enabled it is getting terrible slow. I
have searched a bit and it seems to be related to async i/o not being
implemented.
Is this expected behaviour, and if yes, are there patches floating
around for testing?
Best wishes
Norbert
------------------------------------------------------------------------
-------
Dr. Norbert Preining <preining-DX+603jRYB8@public.gmane.org> Vienna University of
Technology
Debian Developer <preining-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> Debian
TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3
09C5 B094
------------------------------------------------------------------------
-------
HASTINGS (pl.n.)
Things said on the spur of the moment to explain to someone who comes
into a room unexpectedly precisely what it is you are doing.
--- Douglas Adams, The Meaning of Liff
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kvm with usb slow
[not found] ` <64F9B87B6B770947A9F8391472E032161047900C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
@ 2008-01-08 7:26 ` Norbert Preining
0 siblings, 0 replies; 4+ messages in thread
From: Norbert Preining @ 2008-01-08 7:26 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi Arnon,
thanks a lot for the response,
On Mo, 07 Jan 2008, Arnon Gilboa wrote:
> USB redirection support in qemu is currently using synchronous ioctls,
> which might block the guest for too long (>100usec). The current host
> controller emulations allow only one pending transfer at a time, which
> might slow down the guest as well.
Ok, I understand. So anything which is a bit complicated usb device
(like my GPS receiver) will have problems.
> If you are using simple bulk device (disk on key, printer etc.), you can
> try the patch of USB 2.0 EHCI emulation, recently submitted to
> qemu-devel. It is at very preliminary stage, but still might be useful
> for you.
I will try (to find and use it).
Thanks a lot and all the best
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining-DX+603jRYB8@public.gmane.org> Vienna University of Technology
Debian Developer <preining-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GLAZELEY (adj.)
The state of a barrister's flat greasy hair after wearing a wig all
day.
--- Douglas Adams, The Meaning of Liff
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-08 7:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-06 16:41 kvm with usb slow Norbert Preining
[not found] ` <20080106164153.GO4981-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2008-01-06 22:03 ` Dor Laor
2008-01-07 18:04 ` Arnon Gilboa
[not found] ` <64F9B87B6B770947A9F8391472E032161047900C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2008-01-08 7:26 ` Norbert Preining
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox