Contigfree takes too much time that cuases PCIe driver unload to take up to 30 minutes

Steevan Rodrigues steevanxperia at gmail.com
Sat Oct 27 06:52:13 UTC 2018


Yes , it is contigfree that is taking too much time. ( Contigfree is taking
almost 5x to 10x more time than contigmalloc )
However, I see this issue only on a SuperMicro Server which has Xeon Gold
CPU with 10 cores ( dual CPU i.e total 20 cores).

So I am wondering whether FreeBSD has performance issues on mutlicore (
more than 16 cores) servers ?
Has anyone come across issues like this?

Thanks
Steevan




On Fri, Oct 5, 2018 at 11:31 PM Ryan Stone <rysto32 at gmail.com> wrote:

> I'm not sure why configfree() would be taking a long time, but
> configmalloc() can be extraordinarily expensive when it needs to
> defragment memory to meet the request.  Does your application really
> require a lot of physically contiguous memory?  if you can restructure
> to not require contigmalloc() all -- maybe by using S/G DMA -- you may
> find your life significantly easier.
>


More information about the freebsd-hackers mailing list