: I want to know how long solr will take to process a unique query taking full : advantage of OS i/o buffers. I think executing a set of unique queries from a
start up Solr, send it a "healthy" number of unique queries until your system stats indicate that your free mem has leveled off (now your index is in filesystem cache) .,.. *then* start your measurements. this will be a fairly good indicator of what response time will look like in real world steady state. (of course: it can also be beneficial to test what your performance will look like if you have to bring up a "cold" index under load, but that's a seperate measurement) : > You often can't prewarm caches at the very beginning because you can't : > predict queries (not always true), so yes, initially caches will be empty, One thing i always tell people is that even if you can't predict a good set of queries for "cold warming" on startup, you almost always know what fields you're going to sort on -- so make sure at least one query sorts on those fields in both a newSearcher and firstSearcher listener. -Hoss