Messages in this thread | | | Date | Tue, 22 Feb 2005 13:03:31 -0600 | From | Ray Bryant <> | Subject | Re: [PATCH/RFC] A method for clearing out page cache |
| |
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. ----------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |