On 11/10/2010 11:00 AM, Skreo wrote:
I just made a test :

<snip>

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
            2,23    0,00    1,40   28,11    0,00   68,26

Your iowait percentage for that 10 second interval was 28%, which is pretty high. Solr has to make a complete copy of the index, which means a lot of disk I/O. Optimizing an index involves more than just copying it, though - Solr is processing every document in the old index and writing it into the new one. This is even more load on the CPU.

Databases like MySQL are also resource intensive, especially in the I/O department. Unless you have enough RAM to cache your MySQL databases as well as your entire Solr index, you're always going to run into this problem.

It's strongly recommended that you put Solr on dedicated hardware. If you asked about this on the MySQL list, I imagine they'd make the same recommendation regarding their software.

Shawn

Reply via email to