On Tue, Dec 11, 2012 at 2:32 PM, Greg Bowyer <[email protected]> wrote: > Yes the index can fit in ram on the boxes I am testing with - Its the > main rationale for sharding to make sure that we can hold an index in > ram at all times. > > MADV_WILLNEED might be rather bad if the index is bigger than ram > (something to test maybe)
Agree. And the largest part of the index is often stored fields, which have a random access pattern. MADV_RANDOM? -Yonik http://lucidworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
