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

Adding enable_elasticity option to pool configuration #3019

Merged
merged 2 commits into from Nov 27, 2017
Merged

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Nov 21, 2017

  • fixing performance problem related to get_used_processing_units() for
    non-elastic pools

This specifically leaves open the issue of get_used_processing_units() returning an unprotected reference to the mask. This has to be resolved separately.

Copy link
Member

@sithhell sithhell left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@hkaiser hkaiser force-pushed the pool_elasticity branch 2 times, most recently from a15c9ff to 55ea677 Compare November 22, 2017 00:26
- fixing performance problem related to get_used_processing_units() for
  non-elastic pools
@@ -14,7 +14,8 @@ namespace hpx { namespace threads { namespace policies
do_background_work = 0x1,
reduce_thread_priority = 0x02,
delay_exit = 0x04,
fast_idle_mode = 0x08
fast_idle_mode = 0x08,
enable_elasticity = 0x10
Copy link
Contributor

@biddisco biddisco Nov 23, 2017

Choose a reason for hiding this comment

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

It'd be nice to see a few lines of comment added here to let the next person know what each of these flags/options is for.

@hkaiser
Copy link
Member Author

hkaiser commented Nov 26, 2017

@biddisco your comments have been addressed.

Copy link
Contributor

@biddisco biddisco left a comment

Choose a reason for hiding this comment

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

Lovely thank you

@hkaiser hkaiser merged commit 6679a88 into master Nov 27, 2017
@hkaiser hkaiser deleted the pool_elasticity branch November 27, 2017 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants