[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070814143807.GA23257@kernel.sg>
Date: Tue, 14 Aug 2007 22:38:07 +0800
From: Eugene Teo <eugeneteo@...nel.sg>
To: Helge Hafting <helge.hafting@...el.hist.no>
Cc: Adnan Khaleel <akhaleel2001@...oo.com>,
linux-kernel@...r.kernel.org
Subject: Re: Page Cache Question
<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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists