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:28:49 -0400 Message-ID: <1182270529.4968.73.camel@localhost> References: <1181216629.4064.22.camel@localhost> <20070619132148.GA32078@2ka.mipt.ru> <20070619133333.GA19667@2ka.mipt.ru> <20070619140038.GA13629@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 wx-out-0506.google.com ([66.249.82.232]:7367 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751985AbXFSQ24 (ORCPT ); Tue, 19 Jun 2007 12:28:56 -0400 Received: by wx-out-0506.google.com with SMTP id t15so1881711wxc for ; Tue, 19 Jun 2007 09:28:55 -0700 (PDT) In-Reply-To: <20070619140038.GA13629@2ka.mipt.ru> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, 2007-19-06 at 18:00 +0400, Evgeniy Polyakov wrote: > pktgen reults are quite poor: > batch (changed from default script: count reduced, clone increased to 10k) > 241319pps 115Mb/sec > > mainline (the same script, on start it wrote about unsupported batch_low > parameter: > 497520pps 238Mb/sec What is your kernel config in regards to HRES timers? Robert mentioned to me that the clock source maybe causing issues with pktgen (maybe even qos). Robert, insights? In my case, I have: # CONFIG_TICK_ONESHOT is not set # CONFIG_NO_HZ is not set # CONFIG_HIGH_RES_TIMERS is not set I will try to turn on those in a few days and see if notice a difference. Again, thanks Evgeniy. cheers, jamal