Re: Restarting SOLR will remove all cache?

2013-06-25 Thread Toke Eskildsen
On Tue, 2013-06-25 at 07:35 +0200, William Bell wrote: It goes restart the MMap stuff though. You cannot be sure of that. It is not mandatory, but the system should share memory mapped files with the disk cache. https://en.wikipedia.org/wiki/Memory-mapped_file#Benefits - Toke Eskildsen, State

Re: Restarting SOLR will remove all cache?

2013-06-24 Thread William Bell
It goes restart the MMap stuff though. On Fri, Jun 21, 2013 at 12:26 PM, Michael Ryan mr...@moreover.com wrote: Restarting Solr won't clear the disk cache. When I'm doing perf testing, I'll sometimes run this on the server before each test to clear out the disk cache: echo 1

Re: Restarting SOLR will remove all cache?

2013-06-24 Thread Jason Hellman
Shalin, There's one point to test without caches, which is to establish how much value a cache actually provides. For me, this primarily means providing a benchmark by which to decide when to stop obsessing over caches. But yes, for load testing I definitely agree :) Jason On Jun 21,

Re: Restarting SOLR will remove all cache?

2013-06-24 Thread Shalin Shekhar Mangar
Yeah, I was talking about load testing. Tuning caches by looking at evictions and hit ratio is what's useful. On Tue, Jun 25, 2013 at 11:08 AM, Jason Hellman jhell...@innoventsolutions.com wrote: Shalin, There's one point to test without caches, which is to establish how much value a cache

Re: Restarting SOLR will remove all cache?

2013-06-21 Thread Shalin Shekhar Mangar
There are no disk caches as such. There is no point in testing without caches. Also, Lucene has field caches required for sorting which cannot be turned off. On Fri, Jun 21, 2013 at 11:22 PM, Learner bbar...@gmail.com wrote: I have a very simple question. Does restarting SOLR removes all caches

RE: Restarting SOLR will remove all cache?

2013-06-21 Thread Michael Ryan
Restarting Solr won't clear the disk cache. When I'm doing perf testing, I'll sometimes run this on the server before each test to clear out the disk cache: echo 1 /proc/sys/vm/drop_caches -Michael -Original Message- From: Learner [mailto:bbar...@gmail.com] Sent: Friday, June 21,