diff --git a/pages.zh/linux/mbw.md b/pages.zh/linux/mbw.md new file mode 100644 index 0000000000..a6a6836a0f --- /dev/null +++ b/pages.zh/linux/mbw.md @@ -0,0 +1,24 @@ +# mbw + +> 内存带宽性能测试工具。 +> 更多信息:. + +- 以 512MB 大小运行 3 次内存带宽测试: + +`mbw -n 3 512` + +- 以 512MB 大小运行 3 次内存带宽测试,仅输出统计信息,不显示平均值: + +`mbw -n 3 -q -a 512` + +- 以 512MB 大小运行 3 次内存复制测试,仅输出统计信息: + +`mbw -n 3 -q -t{{0}} 512` + +- 用 1024字节 的块运行10次内存块复制测试,分配 8192MB 内存: + +`mbw -n 10 -q -t{{2}} -b 1024 8192` + +- 持续 2048MB 大小运行内存字符串复制测试,仅输出统计信息: + +`mbw -n 0 -t{{1}} -q 2048` diff --git a/pages/linux/mbw.md b/pages/linux/mbw.md new file mode 100644 index 0000000000..d9bad7cf46 --- /dev/null +++ b/pages/linux/mbw.md @@ -0,0 +1,24 @@ +# mbw + +> Memory Bandwidth Benchmark. +> More information: . + +- Run 3 memory bandwidth tests with 512MB size: + +`mbw -n 3 512` + +- Run 3 memory bandwidth tests with 512MB memory size, output only statistics, not averages: + +`mbw -n 3 -q -a 512` + +- Run memcpy test 3 times with 512MB size, only display statistics: + +`mbw -n 3 -q -t{{0}} 512` + +- Run the memcpy test 10 times with 1024 byte blocks allocated 8192MB of memory: + +`mbw -n 10 -q -t{{2}} -b 1024 8192` + +- Run dumb test with 2048MB size, output only statistics, run forever: + +`mbw -n 0 -t{{1}} -q 2048`