[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
VM reference trace
- To: Linux MM <linux-mm@kvack.org>
- Subject: VM reference trace
- From: Zou Min <zoum@comp.nus.edu.sg>
- Date: Tue, 18 Jun 2002 12:15:47 +0800
- Fake-Sender: owner-linux-mm@kvack.org
- Mail-Followup-To: Zou Min <zoum@comp.nus.edu.sg>,Linux MM <linux-mm@kvack.org>
- Original-Recipient: rfc822;linux-mm-archive@humbolt.geo.uu.nl
- Sender: Rik van Riel <riel@nl.linux.org>
- User-Agent: Mutt/1.2.5.1i
Hi,
I am working on a problem which requires to get D: the number of distinct
pages (from user files or dynamically allocated or used by the kernel, ...)
used by the kernel+user processes in a workload.
One way I thought of is to firstly generate a reference trace, i.e. a sequence
of virtual memory addresses accessed by the workload, and then count the
the number of distinct addresses in the trace. (assuming the addresses are
page addresses).
In fact, I have found a library to do that, but it can only trace single
process in userland. And I have to modify, re-compile and re-link the program
which I want to trace. That's a bit tedious.
So, I want to ask if there are any better utilities to generate the trace,
or any way to get the number D directly.
Thanks in advance!
--
regards,
ZM
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/