Disabling caches is a great idea, at least those that are application specific. In this case, it is recommended to conduct a comparative test to find the answer / cost of the request, which was not previously noticed; unlike those that are popular over the life of the cache.
It looks like you want the indicators to show how the search engine works; not a query cache.
The previous answers are indeed from the left margin, suggesting that all benchmarks should measure the same thing, βyour own definition ofβ real life. βThis is not how engineers work.
Regarding the remark about "disk caches." Linux does not have disk caches; page cache only; whether this page is stored on disk, pre-allocations for large file systems that are smart .... are created and destroyed in memory, all pages.
There are advantages to benchmarking with caches ... if you want to measure cache performance metrics. Spirit.
By the way, between "-server" and "XXcompileThreshold" you want your first large set of requests to be either random or specially selected to implement as many functional paths as possible in Solr / Lucene; therefore, JIT is active and somewhat established.
billy
source share