Closed jim-wang-intel closed 1 week ago
NOTE: This PR stays in draft mode until performance-tool PR for stream-density https://github.com/intel-retail/performance-tools/pull/72 is merged because of dependency on that- #72 has been merged so now it is ready for review.
PR Checklist
What are you changing?
This PR demonstrate the possibility to do the benchmarks for two (or multiple) different purposes of CV pipelines running in parallel. For more details, check this quick documentation.
Issue this PR will close
close: #issue_number
Anything the reviewer should know when reviewing this PR?
Test Instructions if applicable
git clone this PR
in loss-prevention repo, please re-build the loss-prevent docker image and make sure they are from this PR:
get the latest changes from performance-tools repo via:
For regular pipeline benchmarks run
note that BENCHMARK_DURATION increase usually to a bigger value as more pipelines running in parallel in this docker-compose example (docker-compose-2-clients.yml ) tend to slow down the system and so need more time for pipelines to be stabilized. For my NUC box, i need to increase from the default value 45 to at least 90 to gather more meaningful benchmark summary result.
here are some sample outputs you will expect to see:
For stream density needs some refactor in order to specify different target FPS for different pipelines- PR in performance tool should give this capability to test the stream density with multiple running pipelines - DONE
before run stream density, do a clean results/ directory via:
so that we have a clean start.
to run stream density for multiple parallel running pipelines example:
it should runs ok but this will take a while (about 10-20 minutes), and you should see the final results for the stream density on this two running parallel pipelines (one service is running yolov5s pipeline, and the other is running yolvo8_roi.sh pipeline).
Example console output:
If the there are associated PRs in other repositories, please link them here (i.e. intel-retail/loss-prevention )