-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Feature request description
krun, if no additional parameters are specified, assigns 16 vCPUs, while can usually be too much for a single threaded container and adds extra overhead.
--cpuset-cpus= could limit the cores assigned, but it also binds the workload to specific cores and requires extra permission.
--cpus just limits the time assigned but the krun instance will still use 16 vcpus.
Suggest potential solution
Maybe the code change is related to krun, what I want is when --cpus=2 is specified, the kvm instance will only have 2 cpus.
Have you considered any alternatives?
--cpuset-cpus=, at the cost of permission required + binding to specific cores.
Additional context
This might be the job for krun, if so, feel free to move this issue.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.