From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Deutsch Subject: Re: massive performance drop after a while when using virtio nics Date: Mon, 08 Sep 2008 15:16:29 +0200 Message-ID: <1220879789.3080.2.camel@decade.local> References: <1219519317.2909.12.camel@decade.local> <48C51576.2000806@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org, Jean-Philippe MENIL To: Yann Dupont Return-path: Received: from mail.gmx.net ([213.165.64.20]:44613 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751693AbYIHNQg (ORCPT ); Mon, 8 Sep 2008 09:16:36 -0400 In-Reply-To: <48C51576.2000806@univ-nantes.fr> Sender: kvm-owner@vger.kernel.org List-ID: Am Montag, den 08.09.2008, 14:07 +0200 schrieb Yann Dupont: > Fabian Deutsch a =C3=A9crit : > > Hey. > > > > When running a guest in the following setup, I observ a "massive" > > performance decrease after a couple of gigabytes of transfrerred da= ta. > > > > other guests keep running fine (no regressions) and nothing unusual= is > > observed on the host. > > > > fedora 8 host, kvm-72 (user and module) > > > > fedora 9 guest, all updates. > > nic 0, vtio: > > subnet a > > samba listening > > > > nic 1, vtio: > > subnet b > > iscsi initiator running > > > > samba shares a mount point, pointing to an iscsi target. > > > > > > now pulling/pushing about 80GB over samba results in a drop from ab= out > > 60/70Mbit to about 1/2Mbit of troughput. > > > > The problem is reproducible. > > The problem is solved after a reboot of the guest. Just restarting > > networking doesn't help. > > Guest's dmesg doesn't say anything about problems. No errors in > > ifconfig. > > > > Has someone observed something similar? > > > > > > Greetings > > - fabian > > > > -- > > To unsubscribe from this list: send the line "unsubscribe kvm" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > =20 > We just saw the very same issue. > guest & host : 2.6.25.3, debian etch 64 bits >=20 > KVM 70 on this machine. >=20 > As fabian said, rebooting the kernel doesn't help, but rebooting th= e=20 > whole kvm guest does. >=20 > No error messages as far as I can tell. The kvm guest is a clonezilla= =20 > server and send lots of data. > It began to crawl after 2/3 weeks of usage. Are you also using model=3Dvortio? If so, you might want to switch to e1000. Less performance but stable. The issues seems to be related to virtio/tap. And a little bit more to the tap itnerface/implementation, because of the reboot-observation. fabian