Remix.run Logo
themeiguoren 9 hours ago

I can’t find any benchmarks on this, anyone have a sense of the speedup that can be expected here?

And for what it’s worth, that version isn’t available yet when I try to update WSL.

8 hours ago | parent | next [-]
[deleted]
tonymet 7 hours ago | parent | prev | next [-]

more or less this is what I ran to benchmark

https://gist.github.com/tonymet/ec7fc4af0eb11c9d5af22c76d056...

tonymet 7 hours ago | parent | prev | next [-]

wsl version 2.7.7 seemed to work with the listed config + reboot

tonymet 7 hours ago | parent | prev [-]

a test compile of hugo (moderate go app) on a AMD Ryzen 7 7735HS with SSD

WSL filesystem = 50s

virtiofs = 75s

it seems a lot faster. I don't use drvfs (windows files) usually. 50% performance gap is good.

And MS Defender kicked in beforehand losing about 10 seconds. with some config you could turn off defender and get this down to 60s

cheema33 5 hours ago | parent [-]

> WSL filesystem = 50s > virtiofs = 75s

> 50% performance gap is good.

I am somewhat confused by this. How much time did the default DrvFs take? Or did you mean DrvFs when wrote virtiofs?

tonymet 2 hours ago | parent | next [-]

I didn’t test plan9 because I don’t use it

tonymet 2 hours ago | parent | prev [-]

Devfs = virtiofs(for this test ) . Drvfs is the param given to mount , which chooses virtiofs or 9p (plan9/ /slow)

The results above are wsl vhd vs virtiofs, the new file system for accessing windows files . Plan9 /9p is the old one , not tested .