Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2356

indexing using DataImportHandler does not use entire CPU capacities

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 4.0-ALPHA
    • None
    • update
    • intel xeon processor (4 cores), Debian Linux Lenny, OpenJDK 64bits server v1.6.0

    Description

      When I use a DataImportHandler to index a large number of documents (~35M), cpu usage doesn't go over than 100% cpu (i.e. just one core).
      When I configure 4 threads for the <entity> tag, the cpu usage is splitted to 25% per core but never use 400% of cpu (i.e 100% of the 4 cores)

      I use solr embedded with jetty server.
      Is there a way to tune this feature in order to use all cores and improve indexing performances ?
      Because for the moment, an extra script (PHP) gives better indexing performances than DIH.

      thanks

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              colby colby
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified