| 1 |
title: Measure the distribution of file system synchronous read and write latency (non-debuginfo) |
| 2 |
name: fslatency-nd.stp |
| 3 |
author: Brendan Gregg |
| 4 |
keywords: io filesystem |
| 5 |
description: This dynamically traces two common file system functions: do_sync_read() and do_sync_write(), and reports a histogram distribution of latency. Many, but not all, file systems and workloads use these functions. Tracing their time provides one view of suffered file system latency. |
| 6 |
scope: system-wide |
| 7 |
usage: ./fslatency-nd.stp [interval [count]] |
| 8 |
arg_1: Output interval (seconds) |
| 9 |
arg_2: Output count |
| 10 |
test_check: stap -p4 fslatency-nd.stp |
| 11 |
test_installcheck: stap fslatency-nd.stp 1 1 |