Chris Ho

Results 12 comments of Chris Ho

After testing, when operating about 100 VMs, Kubevirt components' CPU utilization surge, as below:

> After testing, when operating about 100 VMs, Kubevirt components' CPU utilization surge, as below: ... According to the above, the CPU is not found to be too high.

**Latest tests:** 100 VMS, 1c1g, 30 minutes restart continuously. ### CPU **Query** ``` sum(irate(container_cpu_usage_seconds_total{container="virt-api"}[5m]) * 100) by (pod) sum(irate(container_cpu_usage_seconds_total{container="virt-controller"}[5m]) * 100) by (pod) sum(irate(container_cpu_usage_seconds_total{container="virt-handler"}[5m]) * 100) by (pod) ``` Component...

Use kubevirt's cluster-profiler to profile the control-plane https://github.com/harvester/harvester/issues/2729#issuecomment-1254981568 Shows the virt components Flame Graph. virt-api: virt-controller: virt-handler(among the nodes):

Each period is 1 minute, so if you want to see the statistics, wait at least 2 minutes.

thanks @rthallisey I recently did some CPU benchmark tests on virt components, when operating about 100 VMs, as below: ![image](https://user-images.githubusercontent.com/3347460/191921369-aa6813d4-5a84-47bb-ad78-b9a4453b9976.png) ![image](https://user-images.githubusercontent.com/3347460/191921383-9520753e-1a2c-441a-957c-f4902bea6081.png) ![image](https://user-images.githubusercontent.com/3347460/191921403-47acb979-da79-4e4d-930e-76b7eaf49880.png) Can you provide pprof for virt components? I...

After re-verification, CPU performance is fine, the PromQL statement refers to the CPU percentage ratio and not the number of cores used. https://github.com/harvester/harvester/pull/2774#issuecomment-1294426262 In addition, I also analyzed kubevirt components...

Look into the Kubevirt components CPU spike issue

> Can you share some detail about the pressure you're applying to the KubeVirt control-plane, e.g. creating 100 vmis at once? I have tried to restart 100 vmis at once,...

Performance test report: https://github.com/harvester/harvester/pull/2774#issuecomment-1294426262