Messages in this thread | | | Date | Tue, 13 Jul 1999 20:31:48 +0200 | From | Jamie Lokier <> | Subject | Re: [RFC] - Some notions that I would like comments on |
| |
Jeff Dike wrote: > > 2. Most applications will look at data as soon as it's read from the > > disk -- so you probably won't get much of a performance advantage > > What I had in mind are things like compilers which go chugging > sequentially through a file and do expensive stuff on it (like > parsing). It ought to be pretty easy for the I/O to stay ahead of the > parse, and maybe a useful amount of parsing can be done before the > data all comes in.
This is done already and automatically -- it's called readahead. The kernel detects when you're reading sequentially and then reads ahead.
We don't do it on mmaped areas yet though.
-- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |