Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention EXTRA_CLING_ARGS='-O2' somewhere in the docs #34

Open
eguiraud opened this issue Jul 20, 2023 · 0 comments
Open

Mention EXTRA_CLING_ARGS='-O2' somewhere in the docs #34

eguiraud opened this issue Jul 20, 2023 · 0 comments
Assignees

Comments

@eguiraud
Copy link
Member

Until root-project/root#11442 is fixed it's important to set the environment variable EXTRA_CLING_ARGS='-O2' (or -O3) to get good performance. For distributed execution, the env var needs to be set in every worker.

On my laptop, running on only 1 file per process on 8 physical cores, the event loop runtime goes from 9.6 seconds to 4.8 setting the variable to -O2 (runtimes are comparable using -O3).

For local multi-thread execution the instructions are simple: simply use env EXTRA_CLING_ARGS='-O2' python analysis.py instead of just python analysis.py.

For distributed execution I defer to @vepadulano 's expertise 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants