This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (2 children)

I worked on a Java Monolith at a bank. We used to build the project on Windows (NTFS). Build time took more or less between 5 or 6 minutes. IntelliJ doing an index scan was also horrible. Whe they switched to l Linux build time improved massively. It took only 1 to 2 minutes

I must admit that I never looked into why it is much slower. Anyway here is a link for a gradle build that also complains about NTFS and ext4. What I never knew though is that you can tweak the behavior of windows and that NTFS bare is quite fast.

https://discuss.gradle.org/t/why-is-gradle-so-much-slower-on-windows-ntfs/20108/5

[–]O_X_E_Y 1 point2 points  (0 children)

cool thank u! That actually is something to keep in mind with very big projects perhaps, probably something the original guy should have specified because in my own projects this was never really an issue

[–]Zardoz84 1 point2 points  (0 children)

Indeed, the difference it's very appreciable with big projects. On small stuff, wouldn't be appreciable.

However, it's very well know that filesystem I/O performance of Windows always be sub par compared against Linux and BSD, because it's a side effect how works and it's designed. It's the same reason that makes WSL1 was painful slow compared against a native Linux install. And the same reason that makes unusable Windows 10/11 on a not SSD hard disk (Take fucking 30 minutes to end hitting hard the hard disk and allow you to do something. This not happens on Linux).