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

Improve efficiency and fix cgroups #10

Merged
merged 17 commits into from
Sep 1, 2024
Merged

Improve efficiency and fix cgroups #10

merged 17 commits into from
Sep 1, 2024

Conversation

protortyp
Copy link
Owner

Fixes some of the cgroups hardcoded paths, and improves efficiency by replacing Mutex<HashMap> with DashMap for faster read access, as write requests may be more rare.

Copy link

codecov bot commented Sep 1, 2024

Codecov Report

Attention: Patch coverage is 58.49057% with 22 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/mworker/src/worker.rs 0.00% 13 Missing ⚠️
crates/mbatch/src/main.rs 0.00% 9 Missing ⚠️
Files with missing lines Coverage Δ
crates/cgroups/src/cgroups.rs 93.89% <100.00%> (+0.61%) ⬆️
crates/cgroups/src/cgroups_test.rs 90.94% <100.00%> (+0.05%) ⬆️
crates/melond/src/scheduler.rs 93.24% <ø> (+0.29%) ⬆️
crates/mbatch/src/main.rs 0.00% <0.00%> (ø)
crates/mworker/src/worker.rs 0.00% <0.00%> (ø)

@protortyp protortyp merged commit 12f8bd6 into main Sep 1, 2024
6 of 7 checks passed
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.

1 participant