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

看板FB_current作者時間11年前 (2014/07/09 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/6 (看更多)
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" _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Jl4t_t1 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Jl4t_t1 (FB_current)