Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    BIGTREETECH CB1(H616)和 树莓派4B CPU对比测试

    H/F/TV Series
    1
    1
    1667
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • newcastle
      newcastle LV 6 last edited by

      一,实物对比图:
      BIGTREETECH CB1的底板接口的分布和树莓派4B是一样的,但是没有树莓派的音频接口,底板也不能放到树莓派4B的官方外壳里,因为底板的背面有一个DSI接口,高度超出了。
      201907xlb43bzmylymyylh.jpg

      二,开发板硬件配置对比
      可以看出H616为4核A53@1.5G,树莓派4B为4核A72@1.5G,树莓派4B的CPU规格略高一些,但它俩都是28nm制程工艺。
      1512E894-0C0E-43cd-8A84-478369EB6BDE.png

      三,CPU规格对比:
      这个上一个ARM官网的对比图。
      77380663-3897-49b1-8AC3-3EE58CF8CDF7.png 83BBD7A5-B490-426d-979F-AB552ADAEBDB.png

      四,室温下CPU温度对比
      使用命令
      cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1/1000}'
      201912g000wn07a7uowwao.jpg 201912emssmleinhf418la.jpg

      五,lscpu命令对比

      其中可以看到H616的BogoMIPS是48,树莓派4B的BogoMIPS是108。

      何为BogoMIPS,MIPS是millions of instructions per second(百万条指令每秒)的缩写,其代表CPU的运算速度,是cpu性能的重要指标。但只能用来粗略计算处理器的性能,并不十分精确。

      201914rmb1nm56mor25zkt.jpg 201913w7g0t4747etqggit.jpg

      六,专业软件对比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 time
      
      
      Prime numbers limit: 10000
      
      Initializing worker threads...
      
      Threads started!
      
      CPU speed:
          events per second:   502.43
      
      General statistics:
          total time:                          10.0008s
          total number of events:              5028
      
      Latency (ms):
               min:                                    1.98
               avg:                                    1.99
               max:                                    2.19
               95th percentile:                        2.00
               sum:                                 9995.01
      
      Threads fairness:
          events (avg/stddev):           5028.0000/0.00
          execution time (avg/stddev):   9.9950/0.00
      
      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 time
      
      
      Prime numbers limit: 10000
      
      Initializing worker threads...
      
      Threads started!
      
      CPU speed:
          events per second:   502.85
      
      General statistics:
          total time:                          10.0005s
          total number of events:              5032
      
      Latency (ms):
               min:                                    1.98
               avg:                                    1.99
               max:                                    2.20
               95th percentile:                        2.00
               sum:                                 9995.15
      
      Threads fairness:
          events (avg/stddev):           5032.0000/0.00
          execution time (avg/stddev):   9.9951/0.00
      
      biqu@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 time
      
      
      Prime numbers limit: 10000
      
      Initializing worker threads...
      
      Threads started!
      
      CPU speed:
          events per second:  1483.27
      
      General statistics:
          total time:                          10.0005s
          total number of events:              14840
      
      Latency (ms):
               min:                                    0.67
               avg:                                    0.67
               max:                                    1.81
               95th percentile:                        0.68
               sum:                                 9994.28
      
      Threads fairness:
          events (avg/stddev):           14840.0000/0.00
          execution time (avg/stddev):   9.9943/0.00
      
      tage@raspberrypi:~ $
      

      其中CPU speed: events per second:CPU速度:每秒完成数 是衡量CPU速度的指标,可以看到在单线程下,BIGTREETECH CB1是502.85,树莓派4B是1483.27。

      总结:通过对2种开发板CPU进行各种对比,可以发现H616和树莓派4B在CPU性能上还是有一定差距的。

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策