Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Jon Fairbairn <jon.fairbairn@cl.cam.ac.uk>
To: kvm@vger.kernel.org
Subject: Re: Poor network performance with cable modem assigned to guest
Date: Sat, 12 Sep 2009 08:51:06 +0100	[thread overview]
Message-ID: <wfws44wqhh.fsf@calligramme.charmers> (raw)
In-Reply-To: 20090829170341.GA26226@psychosis.jim.sh

Jim Paris <jim@jtan.com> writes:

> Jon Fairbairn wrote:
>> Brian Jackson <iggy@theiggy.com> writes:
>> 
>> > On Friday 28 August 2009 01:14:42 pm Jon Fairbairn wrote:
>> >> The setup was done through virt-manager. The network between the host
>> >> and guest is a virtual bridge. What I've been trying to do is to assign
>> >> a USB cable modem to the guest,
>> >
>> >
>> > This is probably your problem here. KVM only emulates a usb1.1
>> > controller,
>> 
>> that shouldn't be a problem as the cable modem is only a usb 1.1 device.
>> 
>> > and from all reports, it doesn't really do that very well.
>> 
>> Not very well? We're talking about a factor of *FIFTY* slow down here.
>> If I'd implemented the driver in a 1980s lazy functional language I
>> would have only expected a factor of ten :-P ;-).

> I don't have any specific answers, but you might be able to get some
> more info by uncomenting the "//#define DEBUG" in kvm's usb-linux.c.
> You might also try capturing the USB traffic (e.g. with wireshark)

Thanks for your comments; I was waiting for a time when the network
wasn't in constant use to try some experiminents, but unfortunately my
ISP has replaced the cable modem with a newer version that doesn't have
a USB port, so I have to abandon this approach anyway.

[Assigning a physical PCI device to a kvm guest doesn't work with 
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
does it?]

-- 
Jón Fairbairn                                 Jon.Fairbairn@cl.cam.ac.uk


      reply	other threads:[~2009-09-12  7:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-28 18:14 Poor network performance with cable modem assigned to guest Jon Fairbairn
2009-08-28 18:35 ` Brian Jackson
2009-08-29  9:24   ` Jon Fairbairn
2009-08-29 17:03     ` Jim Paris
2009-09-12  7:51       ` Jon Fairbairn [this message]

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=wfws44wqhh.fsf@calligramme.charmers \
    --to=jon.fairbairn@cl.cam.ac.uk \
    --cc=kvm@vger.kernel.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