[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
"A potential Snark may lurk in every tree."
Main Index |
Thread Index |