Re: Reducing the bdi proporion calculation period to speed up disk write

2007-12-13 Thread Zhang, Yanmin
On Tue, 2007-12-11 at 11:11 +0100, Peter Zijlstra wrote: > On Tue, 2007-12-11 at 14:25 +0800, zhejiang wrote: > > The patch 04fbfdc14e5f48463820d6b9807daa5e9c92c51f implemented bdi per > > device dirty threshold. It works well. > > However, the period for proportion calculation may be too large. >

Re: Reducing the bdi proporion calculation period to speed up disk write

2007-12-11 Thread Peter Zijlstra
On Tue, 2007-12-11 at 14:25 +0800, zhejiang wrote: > The patch 04fbfdc14e5f48463820d6b9807daa5e9c92c51f implemented bdi per > device dirty threshold. It works well. > However, the period for proportion calculation may be too large. > For 8G memory, the calc_period_shift() will return 19 as the shi