Skip to content

readahead stats/tracing, backwards prefetching and more

Wu Fengguang linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 40 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8block: limit default readahead size for small devicesblock/genhd.c+20 -07 replies
2/8readahead: make default readahead size a kernel parameterDocumentation/kernel-parameters.txt block/blk-core.c fs/fuse/inode.c +1 more+27 -310 replies
3/8readahead: replace ra->mmap_miss with ra->ra_flagsinclude/linux/fs.h mm/filemap.c+32 -86 replies
4/8readahead: record readahead patternsinclude/linux/fs.h include/linux/mm.h mm/filemap.c +1 more+66 -102 replies
5/8readahead: add /debug/readahead/statsDocumentation/kernel-parameters.txt mm/Kconfig mm/readahead.c+215 -08 replies
6/8readahead: add debug tracing eventinclude/trace/events/vfs.h mm/readahead.c+69 -01 reply
7/8readahead: basic support for backwards prefetchinginclude/linux/fs.h mm/readahead.c+15 -02 replies
8/8readahead: dont do start-of-file readahead after lseek()fs/read_write.c include/linux/fs.h mm/readahead.c+8 -02 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchJens AxboeRik van RielVivek GoyalLinus TorvaldsSteven WhitehouseSteven Rostedt
1/8A-b A-b A-b A-b T-b T-b T-b T-b
2/8A-b
3/8A-b A-b
4/8A-b
5/8A-b A-b
6/8A-b A-b
7/8
8/8A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] readahead stats/tracing, backwards prefetching and more

Andrew,

I'm getting around to pick up the readahead works again :-)

This first series is mainly to add some debug facilities, to support the long missed backwards prefetching capability, and some old patches that somehow get delayed (shame me).

The next step would be to better handle the readahead thrashing situations. That would require rewriting part of the algorithms, this is why I'd like to keep the backwards prefetching simple and stupid for now.

When (almost) free of readahead thrashing, we'll be in a good position to lift the default readahead size. Which I suspect would be the single most efficient way to improve performance for the large volumes of casually maintained Linux file servers.

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>