contigmalloc and contigfree issue

John-Mark Gurney jmg at funkthat.com
Wed Aug 12 19:00:11 UTC 2020


Julian Grajkowski wrote this message on Wed, Aug 12, 2020 at 08:24 +0200:
> Could someone please provide some explanation of discussed performance of
> contigmalloc and contigfree? Also, what could be the reason for improved
> performance of contigfree on 12.1? I still have not figured out what is the
> source of this behavior. Is performance of contigmalloc and contigfree a
> known issue? I have not found any info about this problem on the forum.

Why does the performance matter?

Drivers should be preallocating the memory like this, and either
reusing it, or using something like uma(9) to cache the allocations
if you need them to be quick.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-drivers mailing list