Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6372

Kubernetes CPU quotas and process scheduling behavior

$
0
0

Given a Pod defining a container that runs a single-threaded application, and a CPU limit value of 1:

apiVersion: v1kind: Podmetadata:  name: single-threaded-workloadspec:  containers:  - name: microservice    image: single-threaded-workload    resources:      limits:        cpu: "1"      requests:        cpu: 250m

Would the single-threaded application ever be CPU throttled?

Would increasing the CPU limit value to higher than 1 provide any performance benefit?

(This is assuming the container only has 1 active thread running)


Viewing all articles
Browse latest Browse all 6372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>