From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF4AE-00012f-7j for qemu-devel@nongnu.org; Tue, 03 Apr 2012 09:52:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SF4A4-0007Q5-76 for qemu-devel@nongnu.org; Tue, 03 Apr 2012 09:52:49 -0400 Received: from blade3.isti.cnr.it ([194.119.192.19]:4857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF4A2-0007OJ-RA for qemu-devel@nongnu.org; Tue, 03 Apr 2012 09:52:40 -0400 Received: from [192.168.7.52] ([155.253.6.254]) by mx.isti.cnr.it (PMDF V6.5-x6 #31988) with ESMTPSA id <01ODVYIW6IFELJG3TS@mx.isti.cnr.it> for qemu-devel@nongnu.org; Tue, 03 Apr 2012 15:51:43 +0200 (MEST) Date: Tue, 03 Apr 2012 15:49:50 +0200 From: Reeted In-reply-to: <4F7AFC30.2060207@rdsoftware.de> Message-id: <4F7AFFFE.4020805@shiftmail.org> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 7bit References: <4F7AEC7D.7020701@shiftmail.org> <4F7AFC30.2060207@rdsoftware.de> Subject: Re: [Qemu-devel] USB 2.0 printer passthrough very slow List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik Rull , qemu-devel@nongnu.org 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 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.