Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2015 03:16:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 168298] VirtualBox using AIO on a zvol crashes
Message-ID:  <bug-168298-8-xat2UHFeuf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-168298-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-168298-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168298

rozhuk.im@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rozhuk.im@gmail.com

--- Comment #3 from rozhuk.im@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.



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