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

chore: Name canister sandbox reader threads #3240

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

alin-at-dfinity
Copy link
Contributor

Without an explicit name, they end up named "MR Batch Processor", same as the Message Routing thread. Or at least the CPU profiler gets confused enough to bundle them with the DSM thread. This results in confusing CPU profiles.

Without an explicit name, they end up named "MR Batch Processor", same as the Message Routing thread. Or at least the CPU profiler gets confused enough to bundle them with the DSM thread. This results in confusing CPU profiles.
@github-actions github-actions bot added the chore label Dec 18, 2024
@alin-at-dfinity
Copy link
Contributor Author

Sample confusing CPU profile:
Screenshot from 2024-12-18 23-24-36

@alin-at-dfinity alin-at-dfinity marked this pull request as ready for review December 18, 2024 23:02
@alin-at-dfinity alin-at-dfinity requested a review from a team as a code owner December 18, 2024 23:02
Copy link
Contributor

@adambratschikaye adambratschikaye left a comment

Choose a reason for hiding this comment

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

Thanks, just some nit-picking on the names.

rs/canister_sandbox/src/launcher.rs Outdated Show resolved Hide resolved
rs/canister_sandbox/src/process.rs Outdated Show resolved Hide resolved
rs/canister_sandbox/src/transport.rs Outdated Show resolved Hide resolved
@alin-at-dfinity
Copy link
Contributor Author

All done.

Thanks a lot for suggesting better names. I was going to ask for more appropriate ones, but then got carried away with other stuff and forgot.

@alin-at-dfinity alin-at-dfinity added this pull request to the merge queue Dec 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 19, 2024
@alin-at-dfinity alin-at-dfinity added this pull request to the merge queue Dec 19, 2024
Merged via the queue into master with commit 2b5243d Dec 19, 2024
27 checks passed
@alin-at-dfinity alin-at-dfinity deleted the alin/name-canister-sandbox-reader-threads branch December 19, 2024 12:14
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.

2 participants