Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2007 05:52:45 -0500
From:      Randall Stewart <rrs@cisco.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: kern_mbuf.c patch
Message-ID:  <45B345FD.7080001@cisco.com>
In-Reply-To: <17841.6943.770698.707214@grasshopper.cs.duke.edu>
References:  <45B0D2E3.9050203@cisco.com> <17841.6943.770698.707214@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



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