You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I first indexed AOSP code (customized) using opengrok-indexer, the time it took to complete was several hours longer when using 64CPUs than when using 16CPUs.
I tried changing the disk specifications, but the time it took to create the history cache remained almost the same.
I tried running the indexer with --historyThreads and --historyFileThreads set to 16, and the execution time was almost the same as when using 16vCPUs. I believe the number of CPUs is affecting this.
I'd like to reduce the time it takes to create the history cache.
Could you please give me some advice on tuning methods and the optimal number of CPUs?
Usage environment and time recorded by "Done history cache for all repositories":
opengrok/docker:1.13.28
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I first indexed AOSP code (customized) using opengrok-indexer, the time it took to complete was several hours longer when using 64CPUs than when using 16CPUs.
I tried changing the disk specifications, but the time it took to create the history cache remained almost the same.
I tried running the indexer with --historyThreads and --historyFileThreads set to 16, and the execution time was almost the same as when using 16vCPUs. I believe the number of CPUs is affecting this.
I'd like to reduce the time it takes to create the history cache.
Could you please give me some advice on tuning methods and the optimal number of CPUs?
Usage environment and time recorded by "Done history cache for all repositories":
opengrok/docker:1.13.28
Indexer options:
opengrok-indexer
-a /opengrok/lib/opengrok.jar \
-J=-Djava.util.logging.config.file=/opengrok/config/logging.properties.index \
-J=-XX:MaxRAMPercentage=50 \
-- -v \
-s /opengrok/src \
-d /opengrok/data \
-W /opengrok/etc/configuration.xml \
-U "$URI" \
--renamedHistory on \
--depth 50 \
--nestingMaximum 50 \
-c /usr/local/bin/ctags \
-m "256" \
-H\
-P\
-S\
-G
Beta Was this translation helpful? Give feedback.
All reactions