qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Reeted <reeted@shiftmail.org>
To: Erik Rull <erik.rull@rdsoftware.de>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] USB 2.0 printer passthrough very slow
Date: Tue, 03 Apr 2012 15:49:50 +0200	[thread overview]
Message-ID: <4F7AFFFE.4020805@shiftmail.org> (raw)
In-Reply-To: <4F7AFC30.2060207@rdsoftware.de>

On 04/03/12 15:33, Erik Rull wrote:
> Hi,
>
> please try to use the .cfg file from the docs/ directory, 

The ich9-ehci-uhci.cfg ? Yes it's the same thing I am using.
If you look at the <qemu:commandline> section I have replicated that 
file exactly.
I had access rights problem using the .cfg file, that's why I replicated 
it in the commandline, but it's the same thing really.

> using this file, the USB printer speed is really good on my systems. 
> Well it is still an emulation so you'll never get native speed, but it 
> is far better than the USB 1.x emulation we had in 0.1x versions.
> Best thing to test the approx. transfer speed: Plug in a fast usb key, 
> copy some larger data chunks and measure the time - on the same port 
> where you attach the printer.

I had tested that on a linux guest and it was 6.5MB/sec (dd streaming of 
the device! Not file copy) as I said, but you are right, it's better if 
I try it on the real windows guest. I won't have a chance to test it 
until the weekened though.

>
> Printing e.g. the Windows XP test page takes not really more time than 
> on a native system.

And if you send a second job it follows the first one right away or it 
takes minutes in between?

What printer?

What qemu version?

Any chance you could post here your commandline? (from ps aux )

What's the guest setting in device management, is it ACPI Uniprocessor
http://www.neowin.net/forum/uploads/post-9158-1134631266.png
or ACPI Multiprocessor or Standard PC or other?
Mine is ACPI Multiprocessor with 2vCPU. Other settings were almost twice 
slower in booting the system.

(Sorry for the many questions :-) )

Thanks for your help
R.

  reply	other threads:[~2012-04-03 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 12:26 [Qemu-devel] USB 2.0 printer passthrough very slow Reeted
2012-04-03 13:33 ` Erik Rull
2012-04-03 13:49   ` Reeted [this message]
2012-04-03 15:29     ` Erik Rull
2012-04-03 13:52 ` Reeted

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=4F7AFFFE.4020805@shiftmail.org \
    --to=reeted@shiftmail.org \
    --cc=erik.rull@rdsoftware.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).