tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Too small mbuf clusters
On Fri, Sep 25, 2020 at 11:26:32AM +0200, Martin Husemann wrote:
> > MCLBYTES < MINCLSIZE doesn't work.
>
> Not trying to do that. What I mean is: allocate a full cluster even if
> the data is < MINCLSIZE. I know this wastes some space, and it would
> be used in a special case only that is in the process of being reworked
> better anyway (so I do not want to waste too much cycles right now).
You can always allocate a cluster instead of a regular mbuf, it's just
more likely that you run out of clusters than out of regular mbufs.
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index