* Posts by aar

1 publicly visible post • joined 21 Jun 2021

Windows 11: Meet the new OS, same as the old OS (or close enough)

aar

Not all is well

As a developer, Windows 10 still has one major defect. The simple operation of opening a file (CreateFile API) is excruciatingly slow. Even when all antivirus functionally is disabled, it is nowhere near Linux or BSD.

A concrete example: a large Java project takes about 25 minutes to compile on Windows. The same project takes about 3 minutes to compile on same machine on Linux that is running as a VirtualBox guest under Windows. The build all happens in a single process, the problem is not CreateProcess (which also would be slow).

The same problem was evident when Phoronix ran various benchmarks on Windows LInux subsystem (the first iteration). On many benchmarks the Linux-inside-Windows managed to be faster than real Linux. But any file activity, and Windows was several times slower.

Why do they not fix CreateFile?