Re: [PATCH 0/6] writeback time order/delay fixes take 3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Fengguang Wu
Date: Friday, August 24, 2007 - 6:24 am

On Wed, Aug 22, 2007 at 08:42:01AM -0400, Chris Mason wrote:

Yeah, I was thinking about elevators :)
Or call it sweeping based on address-hint(inode number).


It's meaningless to convert s_io to radix tree. Because inodes on s_io
will normally be sent to block layer elevators at the same time.

Also s_dirty holds 30 seconds of inodes, while s_io only 5 seconds.
The more inodes, the more chances of good clustering. That's the
general rule.

s_dirty is the right place to do address-clustering.
As for the dirty_expire_interval parameter on dirty age,
we can apply a simple rule: do one full scan/sweep over the
fs-address-space in every 30s, syncing all inodes encountered,
and sparing those newly dirtied in less than 5s. With that rule,
any inode will get synced after being dirtied for 5-35 seconds.

-fengguang

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/6] writeback time order/delay fixes take 3, Fengguang Wu, (Sun Aug 12, 2:11 am)
Re: [PATCH 0/6] writeback time order/delay fixes take 3, Fengguang Wu, (Tue Aug 21, 6:18 pm)
Re: [PATCH 0/6] writeback time order/delay fixes take 3, David Chinner, (Wed Aug 22, 7:47 pm)
Re: [PATCH 0/6] writeback time order/delay fixes take 3, Fengguang Wu, (Fri Aug 24, 5:56 am)
Re: [PATCH 0/6] writeback time order/delay fixes take 3, Fengguang Wu, (Fri Aug 24, 6:24 am)