On Wed, May 21, 2014 at 10:50 AM, Ravikumar Govindarajan <ravikumar.govindara...@gmail.com> wrote: >> >> But does that mean SEQUENTIAL will evict the >> page once we're done reading it? > > > Yes, looks like it does evict the pages once read completes...
That's great news, we need to re-test it. > Let me elaborate a bit more > > I have numerous unsorted segments with very less sizes and fewer sorted > segments with biggish sizes. Merge-Policy will segregate these 2 > > The bigger sorted-segments always merge within themselves using SMP & > SEQUENTIAL advise. It should be helpful in this case no? > > Smaller unsorted segments also merge within themselves using SMP. But since > the segment-sizes are very less, the effect on buffer-cache must be > negligible. I feel there is no need to advise in this case... > > There are also sneaky ways to >> invoke some of these OS-level APIs without using JNI Ahh, OK, yes for the large already-sorted segments, these will be sequential reads to the OS. Mike McCandless http://blog.mikemccandless.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org