refactor: centralize CPU core detection using cgroup-aware utility #63

Merged
coissac merged 1 commits from push-lqzukpulzykz into main 2026-08-11 10:35:06 +00:00
Owner

Introduce obisys::effective_parallelism() to read Linux cgroup v1/v2 CPU quotas from sysfs, preventing thread pool oversubscription in containerized environments. Replace direct std::thread::available_parallelism() calls across obikindex and obikmer with this centralized function. Bump obikmer version to 1.1.41.

Introduce `obisys::effective_parallelism()` to read Linux cgroup v1/v2 CPU quotas from sysfs, preventing thread pool oversubscription in containerized environments. Replace direct `std::thread::available_parallelism()` calls across `obikindex` and `obikmer` with this centralized function. Bump `obikmer` version to 1.1.41.
coissac added 1 commit 2026-08-11 10:34:57 +00:00
refactor: centralize CPU core detection using cgroup-aware utility
Release / create-release (push) Successful in 2m26s
Release / build-linux-x86_64 (push) Successful in 8m13s
Release / build-macos-arm64 (push) Successful in 1m43s
ci.yml / build (pull_request) Canceled after 1h29m17s
5f95e866f8
Introduce `obisys::effective_parallelism()` to read Linux cgroup v1/v2 CPU quotas from sysfs, preventing thread pool oversubscription in containerized environments. Replace direct `std::thread::available_parallelism()` calls across `obikindex` and `obikmer` with this centralized function. Bump `obikmer` version to 1.1.41.
coissac merged commit fa82989ea9 into main 2026-08-11 10:35:06 +00:00
coissac deleted branch push-lqzukpulzykz 2026-08-11 10:35:06 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OBIKmers/obikmer#63