root@LCPI-H616:~ # sysbench cpu --threads=4 --cpu-max-prime=100000 run sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)
Running the test with following options: Number of threads: 4 Initializing random number generator from current time
Prime numbers limit: 100000
Initializing worker threads... Threads started!
CPU speed: events per second: 133.81 # 解析:每秒完成133.81次素数运算,正常偏优水平 General statistics: total time: 10.0160s # 解析:总测试时长10秒,符合sysbench默认配置 total number of events: 1341 # 解析:10秒内完成1341次运算,平均每核335次,负载均衡
root@LCPI-H616:~ # sysbench memory --memory-block-size=4M --memory-total-size=512M \ --memory-oper=write --threads=4 run sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 4 Initializing random number generator from current time Running memory speed test with the following options: block size: 4096KiB total size: 512MiB operation: write scope: global Initializing worker threads... Threads started! Total operations: 128 ( 584.25 per second) # 解析:每秒完成584.25次4MB块写入,运算逻辑:128次×4MB=512MB 512.00 MiB transferred (2336.99 MiB/sec) # 解析:内存写入速度达2336.99 MiB/s(约2.28 GB/s) General statistics: total time: 0.2129s # 解析:512MB数据写入仅耗时0.21秒,速度表现优异 total number of events: 128 Latency (ms): min: 1.99 # 解析:单次写入最短耗时1.99ms avg: 5.84 # 解析:平均耗时5.84ms,内存响应速度快 max: 28.30 # 解析:最大耗时28.30ms,偶发高延迟,与内存调度策略相关 95th percentile: 17.32 # 解析:95%写入操作≤17.32ms,稳定性良好 sum: 746.92 Threads fairness: events (avg/stddev): 32.0000/0.00 # 解析:四核均分128次操作,每核32次,无负载不均 execution time (avg/stddev): 0.1867/0.02 # 解析:线程执行时间偏差小,内存控制器调度高效
内存测试结果截图
总结
性能定位:LCPI H616 ZERO的CPU、内存性能与同架构Orange Pi Zero2基本持平,属于同一梯队;