public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Bryant <raybry@sgi.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Paul Jackson <pj@sgi.com>,
	mingo@elte.hu, mort@wildopensource.com,
	linux-kernel@vger.kernel.org, hilgeman@sgi.com
Subject: Re: [PATCH/RFC] A method for clearing out page cache
Date: Tue, 22 Feb 2005 13:03:31 -0600	[thread overview]
Message-ID: <421B8203.9080308@sgi.com> (raw)
In-Reply-To: <20050222104535.0b3a3c65.akpm@osdl.org>

Andrew Morton wrote:
> Paul Jackson <pj@sgi.com> wrote:
> 
>> As Martin wrote, when he submitted this patch:
>> > The motivation for this patch is for setting up High Performance
>> > Computing jobs, where initial memory placement is very important to
>> > overall performance.
>>
>> Any left over cache is wrong, for this situation.
> 
> 
> So...  Cannot the applicaiton remove all its pagecache with posix_fadvise()
> prior to exitting?
> 

Even if we modified all applications to do this, it still wouldn't help for
dirty page cache, which would eventually become cleaned, and hang around long
after the application has departed.

But the previous statement has a false hypothesis, namely, that we could
change all applications to do this.

-- 
Best Regards,
Ray
-----------------------------------------------
                   Ray Bryant
512-453-9679 (work)         512-507-7807 (cell)
raybry@sgi.com             raybry@austin.rr.com
The box said: "Requires Windows 98 or better",
            so I installed Linux.
-----------------------------------------------

  parent reply	other threads:[~2005-02-22 19:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 15:44 [PATCH/RFC] A method for clearing out page cache Martin Hicks
2005-02-15  3:37 ` Paul Jackson
2005-02-16 19:56   ` Martin Hicks
2005-02-21 19:27   ` Martin Hicks
2005-02-21 21:42     ` Andrew Morton
2005-02-21 22:12       ` Paul Jackson
2005-02-21 22:28         ` Andrew Morton
2005-02-21 23:52           ` Paul Jackson
2005-02-21 22:28       ` Ray Bryant
2005-02-21 22:41         ` Andrew Morton
2005-02-21 23:01           ` Ray Bryant
2005-02-22  7:53           ` Ingo Molnar
2005-02-22  8:07             ` Andrew Morton
2005-02-22  8:24               ` Ingo Molnar
2005-02-22 17:29                 ` Ray Bryant
2005-02-22 11:26             ` Paul Jackson
2005-02-22 18:45               ` Andrew Morton
2005-02-22 18:59                 ` Martin Hicks
2005-02-22 19:03                 ` Ray Bryant [this message]
2005-02-23  0:14                 ` Paul Jackson
2005-03-01 21:54       ` Pavel Machek
2005-02-21 21:52     ` Nish Aravamudan

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=421B8203.9080308@sgi.com \
    --to=raybry@sgi.com \
    --cc=akpm@osdl.org \
    --cc=hilgeman@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mort@wildopensource.com \
    --cc=pj@sgi.com \
    /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