Asynchronous File I/O on Linux
Richard Pieri
richard.pieri-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed May 19 17:14:22 EDT 2010
On May 19, 2010, at 4:18 PM, Bill Bogstad wrote:
>
> If I understand correctly, you are suggesting that the kernel should
> automatically read data at the new offset after an lseek() in case
> it's followed by a read(). I can see how that is a good idea for
Something like that. Given a program that needs to perform computations before reading data, spawn a thread that reads the required data blocks so that they are cached when the main thread does its read() calls.
--Rich P.
More information about the Discuss
mailing list