Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 12 Mar 2001 10:10:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 12 Mar 2001 10:09:57 -0500 Received: from smtp1.cern.ch ([137.138.128.38]:517 "EHLO smtp1.cern.ch") by vger.kernel.org with ESMTP id ; Mon, 12 Mar 2001 10:09:45 -0500 To: Werner Almesberger Cc: Jeff Garzik , netdev@oss.sgi.com, Linux Knernel Mailing List Subject: Re: New net features for added performance In-Reply-To: <3A9842DC.B42ECD7A@mandrakesoft.com> <20010225132249.J18271@almesberger.net> From: Jes Sorensen Date: 12 Mar 2001 16:08:47 +0100 In-Reply-To: Werner Almesberger's message of "Sun, 25 Feb 2001 13:22:49 +0100" Message-ID: Lines: 19 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Werner" == Werner Almesberger writes: Werner> Jeff Garzik wrote: >> 3) Slabbier packet allocation. Werner> Hmm, this may actually be worse during bursts: if you burst Werner> exceeds the preallocated size, you have to perform more Werner> expensive/slower operations (e.g. running a tasklet) to refill Werner> your cache. You may want to look at how I did this in the acenic driver. If the water mark goes below a certain level I schedule the tasklet, if it gets below an urgent watermark I do the allocation in the interrupt handler itself. This is of course mainly useful for cards which give you deep queues. Jes - 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/