...
The testbed setup is shown in the below diagram.
figure1: Run Figure1 Run Robox Through K8s
Figure2 figure2: Collect Collect Data From Node
Test Environment
Hardware Requirements
...
login web browser, then switch to the Pods tab, it display as follow:
Figure3: Figure3 Watch cluster pod status through kuboard
3. By Prometheus
login web browser, then switch to the Targets tab, it display as follow:
Figure4: Figure4 Components on Prometheus
Then switch to the “Status” tab, the box is the event what we want to query, and type “perf_sched_sched_migrate_task”, After a few minutes, you can see
the monitoring curve as bellow:
Figure5: Figure5 Event Statistics On Prometheus
4. By grafana
step1: add data source
...
Click the below on dashboard:
+ -> import -> enter dashboardid 1860(prometheus node is 1860)
Just click load.
Figure6:Figure6 Display Data Through Grafana
Test API description
The test is to evaluate the Android container available.
...
To increase the workload, we need to start more robox instances.
Figure7 Figure7: Create Many Robox Instances, Watched By VNC
Download bomb squad apk on googleplay and install via adb
...
Click on the application icon, and then make the relevant settings, such as Auto test mode、Show FPS.
Figure8: Figure8 Install Apk On Robox Container, Watched By VNC
We ran up to 20 instances on a single node, each instance ran an auto-tested bomb squad app, and we could watch the realtime fps.
...
The flame graph display effect is as follows
Figure9: Figure9 Generate Flame Graph From Perf Events
Blueprint extension tests
...