[Bug 168298] VirtualBox using AIO on a zvol crashes
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 14 03:16:22 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168298
rozhuk.im at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rozhuk.im at gmail.com
--- Comment #3 from rozhuk.im at gmail.com ---
To fix tune AIO.
Add to /etc/sysctl.conf
# AIO: Async IO management
vfs.aio.target_aio_procs=4 # Preferred number of ready kernel threads
for async IO
vfs.aio.max_aio_procs=4 # Maximum number of kernel threads to use
for handling async IO
vfs.aio.aiod_lifetime=30000 # Maximum lifetime for idle aiod
vfs.aio.aiod_timeout=10000 # Timeout value for synchronous aio
operations
vfs.aio.max_aio_queue=65536 # Maximum number of aio requests to queue,
globally
vfs.aio.max_aio_queue_per_proc=65536 # Maximum queued aio requests per
process (stored in the process)
vfs.aio.max_aio_per_proc=8192 # Maximum active aio requests per process
(stored in the process)
vfs.aio.max_buf_aio=8192 # Maximum buf aio requests per process (stored
in the process)
default values:
vfs.aio.max_aio_queue: 1024
vfs.aio.max_aio_queue_per_proc: 256
to small, and some times queue in vbox > 256 and then vbox fail
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list