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

Fix RPS Processor Usage #3702

Merged
merged 6 commits into from
Jun 15, 2023
Merged

Fix RPS Processor Usage #3702

merged 6 commits into from
Jun 15, 2023

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Jun 14, 2023

Description

Recent changes to how the processor index is calculated broke RPS tests on Windows. This fixes them by taking into account that a given processor index may refer to an inactive processor (since we track maximum, not active, processors). The RPS test code wants to only use active processors, so it iterates over all processors, skipping inactive ones.

Testing

Automation

Documentation

N/A

@nibanks nibanks requested a review from a team as a code owner June 14, 2023 16:43
mtfriesen
mtfriesen previously approved these changes Jun 14, 2023
@csujedihy
Copy link
Contributor

csujedihy commented Jun 14, 2023

Can we make the PR description clearer? I think I understand now why it fails. It seems that the proc info array contains items for non-active processes now and RPS client still assumes it only has items for active procs.

csujedihy
csujedihy previously approved these changes Jun 14, 2023
@nibanks nibanks dismissed stale reviews from csujedihy and mtfriesen via 74a7505 June 14, 2023 19:42
@nibanks nibanks merged commit e6a1ffd into main Jun 15, 2023
319 of 324 checks passed
@nibanks nibanks deleted the nibanks/proc-info branch June 15, 2023 00:39
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.

None yet

3 participants