MySQL slow importing on hyper-v virtual server compared to host
Turning on: &quot;Turn off Windows write-cache buffer&quot; solved the issue for me.
(no restart required for me)

Benchmark write speed, before and after the setting.
dd if=/dev/zero of=/tmp/test2.img bs=512 count=1000 oflag=dsync