HomeFreeBSD

Add ZIL statistics.

Description

Add ZIL statistics.

The performance of the ZIL is usually the main bottleneck when dealing with
synchronous, write-heavy workloads (e.g. databases). Understanding the
behavior of the ZIL is required to diagnose performance issues for these
workloads, and to tune ZIL parameters (like zil_slog_limit) accordingly.

This commit adds a new kstat page dedicated to the ZIL with some counters
which, hopefully, scheds some light into what the ZIL is doing, and how it is
doing it.

Currently, these statistics are available in /proc/spl/kstat/zfs/zil.
A description of the fields can be found in zil.h.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #786

Details

Provenance
Etienne Dechamps <etienne.dechamps@ovh.net>Authored on Jun 15 2012, 2:22 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 29 2012, 4:56 PM
Parents
rG7164d092210f: ZFS 0.6.0-rc9
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb6ad9671acdd: Add ZIL statistics. (authored by Etienne Dechamps <etienne.dechamps@ovh.net>).Jun 29 2012, 4:56 PM