netdev
[Top] [All Lists]

Re: New net features for added performance

To: Werner Almesberger <Werner.Almesberger@xxxxxxx>
Subject: Re: New net features for added performance
From: Jes Sorensen <jes@xxxxxxxxxxxxx>
Date: 12 Mar 2001 16:08:47 +0100
Cc: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, Linux Knernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
In-reply-to: Werner Almesberger's message of "Sun, 25 Feb 2001 13:22:49 +0100"
References: <3A9842DC.B42ECD7A@xxxxxxxxxxxxxxxx> <20010225132249.J18271@xxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.4
>>>>> "Werner" == Werner Almesberger <Werner.Almesberger@xxxxxxx> 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

<Prev in Thread] Current Thread [Next in Thread>