Re: [PATCH/RFC] A method for clearing out page cache

From: Ray Bryant
Date: Tue Feb 22 2005 - 14:04:47 EST


Andrew Morton wrote:
Paul Jackson <pj@xxxxxxx> 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@xxxxxxx raybry@xxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/