Hi,

I have a big problem with the performance of running Solr 5 with JDK 8.

Details:
- tried with both Solr 5.4.0 and Solr 5.5.0  (even with Solr 4)
- default Solr 5 configuration
- created a new core, for which I am using data import handler to get data
from MySQL


When I am trying to index data using the import handler, the import is very
fast with JDK 7 and awful slow with JDK 8 ! Here are the results copied
from Solr gui:

- *JDK 7  - Duration 17 seconds*

Indexing completed. Added/Updated: 5,997 documents. Deleted 0
documents. *(Duration:
17s)*

Requests: 6 (0/s), Fetched: 235,593 (13,858/s), Skipped: 0, Processed:
5,997 (353/s)



- *JDK 8 - Duration 7 minutes*

Indexing completed. Added/Updated: 5,997 documents. Deleted 0
documents. *(Duration:
7m 06s)*
Requests: 6 (0/s), Fetched: 47,160 (111/s), Skipped: 0, Processed: 5,997


As you can see, there is a problem with the performance being awful with
JDK 8. While calling DIH to index, I got no errors in the log, but the
indexing just didn't do anything for some minutes and then started again.
This is very strange I could not find the reason why this is happening.


I also found these ideas on Solr Wiki:

https://wiki.apache.org/solr/SolrPerformanceProblems -> GC pause problems

https://wiki.apache.org/solr/ShawnHeisey#GC_Tuning_for_Solr

The thing is that it's saying " If you are using the bin/solr or bin\solr
script to start Solr, you already have GC tuning and won't need to worry
about the recommendations here."; I did check the scripts in /bin directory
and there is set a Garbage tuning "set GC_TUNE ...".


I would appreciate if you can help with this issue.


Best regards,

Dragos

Reply via email to