[PATCH] Add tracepoints to track pagecache transition

Frank Ch. Eigler fche@redhat.com
Thu Feb 5 08:03:00 GMT 2009


Atsushi Tsuji <a-tsuji@bk.jp.nec.com> writes:

> I thought it would be useful to trace pagecache behavior for problem
> analysis (performance bottlenecks, behavior differences between stable
> time and trouble time).

Interesting!  I hope it inspires more thinking about more places and
ways for graphical data visualization to apply.

> By using those tracepoints, we can describe and visualize pagecache
> transition (file-by-file basis) in kernel and pagecache consumes
> most of the memory in running system and pagecache hit rate and
> writeback behavior will influence system load and performance.

To what extent does your script work if it uses kprobes-based
kernel.function() probes?  (It can use "!" type probe point
decorations to automatically adapt to the preferred presence of the
tracepoints/markers.)

> I attached an example which is visualization of pagecache status
> using SystemTap. [...]

Would you consider sharing this script?


- FChE



More information about the Systemtap mailing list