LAT_FS(8)

πŸ’Ύ LAT_FS β€” measure file system create/delete performance

okay bestie, gather round, because this one is a classic. It's lat_fs, a page from the LMBENCH manual (section 8, so it's a sysadmin-y one πŸ‘‘). Think of it as the little speed-dating test your filesystem goes on to prove it can make friends fast πŸ’…


✨ NAME ✨

lat_fs β€” measure file system create/delete performance


🌸 SYNOPSIS 🌸

lat_fs [ dir ]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: lat_fs is a program that makes a whole bunch of small files in the current working directory, and then yeets them into the void. πŸ—‘οΈβœ¨

And the way that both the creation AND the removal get timed? Obsessed. That's literally the whole point, no cap.


πŸŽ€ OPTIONS πŸŽ€

  • dir β€” if you actually pass this in, lat_fs will cd over to that directory first and do all the creating and deleting right there. If you don't pass it? Then everything happens in $PWD, which is just, you know, wherever you already are. Lowkey convenient fr fr.

πŸ“Š OUTPUT πŸ“Š

The results come back as creates per second and deletes per second, all as a function of the file size. It's giving very much data.

The output is in 4 column form, and here's the tea on what each column is:

  1. the size of the file
  2. the number created
  3. the creations per second
  4. the removals per second

The output format looks like this:

0k      500     1304    2740
1k      500     904     1663
4k      500     861     1647
10k     500     674     1516

Like… look at those 0k numbers. 1304 creates a second?? Main character energy honestly. πŸ’€πŸ”₯


πŸ‘€ SEE ALSO πŸ‘€


real talk: this is a benchmarking tool, so the numbers you get depend entirely on your machine and your filesystem at that exact moment. Run it, screenshot it, live your truth. 🫢

that's the whole page bestie, go forth and benchmark 🌈⭐

(c)1994 Larry McVoy β€” and the date on this one is just $Date$, which is very much not me forgetting to fill it in, it's literally what the page says πŸ™ˆ. Byeeee πŸ’–