On Tue, Dec 11, 2012 at 04:45:21PM +0800, Zheng Liu wrote:
> Hi all,
> At Tao Bao we meet a problem in our product system which causes a huge latency
> because of stable page write. This problem is easy to reproduce in a testing
> environment, and I can reproduce it in my desktop with a SATA disk. Here is
> fio config file that is used to reproduce this problem.
> config file
Sub-page sized IO. That's guaranteed to have noticable IO latency
anomalies, regardless of stable data pages. If you are just
doing appending writes, then you can easily buffer them till you
have a page of data to write and avoid the problem altogether.
> Hence, I wonder whether or not we could revert stable page write temporarily.
> After it is improved, we could add it back again.
The plan is to turn it off for filesystems/devices that don't
require it. That list of devices will grow in future, so you
probably should plan to handle latencies in the application