RichardD30
Member
We run macos arm `.macvm` bundles on a cluster of ec2 `mac2.metal` instances. We've noticed Parallels macvms have incredibly slow disk read/write on these hosts. This is causing items like automated xcode installations to take over 45 minutes.
No matter what configuration we try, we get disk write about this speed:
```
write=$(dd if=/dev/zero bs=2048k of=tstfile count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }')
echo $write
32.686 MB/sec
```
```
time sh -c "dd if=/dev/zero of=test.tmp bs=4k count=524288 && sync"
524288+0 records in
524288+0 records out
2147483648 bytes transferred in 53.625618 secs (40045854 bytes/sec)
```
We've tried items like creating an empty sparse disk image using this guide which results in same performance, moving where we store/run vms, etc. Nothing seems to help at all.
No matter what configuration we try, we get disk write about this speed:
```
write=$(dd if=/dev/zero bs=2048k of=tstfile count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }')
echo $write
32.686 MB/sec
```
```
time sh -c "dd if=/dev/zero of=test.tmp bs=4k count=524288 && sync"
524288+0 records in
524288+0 records out
2147483648 bytes transferred in 53.625618 secs (40045854 bytes/sec)
```
We've tried items like creating an empty sparse disk image using this guide which results in same performance, moving where we store/run vms, etc. Nothing seems to help at all.