in reply to Re^2: Advice needed on an interesting read-ahead over network file IO problem
in thread Advice needed on an interesting read-ahead over network file IO problem
Regarding read ahead, the usual practice is to set a minimum chunk size, say 64k. Any read below this size reads 64k, returns the required length and caches the remainder data for future requests.
The optimal minimum chunk size to use depends on the network characteristics (bandwidth and latency). Just experiment to find it out!
|
|---|