I don't see an improvement using io='threads' nor 'default', as I
previously tested it.

I didn't try the cache option as in general 'none' is the best choice,
but after trying with 'writethrough' I can tell it helps, by cutting
half of waiting time.

# cache='none'

$ time update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-62-generic
Found initrd image: /boot/initrd.img-4.4.0-62-generic
done

real    0m14.703s
user    0m0.280s
sys     0m0.300s

# cache=writethrough

$ time update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-62-generic
Found initrd image: /boot/initrd.img-4.4.0-62-generic
done

real    0m7.123s
user    0m0.376s
sys     0m0.304s

- Eric

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

Title:
  update-grub slow with raw LVM source dev + VirtIO bus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1666555/+subscriptions

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

Reply via email to