Re: Much improved sosend_*() functions

From: Jack Vogel <jfvogel_at_gmail.com>
Date: Fri, 29 Sep 2006 15:54:35 -0700
On 9/29/06, Andrew Gallatin <gallatin_at_cs.duke.edu> wrote:
>
> Andre Oppermann writes:
>  > Andrew Gallatin wrote:
>  > > Andre,
>  > >
>  > > I meant to ask: Did you try 16KB jumbos?  Did they perform
>  > > any better than page-sized jumbos?
>  >
>  > No, I didn't try 16K jumbos.  The problem with anything larger than
>  > page size is that it may look contigous in kernel memory but isn't
>  > in physical memory.  Thus you need the same number of descriptors
>  > for the network card as with page sized (4K) clusters.
>
> But it would allow you to do one copyin, rather than 4.   I
> don't know how much this would help, but it might be worth
> looking at.

There is another limitation, due to hardware FIFO size, TSO must
never have more than 4K per descriptor. But as Andrew says, that
needn't limit you up above, it will just get parceled up in the driver.

Jack
Received on Fri Sep 29 2006 - 20:54:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC