DragonFly kernel List (threaded) for 2007-07
DragonFly BSD
DragonFly kernel List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 4mb PAGES for mbuf clusters


From: "km b" <kmb810@xxxxxxxxx>
Date: Sun, 15 Jul 2007 16:32:45 +1000

On 7/15/07, Matthew Dillon <dillon@apollo.backplane.com> wrote:
    Alan announced it a few months ago. I'm trying to find the reference.
    I'll bet you can search the freebsd mail archives to find it.

Thanks. Now I know who announced it. Maybe it'll make searching easier.


    Again, though, the issue is not so much implementing the large
    pages but implementing mechanisms that prevent fragmentation from
    making it impossible to construct physically contiguous pages that
    are that large.

To avoid memory fragmentation what I am thinking is that at system startup reserve two memory pools for mbufs and use just one of them. When it becomes fragmented (upto 80% or user configurable), switch to the next one and recover the fragmented memory. However, this may not be a general solution but at least it may work for specific workloads.

Cheers
kmb

--
Something is wrong up on cloud # 9!


-- Something is wrong up on cloud # 9!



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]