public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Determine Files or Blocks in Page Cache
@ 2006-02-19 20:11 Chase Douglas
  2006-02-19 20:20 ` Arjan van de Ven
  0 siblings, 1 reply; 2+ messages in thread
From: Chase Douglas @ 2006-02-19 20:11 UTC (permalink / raw)
  To: linux-kernel

I'm doing some research with servers and would like to know if there's 
any reasonable way to determine which files or blocks of files are being 
cached at any given time. If there isn't a way right now, how feasible 
would it be to hack a module to create an interface for this.

Thank you,
Chase Douglas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Determine Files or Blocks in Page Cache
  2006-02-19 20:11 Determine Files or Blocks in Page Cache Chase Douglas
@ 2006-02-19 20:20 ` Arjan van de Ven
  0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2006-02-19 20:20 UTC (permalink / raw)
  To: Chase Douglas; +Cc: linux-kernel

On Sun, 2006-02-19 at 15:11 -0500, Chase Douglas wrote:
> I'm doing some research with servers and would like to know if there's 
> any reasonable way to determine which files or blocks of files are being 
> cached at any given time. 

which files is hard currently; which blocks of a file you can get by
mmaping the file and then using the mincore() syscall..


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-19 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-19 20:11 Determine Files or Blocks in Page Cache Chase Douglas
2006-02-19 20:20 ` Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox