打印
[技术讨论]

全志H616(BIGTREETECH CB1)和 博通BCM2711(树莓派4B)CPU对比测试

[复制链接]
369|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
神棍地海棠|  楼主 | 2024-5-31 14:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
一,实物对比图:
BIGTREETECH CB1的底板接口的分布和树莓派4B是一样的,但是没有树莓派的音频接口,底板也不能放到树莓派4B的官方外壳里,因为底板的背面有一个DSI接口,高度超出了。
二,开发板硬件配置对比
可以看出H616为4核A53@1.5G,树莓派4B为4核A72@1.5G,树莓派4B的CPU规格略高一些,但它俩都是28nm制程工艺。
三,CPU规格对比:
这个上一个ARM官网的对比图。
四,室温下CPU温度对比
使用命令
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1/1000}'
五,lscpu命令对比
其中可以看到H616的BogoMIPS是48,树莓派4B的BogoMIPS是108。
何为BogoMIPS,MIPS是millions of instructions per second(百万条指令每秒)的缩写,其代表CPU的运算速度,是cpu性能的重要指标。但只能用来粗略计算处理器的性能,并不十分精确。
六,专业软件对比CPU
这里我们使用Sysbench这个软件来测试2款CPU的性能。
Sysbench是一个开源的、模块化的、跨平台的多线程性能测试工具,可以用来进行CPU、内存、磁盘I/O、线程、数据库的性能测试。
安装使用命令 sudo apt-get install sysbench
测试CPU命令 sysbench cpu run
biqu@Hurakan:~$ sysbench cpu runsysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)Running the test with following options:Number of threads: 1Initializing random number generator from current timePrime numbers limit: 10000Initializing worker threads...Threads started!CPU speed:    events per second:   502.43General statistics:    total time:                          10.0008s    total number of events:              5028Latency (ms):         min:                                    1.98         avg:                                    1.99         max:                                    2.19         95th percentile:                        2.00         sum:                                 9995.01Threads fairness:    events (avg/stddev):           5028.0000/0.00    execution time (avg/stddev):   9.9950/0.00biqu@Hurakan:~$ sysbench cpu runsysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)Running the test with following options:Number of threads: 1Initializing random number generator from current timePrime numbers limit: 10000Initializing worker threads...Threads started!CPU speed:    events per second:   502.85General statistics:    total time:                          10.0005s    total number of events:              5032Latency (ms):         min:                                    1.98         avg:                                    1.99         max:                                    2.20         95th percentile:                        2.00         sum:                                 9995.15Threads fairness:    events (avg/stddev):           5032.0000/0.00    execution time (avg/stddev):   9.9951/0.00biqu@Hurakan:~$
tage@raspberrypi:~ $ sysbench cpu runsysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)Running the test with following options:Number of threads: 1Initializing random number generator from current timePrime numbers limit: 10000Initializing worker threads...Threads started!CPU speed:    events per second:  1483.27General statistics:    total time:                          10.0005s    total number of events:              14840Latency (ms):         min:                                    0.67         avg:                                    0.67         max:                                    1.81         95th percentile:                        0.68         sum:                                 9994.28Threads fairness:    events (avg/stddev):           14840.0000/0.00    execution time (avg/stddev):   9.9943/0.00tage@raspberrypi:~ $
其中CPU speed: events per second:CPU速度:每秒完成数 是衡量CPU速度的指标,可以看到在单线程下,BIGTREETECH CB1是502.85,树莓派4B是1483.27。
总结:通过对2种开发板CPU进行各种对比,可以发现H616和树莓派4B在CPU性能上还是有一定差距的。

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

229

主题

237

帖子

0

粉丝