From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: vhost-net patches Date: Wed, 28 Oct 2009 18:53:02 +0200 Message-ID: <20091028165302.GB29235@redhat.com> References: <1256310765.4443.4.camel@localhost.localdomain> <1256315020.4443.12.camel@localhost.localdomain> <20091026200513.GA26623@redhat.com> <1256592889.10142.8.camel@localhost.localdomain> <20091027064302.GB26914@redhat.com> <1256654819.4753.6.camel@localhost.localdomain> <20091027152753.GA4622@redhat.com> <1256661378.6745.2.camel@localhost.localdomain> <20091028153859.GA28926@redhat.com> <1256748337.6433.11.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sridhar Samudrala , Shirley Ma , David Stevens , kvm@vger.kernel.org, sri@linux.vnet.ibm.com, mashirle@linux.vnet.ibm.com To: Shirley Ma Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17337 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737AbZJ1QzY (ORCPT ); Wed, 28 Oct 2009 12:55:24 -0400 Content-Disposition: inline In-Reply-To: <1256748337.6433.11.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Oct 28, 2009 at 09:45:37AM -0700, Shirley Ma wrote: > Hello Michael, > > On Wed, 2009-10-28 at 17:39 +0200, Michael S. Tsirkin wrote: > > Here's another hack to try. It will break raw sockets, > > but just as a test: > > This patch looks better than previous one for guest to host TCP_STREAM > performance. The transmission queue full still exists, but TCP_STREAM > results is 43xxMb/s (userspace is about 3500Mb/s). When I increase the > transmission queue size to 1K, > The performance burst up to 53xxMb/s. But > some runs I still hit several transmission queue full in 60 secs run > even with 1K queue size. what exactly do you mean by transmission queue size? tx_queue_len? I think what should help with transmission queue full is actually sndbuf parameter for tap in qemu. > > Thanks > Shirley