Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 15:54:35 -0700
From:      "Jack Vogel" <jfvogel@gmail.com>
To:        "Andrew Gallatin" <gallatin@cs.duke.edu>
Cc:        freebsd-net@freebsd.org, freebsd-current@freebsd.org, Andre Oppermann <andre@freebsd.org>
Subject:   Re: Much improved sosend_*() functions
Message-ID:  <2a41acea0609291554g528f83d1ofaf35f7a4ea5ac28@mail.gmail.com>
In-Reply-To: <17693.41475.778558.381395@grasshopper.cs.duke.edu>
References:  <451C4850.5030302@freebsd.org> <Pine.BSF.4.58.0609281928020.20971@niwun.pair.com> <451D884F.1030807@cisco.com> <20060929213722.GR80527@funkthat.com> <451D9440.6060105@cisco.com> <17693.39106.950631.742167@grasshopper.cs.duke.edu> <451D9E59.9050000@freebsd.org> <17693.41475.778558.381395@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/29/06, Andrew Gallatin <gallatin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a41acea0609291554g528f83d1ofaf35f7a4ea5ac28>