Skip to content

Instantly share code, notes, and snippets.

@skreuzer
Last active July 22, 2019 00:39
Show Gist options
  • Save skreuzer/ca3fc291e84416759024276abfbcf3af to your computer and use it in GitHub Desktop.
Save skreuzer/ca3fc291e84416759024276abfbcf3af to your computer and use it in GitHub Desktop.
XFS Stats
extent_alloc 44 3145360 36 1238158
abt 0 0 0 0
blk_map 29405 1058 16 24 16 30580 0
bmbt 0 0 0 0
dir 10001 1398 1398 62
trans 0 11540 0
ig 1405 62 0 1343 0 1340 1397
log 39 1732 2 20 8
push_ail 22541 0 3615 16 0 219 0 0 0 10
xstrat 8 0
rw 1024 163841
attr 4 1398 1397 0
icluster 3 2 58
vnodes 3 0 0 0 1401 1401 1401 0
buf 36243 91 36169 0 0 74 0 192 18
abtb2 88 149 11 9 0 0 0 0 0 0 0 0 0 0 23
abtc2 164 246 83 81 0 0 0 0 0 0 0 0 0 0 140
bmbt2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ibt2 5376 15475 20 20 0 0 0 0 0 0 0 0 0 0 81
fibt2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
qm 0 0 0 2 7 0 2 2
xpc 12882673664 10737418240 10737418240
debug 0

xfs.transactions.sync This is the number of meta-data transactions which waited to be committed to the on-disk log before allowing the process performing the transaction to continue. These transactions are slower and more expensive than asynchronous transactions, because they force the in memory log buffers to be forced to disk more often and they wait for the completion of the log buffer writes.

xfs.transactions.async This is the number of meta-data transactions which did not wait to be committed to the on-disk log before allowing the process performing the transaction to continue. These transactions are faster and more efficient than synchronous transactions, because they commit their data to the in memory log buffers without forcing those buffers to be written to disk. This allows multiple asynchronous transactions to be committed to disk in a single log buffer write. Most transactions used in XFS file systems are asynchronous.

_xfs.transactions.empty- This is the number of meta-data transactions which did not actually change anything. These are transactions which were started for some purpose, but in the end it turned out that no change was necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment