kern_mbuf.c patch
Randall Stewart
rrs at cisco.com
Sun Jan 21 10:53:25 UTC 2007
Andrew Gallatin wrote:
> Randall Stewart writes:
> > nmbclusters = 1024 + maxusers * 64;
> > + nmbjumbop = 100 + (maxusers * 4);
>
> The limit on page-size jumbos seems far too small. Since the socket
> buffer code now uses page-sized jumbos, I'd expect to see its limit be
> the same as nmbclusters.
>
>
> Drew
>
Drew:
Let me re-visit this .. I started real small on purpose.. so
folks would complain ;-)
How about if I calculate the number of pages the
nmbclusters use (I will go look in the UMA structures) and
then make it so the limit is the same number of pages
(scaled like nmbclusters) for each of the larger clusters..
Does that sound about right... (for 4k it would mean you
would have 1/2 as many as 2k... roughly.. depending
on the o/h of the uma system of course.. need to go
look at this).
R
--
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)
More information about the freebsd-net
mailing list