Re: fdesc allocation optimization

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 08/22/05

  • Next message: Alexey Dokuchaev: "Re: fdesc allocation optimization"
    To: Andre Oppermann <andre@freebsd.org>
    Date: Mon, 22 Aug 2005 12:58:59 +0200
    
    

    In message <4309AE1E.8FCC9E1E@freebsd.org>, Andre Oppermann writes:
    >Alexey Dokuchaev wrote:
    >>
    >> hi there,
    >>
    >> i've been browsing some of dfbsd resources recently, and found this one
    >> being pretty interesting:
    >>
    >> http://leaf.dragonflybsd.org/mailarchive/commits/2005-06/msg00526.html
    >>
    >> however, it seemingly did not get attention in our lists. so i am
    >> wondering if there are work/plans on porting hsu@'s work? i remember
    >> that at some point we adopted some openbsd-derived algorithm, but since
    >> matt states that this is "far better algorithm then anything we or
    >> freebsd thought up before", i figured it worth a look.
    >
    >Looks certainly good. Why don't you go ahead and port it over?

    It might be worth trying the alloc_unr() code first, it allocates in
    O(1) time but takes the hit when freeing.

    -- 
    Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
    phk@FreeBSD.ORG         | TCP/IP since RFC 956
    FreeBSD committer       | BSD since 4.3-tahoe    
    Never attribute to malice what can adequately be explained by incompetence.
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Alexey Dokuchaev: "Re: fdesc allocation optimization"

    Relevant Pages