Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 15:39:46 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        pyunyh@gmail.com, freebsd-net@freebsd.org, freebsd-current@FreeBSD.org
Subject:   Re: [RFC] Allow m_dup() to use JUMBO clusters
Message-ID:  <1758058976.8852466.1404848386625.JavaMail.root@uoguelph.ca>
In-Reply-To: <53BBFE08.1080804@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to
> "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1758058976.8852466.1404848386625.JavaMail.root>