[Bug 212128] emulators/virtualbox-ose: Default AIO settings break VirtualBox

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 28 19:46:56 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212128

--- Comment #2 from rkoberman at gmail.com ---
The use of large amounts of KVM by these AIO parameters is a concern tome and I
have been testing with more moderate values to see if these make VBox stable.

I have now reduced the two biggest changes to:
vfs.aio.max_aio_queue=8192
vfs.aio.max_aio_queue_per_proc=1024

So far, after two days of use, my guest system has remained stable.

I should also note that the maximum number of AIO processes is reduced from 32
to 8 which will tend to limit the KVM consumed substantially. I will also be
looking at the 10x increase in process lifetime. It is conceivable that this is
either critical to working around the problem or is unneeded. Those more
familiar with the inner workings of the AIO daemons might have a better idea
than I do.

I will continue to adjust parameters, but must do that slowly as it can take
some time before the problem pops up depending on disk load (whether from VBox
or other activity). I am testing on a older (5 yrs) laptop with an 2.5 GHz
Sandy Bridge i5 CPU and standard HGST disk 1TB disk, so disk I/O will not be
impressive.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list