WSL vs WS1 Disk Performance
Testing Parameters
- Window 10 Host, build 2004
- FIO for Windows fio-3.18
- FIO for Ubuntu fio-3.16
Windows FIO Parameters
fio –name=random-write –ioengine=windowsaio –rw=randwrite –bs=64k –size=256m –numjobs=16 –iodepth=16 –runtime=60 –time_based –end_fsync=1
Linux FIO Parameters
fio –name=random-write –ioengine=posixaio –rw=randwrite –bs=64k –size=256m –numjobs=16 –iodepth=16 –runtime=60 –time_based –end_fsync=1
Test Results
Windows 10 Host FIO Performance
WRITE: bw=1001MiB/s (1050MB/s), 38.3MiB/s-233MiB/s (40.2MB/s-244MB/s), io=59.5GiB (63.9GB), run=60427-60858msec
WSL1 Ubuntu (Mounted Windows Filesystem)
WRITE: bw=894MiB/s (938MB/s), 39.3MiB/s-293MiB/s (41.2MB/s-307MB/s), io=53.6GiB (57.6GB), run=60383-61423msec
WSL1 Ubuntu (Native EXT4 Filesystem)
WRITE: bw=668MiB/s (700MB/s), 38.0MiB/s-48.4MiB/s (39.9MB/s-50.8MB/s), io=40.1GiB (43.0GB), run=60355-61427msec
WSL2 Ubuntu (Mounted Windows Filesystem)
WRITE: bw=23.5MiB/s (24.6MB/s), 23.5MiB/s-23.5MiB/s (24.6MB/s-24.6MB/s), io=1461MiB (1532MB), run=62297-62297msec
WSL2 Ubuntu (Native EXT4 Filesystem)
WRITE: bw=917MiB/s (961MB/s), 50.2MiB/s-113MiB/s (52.6MB/s-118MB/s), io=55.0GiB (60.1GB), run=61237-62549msec