From mboxrd@z Thu Jan 1 00:00:00 1970 From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 04 Feb 2009 19:48:51 -0500 Subject: [ltt-dev] [PATCH] Add tracepoints to track pagecache transition In-Reply-To: <4987DF60.9030504@bk.jp.nec.com> (Atsushi Tsuji's message of "Tue, 03 Feb 2009 15:08:32 +0900") References: <4987DF60.9030504@bk.jp.nec.com> Message-ID: Atsushi Tsuji 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