3 ms·
I think this is usually because the host OS is caching the files that make up the VM disk image. So effectively, the VM is running from a ram disk. Intuition
by lsllc 6y ago
I think this is usually because the host OS is caching the files that make up the VM disk image. So effectively, the VM is running from a ram disk. Intuition says that you could probably configure caching/readahead on the bare-metal system to do the same with similar performance results.
- viraptor 6y agoWsl2 is winning on some CPU-bound tests though. For example page 2 has lots of CPU-only benchmarks. The caching didn't matter there.
- lsllc 6y agoFor Dolfyn where the WSL2 improvement was fractional better I'd say that was within the error bars. For LZ4 unless the test somehow accounts for that by preloading the data I'd put that down to host-OS caching.