一,实物对比图:
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 run
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)Running the test with following options:
Number of threads: 1
Initializing random number generator from current timePrime numbers limit: 10000Initializing worker threads...Threads started!CPU speed:events per second: 502.43General statistics:total time: 10.0008stotal number of events: 5028Latency (ms):min: 1.98avg: 1.99max: 2.1995th percentile: 2.00sum: 9995.01Threads fairness:events (avg/stddev): 5028.0000/0.00execution time (avg/stddev): 9.9950/0.00biqu@Hurakan:~$ sysbench cpu run
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)Running the test with following options:
Number of threads: 1
Initializing random number generator from current timePrime numbers limit: 10000Initializing worker threads...Threads started!CPU speed:events per second: 502.85General statistics:total time: 10.0005stotal number of events: 5032Latency (ms):min: 1.98avg: 1.99max: 2.2095th percentile: 2.00sum: 9995.15Threads fairness:events (avg/stddev): 5032.0000/0.00execution time (avg/stddev): 9.9951/0.00biqu@Hurakan:~$
tage@raspberrypi:~ $ sysbench cpu run
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)Running the test with following options:
Number of threads: 1
Initializing random number generator from current timePrime numbers limit: 10000Initializing worker threads...Threads started!CPU speed:events per second: 1483.27General statistics:total time: 10.0005stotal number of events: 14840Latency (ms):min: 0.67avg: 0.67max: 1.8195th percentile: 0.68sum: 9994.28Threads fairness:events (avg/stddev): 14840.0000/0.00execution 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性能上还是有一定差距的。