This looks relevant: http://chbits.blogspot.com/2010/06/lucene-and-fadvisemadvise.html (see comments for directions to code sample)
On Fri, Jul 9, 2010 at 1:52 AM, Peter Schuller <peter.schul...@infidyne.com> wrote: >> It might be worth experimenting with posix_fadvise. I don't think >> implementing our own i/o scheduler or rate-limiter would be as good a >> use of time (it sounds like you're on that page too). > > Ok. And yes I mostly agree, although I can imagine circumstances where > a pretty simple rate limiter might help significantly - albeit be > something that has to be tweaked very specifically for the > situation/hardware rather than being auto-tuned. > > If I have the time I may look into posix_fadvise() to begin with (but > I'm not promising anything). > > Thanks for the input! > > -- > / Peter Schuller > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com