-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Labels
type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Feature Request
Is your feature request related to a problem? Please describe:
Now we can only get number of physical cpu cores by dbms/src/Common/getNumberOfPhysicalCPUCores.cpp.
getNumberOfPhysicalCPUCores()will return number of logical cpu cores in some cases which is misleading.- In most cases, number of logical cpu cores matters rather than physical cpu cores especially in cloud env.
Describe the feature you'd like:
Add a function to get number of logical cpu cores which support different env like docker/k8s, cgroup subsystem.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.