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: harmony: Correctly separate this counters when sharing Max #246

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

magik6k
Copy link
Collaborator

@magik6k magik6k commented Oct 4, 2024

This was the problem - we use ActiveThis to account for hardware resources - https://github.com/filecoin-project/curio/blob/baad9d01d5480c69a5df64a452b77033cebeb799/harmony/harmonytask/harmonytask.go#L432-L431 - and if a This counter was shared between two tasks (e.g. SDR / unseal-SDR), we'd see each task take double the resources

@LexLuthr LexLuthr merged commit 866fd2e into main Oct 4, 2024
29 checks passed
@LexLuthr LexLuthr deleted the fix/shared-counters branch October 4, 2024 13:32
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.

2 participants