Opened 7 years ago
Last modified 6 years ago
#17746 new defect
Slow I/O when "Use Host I/O Cache" is switched on
Reported by: | Georgi | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.2.10 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
I installed VirtualBox 5.2 and when I/O cache is switched on, I/O is very slow.
Steps to reproduce:
- Create a virtual machine with Debian or Ubuntu
- Switch "Use Host I/O Cache" on, on SATA controller.
- Try to upgrade existing packages or install new in the virtial machine. I have spinning disks on my host computer and they become noisy and IO speed is between 900KB/s and 1.3 MB/s during installation or upgrade of packages. I had no such problem with VirtualBox 5.1.
Change History (3)
comment:3 by , 6 years ago
https://www.virtualbox.org/ticket/17573
Although your ticket name is more accurate.
Note:
See TracTickets
for help on using tickets.
I also noticed this issue with Virtualbox 5.2.14. I have a couple of CentOS servers running on Virtualbox inside a Windows 10 host for testing purposes. I use a script to automatically configure them all. The configuration can be pretty disk intensive on the computer. In Virtualbox 5.1.38, the script takes about 4 minutes to complete. With Virtualbox 5.2.14, it takes 12 minutes. This seems like a major performance regression in Virtualbox 5.2. I also have "Use Host I/O Cache" switched on. Even if I turn off this setting, the VMs are still slower than when I was running on 5.1.38 without "Use Host I/O Cache". I am guessing that this regression is caused by the "first milestone of the I/O stack redesign" that was introduced in 5.2.0.