From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: Re: [PATCH] virtio: Avoid virtio_net TX queue over run Date: Thu, 17 Mar 2011 11:49:18 -0700 Message-ID: <1300387758.3255.56.camel@localhost.localdomain> References: <1300320595.3255.29.camel@localhost.localdomain> <20110317050538.GD32049@redhat.com> <1300380626.3255.53.camel@localhost.localdomain> <1300381096.6315.315.camel@edumazet-laptop> <1300381265.3255.54.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "Michael S. Tsirkin" , Rusty Russell , David Miller , kvm@vger.kernel.org, netdev@vger.kernel.org To: Eric Dumazet Return-path: Received: from e6.ny.us.ibm.com ([32.97.182.146]:36146 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754962Ab1CQSu2 (ORCPT ); Thu, 17 Mar 2011 14:50:28 -0400 In-Reply-To: <1300381265.3255.54.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2011-03-17 at 10:01 -0700, Shirley Ma wrote: > On Thu, 2011-03-17 at 17:58 +0100, Eric Dumazet wrote: > > Could you run your tests with only one cpu ? > > (offline all cpus but cpu0 on your hypervisor) > > > > Dropping packets is fine, unless consumer cant run ;) > > Sure, will report the data soon. With a single CPU, before/after with this patch the performance has no difference for both UDP and TCP, and it seems hitting TX overrun, CPU is 100% used. Thanks Shirley