lkml.org 
[lkml]   [2009]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.6.29
On Thu, Mar 26, 2009 at 01:50:10PM +1100, Neil Brown wrote:
> I shouldn't be too hard to add some concept of total time to this.
> If we track the number of write-outs per unit time and use that together
> with a "target time for fsync" to scale the 'dirty_bytes' number, we
> might be able to auto-tune the amount of dirty space to fit the speeds
> of the drives.
>
> We would probably start with each device having a very low "max dirty"
> number which would cause writeouts to start soon. Once the device
> demonstrates that it can do n-per-second (or whatever) the VM would
> allow the "max dirty" number to drift upwards. I'm not sure how best
> to get it to move downwards if the device slows down (or the kernel
> over-estimated). Maybe it should regularly decay so that the device
> keeps have to "prove" itself.

This seems like a really cool idea.

-Ted


\
 
 \ /
  Last update: 2009-03-26 04:17    [W:1.501 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site