Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2018 14:00:59 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        steevanxperia@gmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Contigfree takes too much time that cuases PCIe driver unload to take up to 30 minutes
Message-ID:  <CAFMmRNw7g8pPCYwJmh0yjHnm2XKRgb1d4dPDuPf6gFwnOyZxeQ@mail.gmail.com>
In-Reply-To: <CAKsGTHQs49k8iRSO=pJyo-01q-CVBgAXd1pfopH52FSpNqj9oQ@mail.gmail.com>
References:  <CAKsGTHS_KRFBX5qzXe3QcBKavf0GNk0iyOWYjqpi_6dTE_NwCA@mail.gmail.com> <CAKsGTHQs49k8iRSO=pJyo-01q-CVBgAXd1pfopH52FSpNqj9oQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNw7g8pPCYwJmh0yjHnm2XKRgb1d4dPDuPf6gFwnOyZxeQ>