News for hackers. Stuff that matters.
Re:Why did Windows 95 setup use three operating systems? by akx on Monday November 18, 2024 @08:41AM (#42172197)
No filesystem is great in the lots-of-small-files case, partly simply due to syscall overhead.

There's a reason https://www.sqlite.org/fasterthanfs.html , SquashFS, etc. are a thing, or why even Europe's fastestest supercomputer's admins admonish against lots of small files. https://docs.lumi-supercomputer.eu/storage/#about-the-number...

Re:Why did Windows 95 setup use three operating systems? by whoknw on Monday November 18, 2024 @11:25AM (#42173942)
The reason LUMI is advising against many files is that it uses the Lustre parallel filesystem, which is notoriously bad with small files. See here: https://www.lanl.gov/projects/national-security-education-ce... .
Re:Why did Windows 95 setup use three operating systems? by red_admiral on Monday November 18, 2024 @08:48AM (#42172253)
I guess that's where the "sqlite competes with fopen" part might help.
Re:Why did Windows 95 setup use three operating systems? by mech422 on Monday November 18, 2024 @03:16PM (#42176439)
That used to be ReiserFS's claim to fame - tail packing small files. Doesn't seem like any FS has really optimized small file handling since then.
Re:Why did Windows 95 setup use three operating systems? by PaulHoule on Monday November 18, 2024 @04:52PM (#42177502)
It is not so much the wasted space that bugs me as all the metadata and processing of that metadata.

For instance, the 70,000 files in your node_modules do not need separate owner and group fields (they all belong to the same user under normal conditions) and are all +rw for the files and +rwx for the directories. If you have access to one you have access to all and if your OS is access checking each file you are paying in terms of battery life, time, etc.

On Windows it is the same story except the access control system is much more complex and is slower. (I hope that Linux is not wasting a lot of time processing the POSIX ACLs you aren’t using!)

Re:Why did Windows 95 setup use three operating systems? by account42 on Tuesday November 19, 2024 @04:35AM (#42181557)
SquashFS is a (read only) filesystem designed for small files.

Which shows that even if you don't want to call any filesystem great here, they differ vastly in just how bad they handle small files. Windows' filesystems (and more importantly it's virtual filesystem layer including filters) are on the extremely slow end of this spectrum.