mbw

飞腾与龙芯的内存性能简单对比

a 夏天 提交于 2021-02-12 11:15:54
1. 使用的工具 mbw 1 . 安装方法: git clone http: // github.com/raas/mbw cd mbw make 2 .执行命令 . /mbw 16 -b 4096 2.1 龙芯机器 [root@NeoKylin mbw]# ./mbw -b 4096 16 Long uses 8 bytes. Allocating 2 * 2097152 elements = 33554432 bytes of memory. Using 4096 bytes as blocks for memcpy block copy test. Getting down to business... Doing 10 runs per test. 0 Method: MEMCPY Elapsed: 0.00831 MiB: 16.00000 Copy: 1925.855 MiB/ s 1 Method: MEMCPY Elapsed: 0.00743 MiB: 16.00000 Copy: 2151.984 MiB/ s 2 Method: MEMCPY Elapsed: 0.00725 MiB: 16.00000 Copy: 2207.810 MiB/ s 3 Method: MEMCPY Elapsed: 0.00756 MiB: 16.00000 Copy: