Skip to content

Conversation

@vladak
Copy link
Member

@vladak vladak commented Nov 4, 2022

This change bumps the pool size for xref watcher from 1 to the indexer parallelism level (by default set to the number of CPUs in the system). This speeds up the indexing by about 20% when indexing the Linux kernel repository from scratch on my laptop with 8 CPUs and using --threads 32 and not using -H (i.e. only 2nd phase of indexing was run).

before and after the change: indexer-before
indexer-after

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 4, 2022
@vladak
Copy link
Member Author

vladak commented Nov 7, 2022

after both watchers were changed:
double-watcher

@vladak vladak merged commit d703365 into oracle:master Nov 7, 2022
@vladak vladak deleted the index_parallelizer_xref_watcher_pool_size branch November 7, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant