Re: [PATCH 0/6] Adaptive readahead updates 3

From: Wu Fengguang
Date: Sun Jun 25 2006 - 21:51:21 EST


Andrew,

On Sun, Jun 25, 2006 at 09:07:04PM +0800, Wu Fengguang wrote:
> Most patches here are focused on seperating out readahead overheads.

Here are some notes that I forgot to include in the mail:

The three patches:
[PATCH 3/6] readahead: kconfig option READAHEAD_ALLOW_OVERHEADS
[PATCH 4/6] readahead: kconfig option READAHEAD_SMOOTH_AGING
[PATCH 5/6] readahead: kconfig option READAHEAD_HIT_FEEDBACK

make the menuconfig look like this:
[*] Adaptive file readahead (EXPERIMENTAL)
[*] Allow extra features with overheads
[*] Readahead debug and accounting (NEW)
[*] Readahead hit feedback (NEW)
[ ] Fine grained readahead aging (NEW)

With all of the three new options disabled(the defaults), it becomes comparable
to the stock readahead in efficiency when reading big files:

Summary:
user sys cpu total
ARA avg 0.13 5.42 91.62% 6.02
STOCK avg 0.13 5.47 91.64% 6.09

Details:

ARA
cp work/sparse /dev/null 0.13s user 5.44s system 92% cpu 5.987 total
cp work/sparse /dev/null 0.11s user 5.42s system 91% cpu 6.028 total
cp work/sparse /dev/null 0.14s user 5.47s system 92% cpu 6.087 total
cp work/sparse /dev/null 0.13s user 5.46s system 91% cpu 6.087 total
cp work/sparse /dev/null 0.13s user 5.45s system 91% cpu 6.070 total
cp work/sparse /dev/null 0.13s user 5.41s system 92% cpu 6.003 total
cp work/sparse /dev/null 0.13s user 5.42s system 91% cpu 6.036 total
cp work/sparse /dev/null 0.13s user 5.36s system 91% cpu 6.003 total
cp work/sparse /dev/null 0.14s user 5.39s system 92% cpu 6.003 total
cp work/sparse /dev/null 0.14s user 5.42s system 92% cpu 6.028 total
cp work/sparse /dev/null 0.12s user 5.36s system 92% cpu 5.937 total
cp work/sparse /dev/null 0.12s user 5.36s system 92% cpu 5.961 total
cp work/sparse /dev/null 0.13s user 5.47s system 92% cpu 6.062 total

STOCK
cp work/sparse /dev/null 0.13s user 5.49s system 92% cpu 6.068 total
cp work/sparse /dev/null 0.15s user 5.38s system 92% cpu 6.012 total
cp work/sparse /dev/null 0.12s user 5.49s system 91% cpu 6.112 total
cp work/sparse /dev/null 0.12s user 5.52s system 92% cpu 6.103 total
cp work/sparse /dev/null 0.13s user 5.57s system 91% cpu 6.203 total
cp work/sparse /dev/null 0.11s user 5.45s system 92% cpu 6.037 total
cp work/sparse /dev/null 0.13s user 5.52s system 92% cpu 6.120 total
cp work/sparse /dev/null 0.14s user 5.43s system 91% cpu 6.070 total
cp work/sparse /dev/null 0.12s user 5.49s system 92% cpu 6.078 total
cp work/sparse /dev/null 0.13s user 5.51s system 92% cpu 6.128 total
cp work/sparse /dev/null 0.13s user 5.45s system 92% cpu 6.061 total
cp work/sparse /dev/null 0.15s user 5.40s system 91% cpu 6.037 total
cp work/sparse /dev/null 0.14s user 5.49s system 92% cpu 6.086 total
cp work/sparse /dev/null 0.13s user 5.46s system 91% cpu 6.106 total

Thanks,
Wu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/