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

Add self-throttling to pthreads #50

Open
adammoody opened this issue Jun 1, 2019 · 1 comment
Open

Add self-throttling to pthreads #50

adammoody opened this issue Jun 1, 2019 · 1 comment

Comments

@adammoody
Copy link
Contributor

Some functionality we have in the daemon process, which was carried over from SCR, was to have the process self-throttle based on settings from the caller. For example, the calling application could impose a max bandwidth or a max runtime, and then the daemon would sleep accordingly so as to not exceed those limits. You can see this in the daemon code here:

https://github.com/ECP-VeloC/AXL/blob/master/src/axld.c#L636

This can be a useful feature when the async process is sharing a core with the application, with the goal being to prioritize the application in favor of the background file movement.

An open question for the team is whether we want to support this in AXL.

@tonyhutter
Copy link
Collaborator

This could be another use case for an "AXL_Config()" (#38). As far as the self-throttling goes, I don't know the answer, but at the very least we should allow the user to set the number of threads to use.

@adammoody adammoody changed the title Add self-throttling to pthreads? Add self-throttling to pthreads Jul 30, 2019
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