-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mbw: add page and Chinese translation (#15486)
* mbw: add page * mbw: fix link error * mbw: fix syntax error * mbw: fix link * Update pages/linux/mbw.md Co-authored-by: Sebastiaan Speck <[email protected]> * Update pages.zh/linux/mbw.md Co-authored-by: Sebastiaan Speck <[email protected]> * Update pages.zh/linux/mbw.md --------- Co-authored-by: Sebastiaan Speck <[email protected]>
- Loading branch information
1 parent
278da0d
commit 78d07fe
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# mbw | ||
|
||
> 内存带宽性能测试工具。 | ||
> 更多信息:<https://github.com/raas/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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# mbw | ||
|
||
> Memory Bandwidth Benchmark. | ||
> More information: <https://github.com/raas/mbw>. | ||
- 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` |