Skip to content

Commit c540b06

Browse files
metaspaceojeda
authored andcommitted
NVMe driver: add v6.8 benchmarks
Signed-off-by: Andreas Hindborg <a.hindborg@samsung.com> [ Replaced MathJax with simple MathML -- let's be modern. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 654a046 commit c540b06

File tree

3 files changed

+4181
-1
lines changed

3 files changed

+4181
-1
lines changed

src/NVMe-driver.md

+36-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ implementation language for high performance device drivers.
77

88

99
The Linux Rust NVMe driver lives
10-
[here](https://github.com/metaspace/linux/tree/nvme). This branch is routinely
10+
[here](https://github.com/metaspace/linux/tree/rnvme). This branch is routinely
1111
rebased on upstream Linux releases. Please be aware that the `nvme` branch is
1212
force pushed without notice. The version based on the deprecated `rust` branch
1313
is available [here](https://github.com/metaspace/linux/tree/nvme-rust).
@@ -23,6 +23,41 @@ The driver is not currently suitable for general use.
2323
[slides](https://lpc.events/event/16/contributions/1180/attachments/1017/1961/deck.pdf)
2424
and [video](https://lpc.events/event/16/contributions/1180/attachments/1017/2249/go)
2525

26+
## 6.8 Rebase Performance ([`rnvme-v6.8`](https://github.com/metaspace/linux/tree/rnvme-v6.8))
27+
28+
### Setup
29+
30+
- AMD Ryzen 5 7600
31+
- 32 GB 4800 MT/s DDR5 on one channel
32+
- 1x Samsung 990 Pro 1TB (PCIe 4.0 x4 16 GT/S)
33+
- NixOS 23.11
34+
35+
### Results
36+
37+
- 40 samples
38+
- Difference of means modeled with t-distribution
39+
- P95 confidence intervals
40+
41+
![](rnvme/nvme-v6.8-absolute.svg)
42+
43+
![](rnvme/nvme-v6.8-relative.svg)
44+
45+
The graph shows
46+
<math>
47+
<mfrac>
48+
<mrow>
49+
<mi>R</mi>
50+
<mo>-</mo>
51+
<mi>C</mi>
52+
</mrow>
53+
<mrow>
54+
<mi>C</mi>
55+
</mrow>
56+
</mfrac>
57+
</math>
58+
where C is IO/s for the C driver and R is IO/s for the Rust driver. Thus, negative
59+
means the C driver is faster while positive means the Rust driver is faster.
60+
2661
## 6.7 Rebase Performance ([`nvme-6.7`](https://github.com/metaspace/linux/tree/nvme-6.7))
2762

2863
### Setup

0 commit comments

Comments
 (0)