All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabian Deutsch <fabian.deutsch@gmx.de>
To: kvm@vger.kernel.org
Subject: Re: Network poblems using virtio and tap.
Date: Sat, 06 Sep 2008 15:47:23 +0200	[thread overview]
Message-ID: <1220708844.2932.10.camel@decade.local> (raw)
In-Reply-To: <20080906142606.6d9bd574.mailinglists@lucassen.org>

Am Samstag, den 06.09.2008, 14:26 +0200 schrieb richard lucassen:
> On Sat, 06 Sep 2008 14:04:30 +0200
> Fabian Deutsch <fabian.deutsch@gmx.de> wrote:
> 
> > Am Samstag, den 06.09.2008, 09:40 +0200 schrieb Christian Borntraeger:
> > > Am Montag, 1. September 2008 schrieb Fabian Deutsch:
> > > > Hey.
> > > > 
> > > > I'm observing some network problems when using virtio and a tap
> > > > if. The trouble is a drop of network troughput from abot 90Mbit/s
> > > > to
> > about 
> > > 90kbit/s,
> > > > after about 1.7 TB of transferred data.
> > > > 
> > > > Setup
> > > > Host: 
> > > > - Fedora 8, nearly all updates
> > > > - Intel(R) Xeon(R) CPU           X3210  @ 2.13GHz
> > > > - 8GB RAM
> > > > - 2 Guests
> > > > 
> > > > Guest:
> > > > - Fedora 9 all updates
> > > > - virtio nic using tap
> > > > - samba sharing a mountpoint using an iscsi target
> > > 
> > > Can you tell us what host kernel and what guest kernel you are
> > > using?
> > The were 
> > > some changes to tun/tap for virtio lately which could make a
> > difference.
> > 
> > Host:
> > Fedora 8 x86_64
> > 2.6.25.14-69.fc8 SMP
> > kvm-72
> > 
> > Guest:
> > Fedora 9 i386
> > 2.6.25.11-97.fc9.i686
> 
> I noticed the same behaviour using a rtl8139 and a tap device. After
> some MB's (!) I had to invoke a in the guest:
> 
> ifdown eth0; ifup eth0

ifdown ; ifup doesn't help in this case.
Even a guest-restart "init 6" doesn't help.
Just shutting it completely down "init 0" and powering it on again
helps.

> 
> to get the network back again. I replaced the rtl-8139 by a virtio
> device and the problem seems to have gone, but I haven't tried yet with
> a large amount of data.

Virtio net works fast and withouth trouble - up to some point, then
packet loss occurs.

> 
> kvm-73 (kvm74 gives compile errors)
> host: 64bit ubuntu-8.04-LTS with vanilla kernel 2.6.26.3 SMP
> guest: ubuntu-8.04-LTS with ubuntu kernel 32-bit
> 
> On the same host runs a 32bit w2k3 (virtio NIC) and I haven't noticed
> such problems, even when this host ran with an rtl-8139 device.
> 
> Sorry if I missed some postings concerning the issue, I just
> (re)subscribed to the list.
> 
> R.
> 


  reply	other threads:[~2008-09-06 13:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 12:42 Network poblems using virtio and tap Fabian Deutsch
2008-09-05 11:47 ` Fabian Deutsch
2008-09-06  7:40 ` Christian Borntraeger
2008-09-06 12:04   ` Fabian Deutsch
2008-09-06 12:26     ` richard lucassen
2008-09-06 13:47       ` Fabian Deutsch [this message]
2008-09-06 15:34         ` richard lucassen
2008-09-07 20:05         ` richard lucassen

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=1220708844.2932.10.camel@decade.local \
    --to=fabian.deutsch@gmx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.