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

[test] Drop running_under_rr() check #44693

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

staticfloat
Copy link
Member

Since we're now explicitly checking that we have the ability to set
affinity, we shouldn't need this check for rr, we can more directly
avoid the problematic tests due to rr setting us to single-core
affinity already.

@staticfloat
Copy link
Member Author

Looks like it's not working. :P

@Keno
Copy link
Member

Keno commented Mar 22, 2022

Probably because we tell rr to emulate 8 cores.

@vtjnash
Copy link
Member

vtjnash commented Mar 22, 2022

There's 16 cores here. Are we still configuring buildkite to override the default settings for nthreads (which we are testing here)?

Since we're now explicitly checking that we have the ability to set
affinity, we shouldn't need this check for `rr`, we can more directly
avoid the problematic tests due to `rr` setting us to single-core
affinity already.
@staticfloat staticfloat force-pushed the sf/simplify_threading_check branch from c5eae46 to c5758a6 Compare April 28, 2022 23:47
@staticfloat
Copy link
Member Author

So it looks like setcpuaffinity() just doesn't work under rr?

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.

3 participants