| 1 |
title: Trace slow file system synchronous reads and writes (non-debuginfo) |
| 2 |
name: fsslower-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 shows details of each call that is slower than a threshold. 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: ./fsslower-nd.stp [min_ms] |
| 8 |
arg_1: Minimum millisecond threshold |
| 9 |
test_check: stap -p4 fsslower-nd.stp |
| 10 |
test_installcheck: stap fsslower-nd.stp -T 1 |