Run kubectl apply -f lscpu-fargate.yaml
Model name: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz (Broadwell, i3 instances)
Model name: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (m5 instances)
Model name: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz (m5 instances)
Model name: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz (c5 instances)
Summary:
- CPU on AWS Fargate can be powered by C5, M5 or R5
- Not consistent performance can be expected
- Refer to sysbench.yaml
...
args:
["cpu", "--threads=4", "--cpu-max-prime=20000", "--time=30", "run"]
...
resources:
limits:
cpu: "4"
memory: "4Gi"
- Score 39894
CPU speed:
events per second: 1329.61
General statistics:
total time: 30.0027s
total number of events: 39894
- Score 43075
CPU speed:
events per second: 1435.66
General statistics:
total time: 30.0023s
total number of events: 43075
- Score 39081
CPU speed:
events per second: 1302.54
General statistics:
total time: 30.0020s
total number of events: 39081
- Score 39514
CPU speed:
events per second: 1316.98
General statistics:
total time: 30.0022s
total number of events: 39514
- resource limits setting vCPU 4
- Score 54963
CPU speed:
events per second: 1831.91
General statistics:
total time: 30.0018s
total number of events: 54963
- Score 47281
CPU speed:
events per second: 1575.83
General statistics:
total time: 30.0024s
total number of events: 47281
- Score 47172
CPU speed:
events per second: 1572.25
General statistics:
total time: 30.0014s
total number of events: 47172