https://github.com/sh1ftd/dma-speedtest-memflow-rs
A Windows command-line tool for benchmarking DMA (Direct Memory Access) read/write speeds using the memflow framework.
https://github.com/sh1ftd/dma-speedtest-memflow-rs
dma firmware fpga memflow speed speedtest test
Last synced: 21 days ago
JSON representation
A Windows command-line tool for benchmarking DMA (Direct Memory Access) read/write speeds using the memflow framework.
- Host: GitHub
- URL: https://github.com/sh1ftd/dma-speedtest-memflow-rs
- Owner: sh1ftd
- License: agpl-3.0
- Created: 2025-03-11T01:38:03.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-06T06:02:30.000Z (about 2 months ago)
- Last Synced: 2025-04-06T06:27:41.343Z (about 2 months ago)
- Topics: dma, firmware, fpga, memflow, speed, speedtest, test
- Language: Rust
- Homepage:
- Size: 2.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DMA Speedtest Memflow RS
A Windows command-line tool for benchmarking DMA (Direct Memory Access) read/write speeds using the memflow framework.
## Features
- Measure real-world DMA read/write performance and latency
- Comprehensive speed testing (sequential/random/bulk reads)
- Detailed performance metrics (throughput, latency, error rates)
- Support for multiple connector types## Command Line Usage
```bash
dma-speedtest-memflow-rs [OPTIONS]Options:
-c, --connector [default: pcileech] [possible values: pcileech, native, qemu, kvm]
--pcileech-device PCILeech device name [default: FPGA]
-d, --duration Test duration in seconds [default: 5]
-h, --help Print help
```### Connector Examples
```bash
# Physical DMA hardware
dma-speedtest-memflow-rs --connector pcileech# Local testing
dma-speedtest-memflow-rs --connector native# Virtual machine testing
dma-speedtest-memflow-rs --connector qemu# KVM testing
dma-speedtest-memflow-rs --connector kvm
```## Quick Start
```bash
# Clone and build
git clone https://github.com/sh1ftd/dma-speedtest-memflow-rs.git
cd dma-speedtest-memflow-rs
cargo build --release# Run
./target/release/dma-speedtest-memflow-rs
```## Requirements
- Windows OS (64-bit)
- Compatible DMA hardware (for pcileech connector)
- Administrator privileges
- Appropriate drivers for chosen connector## Credits
Built with [Rust](https://www.rust-lang.org/) and [memflow](https://github.com/memflow/memflow)