mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 20:55:24 +02:00
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 <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages.zh/linux/mbw.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages.zh/linux/mbw.md --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
278da0d188
commit
78d07fe5e6
2 changed files with 48 additions and 0 deletions
24
pages.zh/linux/mbw.md
Normal file
24
pages.zh/linux/mbw.md
Normal file
|
@ -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
pages/linux/mbw.md
Normal file
24
pages/linux/mbw.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue