From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: RE: vhost-net patches Date: Tue, 03 Nov 2009 07:52:31 -0800 Message-ID: <1257263551.4943.8.camel@localhost.localdomain> References: <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> <20091028165302.GB29235@redhat.com> <1256753537.24155.3.camel@localhost.localdomain> <1256800293.16022.7.camel@localhost.localdomain> <20091102194630.GA29395@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: "Michael S. Tsirkin" , Sridhar Samudrala , Shirley Ma , David Stevens , "kvm@vger.kernel.org" , "sri@linux.vnet.ibm.com" , "mashirle@linux.vnet.ibm.com" To: "Xin, Xiaohui" Return-path: Received: from e6.ny.us.ibm.com ([32.97.182.146]:58970 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363AbZKCPwb (ORCPT ); Tue, 3 Nov 2009 10:52:31 -0500 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e6.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id nA3FvxKN017558 for ; Tue, 3 Nov 2009 10:57:59 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nA3FqZ2H1400974 for ; Tue, 3 Nov 2009 10:52:35 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nA3FqYfT024023 for ; Tue, 3 Nov 2009 10:52:35 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Hello Xiaohui, On Tue, 2009-11-03 at 09:06 +0800, Xin, Xiaohui wrote: > Hi, Michael, > What's your deferring skb allocation patch mentioned here, may you > elaborate it a little more detailed? That's my patch. It was submitted a few month ago. Here is the link to this RFC patch: http://www.mail-archive.com/kvm@vger.kernel.org/msg20777.html It is a patch for guest receiving. Right now, kvm guest did pre-skb allocation, the worse case when receiving large packet for mergable buffers, 15/16 skbs need to be freed. Avi and Michale gave me some comments. I will post the updated patch after running a few more test in a few days. Thanks Shirley