Re: 2.6.23-rc1-mm2(vm-dont-run-touch_buffer-during-buffercache-lookups.patch)

From: Eric St-Laurent
Date: Wed Aug 01 2007 - 03:36:46 EST


On Tue, 2007-31-07 at 23:09 -0700, Andrew Morton wrote:

> +vm-dont-run-touch_buffer-during-buffercache-lookups.patch
>
> A little VM experiment. See changelog for details.

> We don't have any tests to determine the effects of this, and nobody will
> bother setting one up, so ho hum, this remains in -mm for ever.

> I don't think there's any point in doing this until we have some decent
> testcases.


Hi Andrew,


For which problem this patch was coded? Is it a potential fix to the
updatedb problem?

Is the patch effective without the filesystem dependant change you talk
about? (I use reiserfs)

I've been thinking about a test case for the updatedb problem:

1. Script or program that create a large number of directories and zero
sized files. Same setup for everyone to have reproducible results.

2. Run updatedb on those.

3. Observe the effects (with vmstat, slabinfo and meminfo) before,
during and after the updatedb run.

4. Do something to trigger some reclaim like copying a large file.

5. See the effects.


What do you think? What would be the ideal test case for the problem in
your opinion?


Best regards,

- Eric


-
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/