Re: [PATCH, RFC] ext4: Use preallocation when reading from the inode table

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Dilger
Date: Thursday, September 25, 2008 - 4:40 pm

On Sep 24, 2008  16:35 -0400, Theodore Ts'o wrote:

Comparing the incremental benefit of each step:

                                       1.57%              10.5%
                                       1.63%               7.8%
                                       4.29%               5.9%
                                       7.67%               4.5%
                                      16.07%               2.4%

It looks like moving from 64kB to 128kB readahead might be a loss for
"unknown" workloads, since that increases latency by 7.67% for the random
inode case, but we only get 4.5% improvement in the sequential inode case.
Also recall that at large scale "htree" breaks down to random inode
lookup so that isn't exactly a fringe case (though readahead may still
help if the cache is large enough).

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

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

Messages in current thread:
Re: [PATCH, RFC] ext4: Use preallocation when reading from ..., Andreas Dilger, (Thu Sep 25, 4:40 pm)