×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

关于cnstream中的demo在mlu270上的性能疑惑 已解决 wmatrix2021-06-23 11:19:41 回复 2 查看
关于cnstream中的demo在mlu270上的性能疑惑
分享到:

使用MLU270-F4的加速卡,进行CNStream SDK中的示例测试,运行yolov3的目标检测demo:run_yolov3_mlu270.sh,性能统计如下:


**********************  Performance Print Start  (Whole)  **********************

===========================  Pipeline: [MyPipeline]  ===========================

------------------------------ Module: [rtsp_sink] -----------------------------

----------Process Name: [INPUT_QUEUE]

[Counter]: 3568, [Throughput]: 1656.32fps

----------Process Name: [PROCESS]

[Counter]: 3568, [Throughput]: 843.948fps

--------------------------------- Module: [osd] --------------------------------

----------Process Name: [INPUT_QUEUE]

[Counter]: 3568, [Throughput]: 719.359fps

----------Process Name: [PROCESS]

[Counter]: 3568, [Throughput]: 641.296fps

------------------------------- Module: [source] ------------------------------- (slowest)

----------Process Name: [PROCESS]

[Counter]: 3568, [Throughput]: 35.3326fps

------------------------------ Module: [detector] ------------------------------

----------Process Name: [RESIZE CONVERT]

[Counter]: 3568, [Throughput]: 4876.3fps

----------Process Name: [RUN MODEL]

[Counter]: 3568, [Throughput]: 223.447fps

----------Process Name: [PROCESS]

[Counter]: 3568, [Throughput]: 35.7663fps

----------Process Name: [INPUT_QUEUE]

[Counter]: 3568, [Throughput]: 25747.2fps


-----------------------------------  Overall  ----------------------------------

[Counter]: 3568, [Throughput]: 35.1972fps

***********************  Performance Print End  (Whole)  ***********************


看到整体pipeline的性能只有35fps多,我觉得这个Yolov3的性能数据相比于MLU270加速卡的峰值算力来说,好像太低了。关于这个性能报告是不是哪里我没理解对呢?

image.png


版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭