Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932076AbXHXVfa (ORCPT ); Fri, 24 Aug 2007 17:35:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756678AbXHXVfT (ORCPT ); Fri, 24 Aug 2007 17:35:19 -0400 Received: from e6.ny.us.ibm.com ([32.97.182.146]:45585 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753602AbXHXVfQ (ORCPT ); Fri, 24 Aug 2007 17:35:16 -0400 Date: Fri, 24 Aug 2007 16:35:14 -0500 To: Jan-Bernd Themann Cc: Bodo Eggert <7eggert@gmx.de>, netdev , Thomas Klein , Jan-Bernd Themann , linux-kernel , linux-ppc , Christoph Raisch , Marcus Eder , Stefan Roscher Subject: Re: RFC: issues concerning the next NAPI interface Message-ID: <20070824213514.GL4282@austin.ibm.com> References: <8VHRR-45R-17@gated-at.bofh.it> <8VKwj-8ke-27@gated-at.bofh.it> <20070824204243.GI4282@austin.ibm.com> <46CF499C.60009@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46CF499C.60009@de.ibm.com> User-Agent: Mutt/1.5.11 From: linas@austin.ibm.com (Linas Vepstas) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 27 On Fri, Aug 24, 2007 at 11:11:56PM +0200, Jan-Bernd Themann wrote: > (when they are available for > POWER in our case). hrtimer worked fine on the powerpc cell arch last summer. I assume they work on p5 and p6 too, no ?? > I tried to implement something with "normal" timers, but the result > was everything but great. The timers seem to be far too slow. > I'm not sure if it helps to increase it from 1000HZ to 2500HZ > or more. Heh. Do the math. Even on 1gigabit cards, that's not enough: (1gigabit/sec) x (byte/8 bits) x (packet/1500bytes) x (sec/1000 jiffy) is 83 packets a jiffy (for big packets, even more for small packets, and more again for 10 gigabit cards). So polling once per jiffy is a latency disaster. --linas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/