linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: SANDYA MANNARSWAMY <sandyasm@yahoo.com>
To: linux-mm@kvack.org
Subject: how to find the set of pages accessed by each thread in a process during a time window
Date: Tue, 24 Feb 2009 11:46:53 -0800 (PST)	[thread overview]
Message-ID: <500621.38863.qm@web65603.mail.ac4.yahoo.com> (raw)

Hi,

we are studying thread scheduling based on data access affinity on linux X-86 multicore systems. Basically if we can group threads of an application based on the affinity to the data they access, we would like to have them scheduled on the same processor so that they can use the shared caches in X86. There has been a number of papers in this area, both in academic and industry. Many of them are based on using the processor hardware counters  information to derive the information on data affinity for the threads.

We are looking at deriving a coarser level affinity information by looking at the set of VM pages accessed by each thread during a time window. Basically if we can dump out the set of pages accessed by each thread during a time window, we wanted to correlate that information across threads to see if we can derive a coarse affinity information for the threads. We are not interested in the physical page details per se, corresponding to the virtual page, but more in obtaining information/stats on which VM data pages of a process are accessed by each thread during each time window. 

I wanted to find out on whether there are any existing linux tools which provide this information. Should we try and gather this information by looking at the reference bit of each page table entry or is there a better way to go about it? 

Thanks in advance,
regards
sandya


      

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

                 reply	other threads:[~2009-02-24 19:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500621.38863.qm@web65603.mail.ac4.yahoo.com \
    --to=sandyasm@yahoo.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox