Skip to content

Commit

Permalink
mbw: add page and Chinese translation (#15486)
Browse files Browse the repository at this point in the history
* 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
witt-bit and sebastiaanspeck authored Jan 21, 2025
1 parent 278da0d commit 78d07fe
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pages.zh/linux/mbw.md
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`
24 changes: 24 additions & 0 deletions pages/linux/mbw.md
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`

0 comments on commit 78d07fe

Please sign in to comment.