On Friday 27 June 2008 10:43:29 Roman Divacky wrote: > hi > > I have two questions: > > 1) is kmem_alloc_wait() expensive operation? I believe it's not > very cheap looking at the code but I want confirmation > > 2) is there a support for memory pools in FreeBSD? > > to give you a little background why I am asking this. In NetBSD Andrew > Doran claims that replacing allocation from a memory submap with an > allocation from a memory pool for exec*() args he can speedup exec*() > by ~25%
I think what is called a "memory pool" in NetBSD refers to their pool(9) API. This is more or less the same as our uma(9). Whether or not this is what you are looking for - I don't know. > I wonder if this applies to FreeBSD too so I am investigating it a > little. -- /"\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"