aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2018-05-12 17:11:34 +0000
committerKurt Jaeger <pi@FreeBSD.org>2018-05-12 17:11:34 +0000
commit582a4ebe614d10672868b4e65d421d4d92465d9c (patch)
treeb968eb092a65f83061cd767b3d3b4a7cd4c3cd9f /emulators/virtualbox-ose
parentc690af99b121cd5802e4036fb3f77f9cf5760f56 (diff)
downloadports-582a4ebe614d10672868b4e65d421d4d92465d9c.tar.gz
ports-582a4ebe614d10672868b4e65d421d4d92465d9c.zip
emulators/virtualbox-ose: add pkg-message about sysctl tuning with AIO
- New values for several sysctl vfs.aio.max* parameters are suggested PR: 168298 Submitted by: rozhuk.im@gmail.com Reported by: petefrench@ingresso.co.uk
Notes
Notes: svn path=/head/; revision=469742
Diffstat (limited to 'emulators/virtualbox-ose')
-rw-r--r--emulators/virtualbox-ose/pkg-message7
1 files changed, 7 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/pkg-message b/emulators/virtualbox-ose/pkg-message
index 8575976550e5..650c8c8c995f 100644
--- a/emulators/virtualbox-ose/pkg-message
+++ b/emulators/virtualbox-ose/pkg-message
@@ -52,6 +52,13 @@ NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
If you experience "Network: write Failed: Cannot allocate memory" errors
try to increase net.graph.maxdata in /boot/loader.conf
+If you are using AIO, then increase these limits (PR#168298):
+vfs.aio.max_buf_aio=8192
+vfs.aio.max_aio_queue_per_proc=65536
+vfs.aio.max_aio_per_proc=8192
+vfs.aio.max_aio_queue=65536
+To check if AIO is used use: kldstat -v | grep aio
+
Check wiki page for known issues and troubleshooting:
http://wiki.freebsd.org/VirtualBox