-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-31569 Thor CostExecute calc will be incorrect if workersPerPod > 1 #18497
Conversation
…ances Signed-off-by: Shamser Ahmed <[email protected]>
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-31569 Jirabot Action Result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the change is correct, but it does beg the question, why was it changed in https://hpccsystems.atlassian.net/browse/HPCC-28296 ?
Unfortunately, that JIRA doesn't describe the problem sufficiently to tell what the motivation was.
@@ -13937,13 +13937,16 @@ extern WORKUNIT_API double getThorManagerRate() | |||
|
|||
extern WORKUNIT_API double getThorWorkerRate() | |||
{ | |||
// Note: (bare-metal) the use of getAffinityCpus to get the number of CPUs used by workers | |||
// doesn't really make sense since the caller is likely to be running on thor manager (so it will | |||
// return cpu affinity for the manager, rather than for the worker). This needs rethinking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed. Is there a JIRA to track this? (can you link it to HPCC-31569)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. I've created https://hpccsystems.atlassian.net/browse/HPCC-31572 and linked to this issue.
@shamser - look correct to me, but could do with a fuller description of the problem in title+description + a associating a JIRA for the bare-metal issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shamser - looks correct.
Type of change:
Checklist:
Smoketest:
Testing: