Investigating OpenZFS performance

PSA–an article I wrote for Klara Systems published this week:

Want to get a more detailed look at how your OpenZFS storage is performing? Learn how to use the tools iostat, zpool iostat, iostat, and ztop in this article I wrote for Klara Systems!

6 Likes

Great article Jim. Definitely learned some new things.

1 Like

FWIW I managed to export zpool iostat histograms to prometheus, and I found it quite useful. I haven’t found it in libzfs though, so I just parsed command line output, which seems going against prometheus guidelines, but works so far.

1 Like

I’d love to see some screenshots of it in action!

On FreeBSD I’ve been tinkering with gstat derivative reimplemented in rust called gstat-rs.
Added more color, altered the column spacing, changed the headers to something more legible (to me), and I’ve assigned gpt/partition labels to my pool members so I know which drive is which:

I can’t even spell “rust” so messing around with this was a handful.

Also threw some color into arcstat.py.
I need to re-apply these mods to the current version in OpenZFS master as this is missing the zfetch stuff:

Tried cmdwatch with zpool iostat and couldn’t <ctrl-c> out of it! Probably should try again with PuTTY…

Like this one, showing disk latency histogram quantile 90%.