Re: Conveying memory pressure to userspace?

From: Paul Jackson
Date: Fri May 11 2007 - 16:48:51 EST


Christoph wrote:
> cpusets export a notion of memory pressure to user space. See the cpusets
> documentation.

If the special cpuset file 'memory_pressure_enabled' is turned on (echo
'1' to it) in the top cpuset, then the special cpuset file
'memory_pressure' that is in all cpusets provides a measure of the rate
of recent page allocation requests by tasks in each cpuset that were
not easily granted off the free list, requiring more aggressive kernel
effort to free up some pages to meet the request.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
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/