LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Eugene Teo <eugeneteo@kernel.sg>
To: Helge Hafting <helge.hafting@aitel.hist.no>
Cc: Adnan Khaleel <akhaleel2001@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: Page Cache Question
Date: Tue, 14 Aug 2007 22:38:07 +0800 [thread overview]
Message-ID: <20070814143807.GA23257@kernel.sg> (raw)
In-Reply-To: <46C18068.7020602@aitel.hist.no>
<quote sender="Helge Hafting">
> Adnan Khaleel wrote:
>> I'm looking for a way to disable the page cache for an
>> experimental NUMA system running the 2.6.17 kernel. I would prefer to
>> only disable the page cache for my process and still have it be enabled
>> by the rest of the system. Is there an easy way of doing this?
>> Alternatively, I would be fine disabling the Page Cache altogether as
>> well.
>>
> Assuming what you really mean is that you don't want to cache
> file i/o for that process - try opening files with O_DIRECT.
You will probably find this tool useful:
http://userweb.kernel.org/~akpm/pagecache-management/
"... a little tool which permits the management of the pagecache usage of
arbitrary applications. Effectively it prevents the targetted application
from using any pagecache at all."
Eugene
next prev parent reply other threads:[~2007-08-14 14:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-05 16:32 Adnan Khaleel
2007-08-05 17:46 ` Tino Keitel
2007-08-05 18:01 ` Andi Kleen
2007-08-14 10:14 ` Helge Hafting
2007-08-14 14:38 ` Eugene Teo [this message]
[not found] <fa.ak7dGOAL/3/Q6eQ0zKX2KgaiWdU@ifi.uio.no>
2007-08-05 17:38 ` Page Cache question Robert Hancock
-- strict thread matches above, loose matches on Subject: below --
2007-08-05 17:24 Adnan Khaleel
2006-02-27 7:45 page cache question Xin Zhao
2006-02-27 9:03 ` Nick Piggin
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=20070814143807.GA23257@kernel.sg \
--to=eugeneteo@kernel.sg \
--cc=akhaleel2001@yahoo.com \
--cc=helge.hafting@aitel.hist.no \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: Page Cache Question' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).