I've built and installed the latest snapshot of Solr 4.10 using the same SolrCloud configuration and that gave me a tenfold increase in throughput, so it certainly looks like SOLR-6136 was the issue that was causing my slow insert rate/high latency with shard routing and replicas. Thanks for your help.
Timothy Potter wrote > Hi Ian, > > What's the CPU doing on the leader? Have you tried attaching a > profiler to the leader while running and then seeing if there are any > hotspots showing. Not sure if this is related but we recently fixed an > issue in the area of leader forwarding to replica that used too many > CPU cycles inefficiently - see SOLR-6136. > > Tim -- View this message in context: http://lucene.472066.n3.nabble.com/Slow-inserts-when-using-Solr-Cloud-tp4146087p4149219.html Sent from the Solr - User mailing list archive at Nabble.com.