From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamal Subject: Re: [WIP][PATCHES] Network xmit batching Date: Tue, 19 Jun 2007 12:32:48 -0400 Message-ID: <1182270768.4968.78.camel@localhost> References: <1181216629.4064.22.camel@localhost> <20070619132148.GA32078@2ka.mipt.ru> <20070619133333.GA19667@2ka.mipt.ru> <20070619140038.GA13629@2ka.mipt.ru> <20070619140944.GA26241@2ka.mipt.ru> Reply-To: hadi@cyberus.ca Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Krishna Kumar2 , Gagan Arneja , netdev@vger.kernel.org, Rick Jones , Sridhar Samudrala , David Miller , Robert Olsson To: Evgeniy Polyakov Return-path: Received: from wr-out-0506.google.com ([64.233.184.229]:11709 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759007AbXFSQcw (ORCPT ); Tue, 19 Jun 2007 12:32:52 -0400 Received: by wr-out-0506.google.com with SMTP id 76so1344181wra for ; Tue, 19 Jun 2007 09:32:52 -0700 (PDT) In-Reply-To: <20070619140944.GA26241@2ka.mipt.ru> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, 2007-19-06 at 18:09 +0400, Evgeniy Polyakov wrote: > On Tue, Jun 19, 2007 at 06:00:39PM +0400, Evgeniy Polyakov (johnpol@2ka.mipt.ru) wrote: > > > > pktgen reults are quite poor: > > batch (changed from default script: count reduced, clone increased to 10k) > > 241319pps 115Mb/sec BTW, dont turn on the cloning - leave it as 1 so we can have every packet alloced so as to have worst case scenario. > > mainline (the same script, on start it wrote about unsupported batch_low > > parameter: > > 497520pps 238Mb/sec > > > And here is with batch_low=400: I am going to get rid of that batch param - it doesnt seem to matter what that value is in the long run. > Result: OK: T4143884(U4143864+I20+A4007752+T127073) usec, P1000000 TE8511TS1(B60,-1frags) So on average you have been sending about 120 packets per batch - which should give you decent numbers. Lets see how Robert responds and if you have time, turn off the kernel configs like i did. cheers, jamal