Several things have happened between the time my ubuntu linux guest disk performance was acceptable, to now, when it is absolutely horrible. Among those things was an upgrade to Mac OS X 11.6.6.
It appears that the slowness is upon the first access to particular filesystem areas. Subsequent accesses are fast. This leads me to believe either block-level or filesystem-level caches are working. My root filesystem is on /dev/mapper. Nothing about that has changed.
As you can see below, reading 100k 1024 blocks initially is at 468kB/s and subsequent read of the same blocks is 855Mb/s.
$ sudo time dd bs=1024 if=/dev/sda of=/dev/null count=100000 skip=100000
100000+0 records in
100000+0 records out
102400000 bytes (102 MB, 98 MiB) copied, 219.034 s, 468 kB/s
0.17user 0.20system 3:39.03elapsed 0%CPU (0avgtext+0avgdata 2184maxresident)k
199936inputs+0outputs (0major+95minor)pagefaults 0swaps
$ sudo time dd bs=1024 if=/dev/sda of=/dev/null count=100000 skip=100000
100000+0 records in
100000+0 records out
102400000 bytes (102 MB, 98 MiB) copied, 0.119797 s, 855 MB/s
0.05user 0.06system 0:00.12elapsed 99%CPU (0avgtext+0avgdata 2072maxresident)k
0inputs+0outputs (0major+94minor)pagefaults 0swaps
dd on the host OS, of the underlying img disk file, is fast; so I doubt hardware problems on the host.
I'm not sure where to start, but I'm going to try running some speed tests and/or run some hardware diagnostics on the host.
However, I wanted to see if anyone is experiencing anything similar using VBOX Linux guests on 10.6.6.
AHCI SATA virtual controller on flat-file 40G disk image.
Linux ubuntu 5.13.0-35-generic #40-Ubuntu SMP Mon Mar 7 08:03:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
A.