lkml.org 
[lkml]   [2011]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] writeback: dirty position control
On Fri, Aug 12, 2011 at 08:54:17PM +0800, Peter Zijlstra wrote:
> On Fri, 2011-08-12 at 00:56 +0200, Peter Zijlstra wrote:
> >
> > s - x 3
> > f(x) := 1 + (-----)
> > d
> >
> btw, if you want steeper slopes for rampup and brake you can add another
> factor like:
>
> s - x 3
> f(x) := 1 + a(-----)
> d
>
> And solve the whole f(l)=0 thing again to determine d in l and a.
>
> For 0 < a < 1 the slopes increase.

Yes, we can leave it as a future tuning option. For now I'm pretty
satisfied with the current function's shape :)

Thanks,
Fengguang


\
 
 \ /
  Last update: 2011-08-12 15:03    [W:0.901 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site