------- Comment From [email protected] 2017-10-17 07:09 EDT-------
FWIW, I checked on my system and the aio-nr only increases for disks with
io='native' (libvirt) or aio='native' (qemu command line)

QEMU does an io_setup of 128 events per disk. But with current kernels
this increases this by 2048 on my system.

Looks like we need

commit 2a8a98673c13cb2a61a6476153acf8344adfa992
Author:     Mauricio Faria de Oliveira <[email protected]>
AuthorDate: Wed Jul 5 10:53:16 2017 -0300
Commit:     Benjamin LaHaise <[email protected]>
CommitDate: Thu Sep 7 12:28:28 2017 -0400

fs: aio: fix the increment of aio-nr and counting against aio-max-nr

to fix the accounting.

This will still result in a limitation of 64k/128 = 512 disk for ALL guests if 
nothing else uses aio contexts.
Since aio context do not preallocate any ressources What about
- applying above fix
- increase to 128k to have enough capacity.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1717224

Title:
  virsh start of virtual guest domain fails with internal error due to
  low default aio-max-nr sysctl value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1717224/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to