# 使用 Homebrew, apt 安装 mbw

查看 mbw 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mbw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mbw
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mbw
```

  证据: Debian stable package indexes: mbw from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:mbw
- **软件包管理器:** Homebrew
- **版本:** 2.0
- **来源摘要:** Memory Bandwidth Benchmark
- **主页:** <https://github.com/raas/mbw/>
- **仓库:** <https://github.com/raas/mbw>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mbw (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.0
## 项目历史与用法

MBW is a compact command-line memory bandwidth benchmark. It times copies between large in-memory arrays to provide a quick estimate of available memory throughput.

### 项目历史

The upstream manpage is dated April 2006, while the GitHub repository was imported in March 2012. The repository has maintained a small tagged release series through v2.0, reflecting the project's long-lived, single-purpose design.

### 采用历史

The supplied package metadata records MBW packages for Homebrew, Debian, and Ubuntu. This modest cross-platform distribution suits a small benchmark intended for quick local checks rather than a comprehensive profiling suite.

### 使用方式

Users give mbw an array size in MiB and may select tests for memcpy, a simple element-by-element copy, or arbitrary-block copies. The manpage advises avoiding paging and busy systems so the reported throughput better represents memory copying.

### 为什么软件包爱好者会关心

MBW appeals to package users because it is easy to build, easy to audit, and quick to invoke when a full benchmark suite would be excessive.

### 时间线

- 2006: The upstream manpage documents MBW's benchmark interface.
- 2012: The code is imported into the public GitHub repository and v1.2 is tagged.
- 2022: v1.5 is tagged.
- 2023: v2.0 is tagged.

### Related projects

- MBW occupies the same package niche as small memory and system benchmarks such as STREAM and lmbench, while remaining focused on copy throughput.

### 来源

- <https://github.com/raas/mbw#readme>
- <https://github.com/raas/mbw/blob/master/mbw.1>
- <https://github.com/raas/mbw/tags>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - mbw - 1.2.2-1.2: normalized package name match | Debian stable package indexes: mbw from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | memory bandwidth benchmark program | http://ahorvath.web.cern.ch/ahorvath/mbw/
- Ubuntu apt - mbw - 1.2.2-1.2: normalized package name match | Ubuntu 24.04 LTS package indexes: mbw from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | memory bandwidth benchmark program | http://ahorvath.web.cern.ch/ahorvath/mbw/


## Combined YAML source

View the package source record on GitHub. [combined/mbw.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mbw.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
