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_fswillcdover 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:
- the size of the file
- the number created
- the creations per second
- 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 π
π¦ where this page comes from
- debian bookworm: lmbench 3.0-a9+debian.1-6
- debian trixie: lmbench 3.0-a9+debian.1-9
- ubuntu jammy: lmbench 3.0-a9+debian.1-6
- ubuntu noble: lmbench 3.0-a9+debian.1-6build3
- ubuntu questing: lmbench 3.0-a9+debian.1-9
- ubuntu resolute: lmbench 3.0-a9+debian.1-10
- ubuntu stonking: lmbench 3.0-a9+debian.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms