Re: Using tmpfs for Solr index

2015-01-27 Thread Ramkumar R. Aiyengar
I don't have formal benchmarks, but we did get significant performance gains by switching from a RAMDirectory to a MMapDirectory on tmpfs, especially under parallel queries. Locking seemed to pull down the former.. On 23 Jan 2015 06:35, "deniz" wrote: > Would it boost any performance in case the

Re: Using tmpfs for Solr index

2015-01-23 Thread Shawn Heisey
On 1/23/2015 2:40 AM, Toke Eskildsen wrote: > If you have a single index on a box with enough memory to fully cache > the index data, I would recommend just using MMapDirectory without > involving tmpfs. If it's Solr 4.x, I have pretty much the same advice, with one small change. I would actually

Re: Using tmpfs for Solr index

2015-01-23 Thread Toke Eskildsen
On Fri, 2015-01-23 at 07:34 +0100, deniz wrote: > Would it boost any performance in case the index has been switched from > RAMDirectoryFactory to use tmpfs? RAMDirectoryFactory does not perform well for non-small indexes, so ... probable yes. > Or it would simply do the same thing like MMap? A