Re: [RFC] Allow m_dup() to use JUMBO clusters

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Tue, 8 Jul 2014 15:39:46 -0400 (EDT)
Hans Petter Selasky wrote:
> >
> > Hi,
> >
> > Would it be better if my patch used the PAGE_SIZE clusters instead
> > of
> > the 16K ones? Then it should not be affected by memory
> > defragmentation.
> > Thanks for shedding some light into this area?
> >
Well, I ran into the threads stuck on "btalloc" when I used PAGE_SIZE
clusters mixed with MCLBYTES clusters and from what I could figure, it
was a kernel address space fragmentation issue.

I would guess that PAGE_SIZE clusters aren't as bad as 16K clusters w.r.t.
fragmentation, but I believe that they could still be an issue. (My testing
was on a 256Mbyte i386, so I can't say if amd64 systems will have a problem,
just that small 32bit arches will.)

rick

> > --HPS
> >
> 
> Hi,
> 
> Updated patch attached.
> 
> --HPS
> 
> _______________________________________________
> freebsd-net_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to
> "freebsd-net-unsubscribe_at_freebsd.org"
Received on Tue Jul 08 2014 - 17:39:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC