lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: madvise and gregs hallucinations
Date Tue, 11 Dec 2012 07:41:12 GMT
Keep digging, this is interesting ;)

D.

On Tue, Dec 11, 2012 at 6:33 AM, Greg Bowyer <gbowyer@fastmail.co.uk> wrote:
> Since its too long (and has too much HTML and pictures and such forth)
> for the mailing list I have a more detailed write up here
>
> http://people.apache.org/~gbowyer/madvise-perf/index.html
>
> However the short version.
>
> At $DAYJOB as part of moving to lucene 4.0 I have been looking at what
> we can change in our modes of thinking, on of these relates (for us) to
> having a separate legacy system that serves the stored data for the
> search engine (which we imaginatively call docserve).
>
> Whilst playing with this I noticed that I lost a lot of performance
> rather quickly, after a lot of digging it looks like getting a call in
> mmaping to madvise (specifically a call of the form madvise(addr,
> MADV_WILLNEED) might improve search performance.
>
> Anyone have any thoughts and or ideas here, I am going to try to get a
> whole heap more investigation done before I start messing with lucene's
> behavior on mmap (because whilst it improves /my/ performance a lot it
> might be I only noticed it since I am poking an open-wound YMMV), but
> there is something of interest here.
>
> Then again this might be my own personal insanity .. :S
>
> -- Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message