https://github.com/demindiro/bcachefs-benchmarks
Benchmark stuff I did for my own NAS -- Take it with a grain of salt
https://github.com/demindiro/bcachefs-benchmarks
Last synced: over 1 year ago
JSON representation
Benchmark stuff I did for my own NAS -- Take it with a grain of salt
- Host: GitHub
- URL: https://github.com/demindiro/bcachefs-benchmarks
- Owner: Demindiro
- Created: 2019-04-08T17:36:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T00:53:15.000Z (over 7 years ago)
- Last Synced: 2025-02-07T06:26:58.848Z (over 1 year ago)
- Language: Shell
- Size: 9.43 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bunch 'o random data about me benchmarking bcachefs
# DO NOT TRUST THESE BENCHMARKS
I thought I had to use the `-I` flag in `iozone` (`O_DIRECT`) but it should've been
`-o` (`O_SYNC`). FML
## Requirements
- Bash
- GNUPlot
## How the data was generated
I will commit the script later, but basically
1. Format a filesystem
2. Mount the filesystem
3. `iozone -a -I` in the mount directory
## How to generate plots with the scripts
1. `./format-allcol.sh `
2. `./mkplot.sh /`
### Examples
```
./format-allcol.sh 6-HDD-1-NVMe write-caching 6-HDD-1-NVMe/write-caching-?
./mkplot.sh 6-HDD-1-NVMe/write-caching
```
```
./format-allcol.sh 6-HDD-1-NVMe base-vs-lz4-compression 6-HDD-1-NVMe/base-5 6-HDD-1-NVMe/lz4-compression-5
./mkplot.sh 6-HDD-1-NVMe/base-vs-lz4-compression
```
## Important notes
When testing caching, make sure the SSD doesn't throttle (+/- 50°C causes _heavy_ throttling)