Re: [RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-18 Thread Christoph Lameter
On Thu, 18 Jan 2007, Nikita Danilov wrote: > I think that simpler solution of this problem is to use only potentially > reclaimable pages (that is, active, inactive, and free pages) to > calculate writeout threshold. This way there is no need to maintain > counters for unreclaimable pages. Below

Re: [RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-18 Thread Nikita Danilov
Christoph Lameter writes: > Consider unreclaimable pages during dirty limit calculation > > Tracking unreclaimable pages helps us to calculate the dirty ratio > the right way. If a large number of unreclaimable pages are allocated > (through the slab or through huge pages) then write

Re: [RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-18 Thread Nikita Danilov
Christoph Lameter writes: Consider unreclaimable pages during dirty limit calculation Tracking unreclaimable pages helps us to calculate the dirty ratio the right way. If a large number of unreclaimable pages are allocated (through the slab or through huge pages) then write throttling

Re: [RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-18 Thread Christoph Lameter
On Thu, 18 Jan 2007, Nikita Danilov wrote: I think that simpler solution of this problem is to use only potentially reclaimable pages (that is, active, inactive, and free pages) to calculate writeout threshold. This way there is no need to maintain counters for unreclaimable pages. Below is a

[RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-15 Thread Christoph Lameter
Consider unreclaimable pages during dirty limit calculation Tracking unreclaimable pages helps us to calculate the dirty ratio the right way. If a large number of unreclaimable pages are allocated (through the slab or through huge pages) then write throttling will no longer work since the limit

[RFC 7/8] Exclude unreclaimable pages from dirty ration calculation

2007-01-15 Thread Christoph Lameter
Consider unreclaimable pages during dirty limit calculation Tracking unreclaimable pages helps us to calculate the dirty ratio the right way. If a large number of unreclaimable pages are allocated (through the slab or through huge pages) then write throttling will no longer work since the limit