Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under zone pressure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christian Ehrhardt
Date: Tuesday, April 20, 2010 - 9:23 pm

Rik van Riel wrote:

IMHO it is fine to prevent that nightly backup job from not being 
finished when the user arrives at morning because we didn't give him 
some more cache - and e.g. a 30 sec transition from/to both optimized 
states is fine.
But eventually I guess the point is that both behaviors are reasonable 
to achieve - depending on the users needs.

What we could do is combine all our thoughts we had so far:
a) Rik could create an experimental patch that excludes the in flight pages
b) Johannes could create one for his suggestion to "always scan active 
file pages but only deactivate them when the ratio is off and otherwise 
strip buffers of clean pages"
c) I would extend the patch from Johannes setting the ratio of 
active/inactive pages to be a userspace tunable

a,b,a+b would then need to be tested if they achieve a better behavior.

c on the other hand would be a fine tunable to let administrators 
(knowing their workloads) or distributions (e.g. different values for 
Desktop/Server defaults) adapt their installations.

In theory a,b and c should work fine together in case we need all of them.


Did I get you right that this means the write case - explaining why it 
is building up buffers to the 50% max?

Note: It even uses up to 64 disks, with 1 disk per thread so e.g. 16 
threads => 16 disks.

For being "unbalanced" I'd like to mention that over the years I learned 
that sometimes, after a while, virtualized systems look that way without 
being intended - this happens by adding more and more guests and let 
guest memory balooning take care of it.


-- 

Grüsse / regards, Christian Ehrhardt
IBM Linux Technology Center, System z Linux Performance
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under ..., Christian Ehrhardt, (Tue Mar 23, 7:35 am)
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under ..., Christian Ehrhardt, (Mon Apr 19, 5:22 am)
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under ..., Christian Ehrhardt, (Tue Apr 20, 12:20 am)
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under ..., Christian Ehrhardt, (Tue Apr 20, 1:54 am)
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under ..., Christian Ehrhardt, (Tue Apr 20, 9:23 pm)
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under ..., Christian Ehrhardt, (Wed Apr 21, 12:35 am)
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait under ..., Christian Ehrhardt, (Wed Apr 21, 11:21 pm)
Subject: [PATCH][RFC] mm: make working set portion that is ..., Christian Ehrhardt, (Mon Apr 26, 3:59 am)
Re: Subject: [PATCH][RFC] mm: make working set portion tha ..., Christian Ehrhardt, (Mon Apr 26, 5:43 am)
Re: Subject: [PATCH][RFC] mm: make working set portion tha ..., Christian Ehrhardt, (Tue Apr 27, 7:00 am)