[vfio-users] problem with hugepages and sound

Alex Williamson alex.l.williamson at gmail.com
Thu Nov 5 02:49:25 UTC 2015


On Wed, Nov 4, 2015 at 6:11 PM, Okky Hendriansyah <okky at nostratech.com>
wrote:

> Have you tried allocating and mounting the hugepages early at boot? As far
> as I know, hugepages would be more beneficial if it has contiguous space
> and we can guarantee it if it is allocated as early as possible. I think
> there’re 2 ways to do that:
>

I don't buy that hugepages allocated at boot perform any different than
hugepages allocated dynamically.

> I also tried to use transparent hugepages (transparent_hugepages=always)
> since sometimes I need to launch a VirtualBox image for my work so I need
> as much free memory as possible. The Windows 10 VM was quite stable using
> it. Though Alex explicitely did not recommend using transparent hugepages
> for GPU passthrough VM, so I revert back to using traditional hugepages.
>
Device assignment pins memory before transparent hugepages has a chance to
do any sort of coalescing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151104/473e1983/attachment.htm>


More information about the vfio-users mailing list