I would like to test query response time for a set of queries. I'm not interested in capacity Q/sec, just response time. My queries will be against an index of OCR'd books so in the real world every query is probably unique and impossible to predict so I don't see a way to prewarm any of the caches. I'm not sorting. I'm not faceting. I'm querying on a few fields like title, author, subject and date in a range.
Regarding initial conditions, it seems that there's no useful state into which I can put the caches. Would the best approach be to run the queries from a cold solr startup?
What about OS disk caches? I can see two arguments. One, just to test solr the disk caches should be empty. On the other hand, realistically, the disk caches would be full so that argues for executing enough queries to load those and then redo the query set (with empty solr caches).
Speaking of empty solr caches, is there a way to flush those while solr is running?
What other system states do I need to control for to get a handle on response time?
Thanks and regards, Phil ------------------------------------------ Phillip Farber - http://www.umdl.umich.edu