Re: pfault V12 : correction to tasklist rss
From: William Lee Irwin III
Date: Sat Dec 11 2004 - 01:04:35 EST
Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
>>> We have no real way of establishing the ownership of shared pages
>>> anyways. Its counted when allocated. But the page may live on afterwards
>>> in another process and then not be accounted for although its only user is
>>> the new process.
On Fri, Dec 10, 2004 at 01:38:59PM -0800, Andrew Morton wrote:
> We did lose some accounting accuracy when the pagetable walk and the big
> tasklist walks were removed. Bill would probably have more details. Given
> that the code as it stood was a complete showstopper, the tradeoff seemed
> reasonable.
There are several issues, not listed in order of importance here:
(1) Workload monitoring with high multiprogramming levels was infeasible.
(2) The long address space walks interfered with mmap() and page
faults in the monitored processes, disturbing cluster membership
and exceeding maximum response times in monitored workloads.
(3) There's a general long-running ongoing effort to take on various
places tasklist_lock is abused one-by-one to incrementally
resolve or otherwise mitigate the rwlock starvation issues.
-- wli
-
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/