From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CCmXw-0003f1-Qu for qemu-devel@nongnu.org; Wed, 29 Sep 2004 18:03:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCmXw-0003eZ-4T for qemu-devel@nongnu.org; Wed, 29 Sep 2004 18:03:36 -0400 Received: from [129.104.30.34] (helo=a.mx.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CCmRM-0007KV-Kf for qemu-devel@nongnu.org; Wed, 29 Sep 2004 17:56:48 -0400 Received: from localhost (localhost [127.0.0.1]) by djali.polytechnique.org (Postfix) with ESMTP id 33C353337A for ; Wed, 29 Sep 2004 23:56:49 +0200 (CEST) Received: from djali.polytechnique.org ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13666-10 for ; Wed, 29 Sep 2004 23:56:49 +0200 (CEST) Received: from bellard.org (nas-cbv-6-213-228-29-36.dial.proxad.net [213.228.29.36]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id 09E623335C for ; Wed, 29 Sep 2004 23:56:48 +0200 (CEST) Message-ID: <415B2FCD.1020103@bellard.org> Date: Wed, 29 Sep 2004 23:57:33 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Network Issue with NE2k-PCI (fix?) References: <20040923001951.GA21261@wormley.com> In-Reply-To: <20040923001951.GA21261@wormley.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Applied. Fabrice. Steve Wormley wrote: > I was having serious performance issues with Win2000 Guest and the NE2k in > qemu, things like pings of up to 16000ms lost packets, etc. I chased down > the problem and it appears that the following fix resolved the issue on my > system. > > Now pings are: > > 151 packets transmitted, 151 packets received, 0% packet loss > round-trip min/avg/max = 2.207/17.174/195.239 ms > > > --- qemu/hw/i8259.c Sun Jun 20 05:58:36 2004 > +++ qemu-sw/hw/i8259.c Wed Sep 22 10:49:17 2004 > @@ -188,7 +196,11 @@ > } else { > s->isr |= (1 << irq); > } > + /* We don't clear a level sensitive interrupt here */ > + if (!(s->elcr & (1 << irq))) { > s->irr &= ~(1 << irq); > + }; > + > } > > int cpu_get_pic_interrupt(CPUState *env) > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > >