CARS Stream Performance#
Test Server Configuration#
The performance of CARS Stream is measured by the number of frames processed per second. This metric depends on the parameters of the input video data:
- File resolution;
- Number of bits per color;
- Vehicle stream load.
Input data parameters used for testing CARS Stream:
- Resolution: 1920x1080;
- The approximate number of cars passing in the video file spb for the Test 1: 290;
- The approximate number of cars passing in the video file mkd_zao for the Test 2: 6.
The measured values are the average of at least 100 experiments.
The test server parameters are shown in Table 17.
Table 17. Test Server Parameters
№ | Parameter | Value |
---|---|---|
1 | CPU | Model name: Intel(R) Xeon(R) Silver 4210 CPU |
Thread(s) per core: 2 | ||
Core(s) per socket: 10 | ||
2 | CPU frequency | 2.20GHz |
3 | RAM | 125G |
4 | Memory | 240GB INTEL SSDSC2KB24 |
5 | Operation system | CentOS 8 |
All available CPU cores were used in the experiments on detecting vehicle and LP.
Performance test results#
The overall CARS Stream benchmark results are shown in Table 18.
Table 18. Results
Video |
Number of APIs |
Number of cameras |
CPU load by service |
Total CPU load |
RAM usage by service |
Total RAM usage |
spb |
2 |
1 |
carsstream_1: 143,95 |
224,79 |
1492 |
10388,89 |
api-worker_1: 48,11 |
4662,78 |
|||||
api-worker_2: 32,73 |
4234,11 |
|||||
spb |
2 |
4 |
carsstream_1: 503,85 |
1173,91 |
3211,89 |
12441,56 |
api-worker_1: 316,44 |
4412,89 |
|||||
api-worker_2: 353,62 |
4816,78 |
|||||
mkd_zao |
2 |
1 |
carsstream_1: 31,66 |
31,81 |
1412,11 |
8659,67 |
api-worker_1: 0,07 |
3539 |
|||||
api-worker_2: 0,08 |
3708,56 |
|||||
mkd_zao |
2 |
24 |
carsstream_1: 927,74 |
930,76 |
17808,89 |
25455,44 |
api-worker_1: 0,11 |
3818,11 |
|||||
api-worker_2: 2,91 |
3828,44 |