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

Openvds azure manager thread count #285

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

achaikou
Copy link
Contributor

@achaikou achaikou commented Oct 29, 2024

Master failing on memory tests: tried to investigate why debug build fails myself, also failed, so submitted issue to openvds. They don't have resources to work on it, so reverting.

In 3.4.4 open-vds introduced a way to choose number of threads used to
download data with Azure.

From experiments it might be better to decide on number of threads per
file, but
- number of threads is set through openvds environment variable
OPENVDS_AZURE_IOMANAGER_THREAD_COUNT, so one can't really define this
value per request
- there is some fluctuation in the results
- there doesn't seem to be extremely significant difference when
larger-than-desired number of threads is chosen
- whatever formula we come up with would be heuristics anyway

So for simplicity variable is defined for the whole server instance.
Experiments have shown that best value lies somewhere between ncores and
ncores x 4.
It seems like with x4 cores we get best speed, but random slower times
start to pop up.
For some reason openvds fails to build in debug mode when curl and azure
presigned io managers are disabled.

In order to keep compilation arguments the same for Release and Debug,
enable curl and azure presigned builds in all cases.

libuv library is dependency of newly reactivated openvds dependencies.
Copy link
Contributor

@ajaust ajaust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 🙂

@achaikou achaikou merged commit 4a335ca into equinor:master Oct 30, 2024
5 checks passed
@achaikou achaikou deleted the openvds_azure_manager_thread_count branch November 1, 2024 13:16
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

Successfully merging this pull request may close these issues.

2 participants