Size a huge trace tree on corona with dust, not du or find
RecipeVerified 8 Oct 2026Holds project: dftracer-utils
Recipe. When to use it, the steps, and what showed that they work.
When to use#
You need the size and file count of a big trace tree (2.5T in 665k files) and must not write or delete anything.
Steps#
- Run
ssh corona 'cd <trace root>; dust -d 4 -n 25 <app dirs>'. dust is already on the PATH there. - Read the per-directory sizes, for example the nodes_N groups.
- Do not walk the tree with
duor afind | whileloop. The user rejecteddu -sh --apparent-sizethere as too slow.
Evidence#
dust finished the 2.5T laghos tree in under two minutes and showed the biggest nodes_N groups (about 137G compressed).
Also found by searching
- how big is a trace directory on corona
- du on laghos traces is too slow
- size and file count of genesis traces