diff --git a/book.toml b/book.toml index a58867d..576a1f1 100644 --- a/book.toml +++ b/book.toml @@ -11,6 +11,7 @@ create-missing = false git-repository-url = "https://github.com/Rust-for-Linux/rust-for-linux.com" edit-url-template = "" no-section-label = true +mathjax-support = true [output.html.fold] enable = true diff --git a/src/NVMe-driver.md b/src/NVMe-driver.md index c69a025..7e9caa7 100644 --- a/src/NVMe-driver.md +++ b/src/NVMe-driver.md @@ -7,7 +7,7 @@ implementation language for high performance device drivers. The Linux Rust NVMe driver lives -[here](https://github.com/metaspace/linux/tree/nvme). This branch is routinely +[here](https://github.com/metaspace/linux/tree/rnvme). This branch is routinely rebased on upstream Linux releases. Please be aware that the `nvme` branch is force pushed without notice. The version based on the deprecated `rust` branch is available [here](https://github.com/metaspace/linux/tree/nvme-rust). @@ -23,6 +23,29 @@ The driver is not currently suitable for general use. [slides](https://lpc.events/event/16/contributions/1180/attachments/1017/1961/deck.pdf) and [video](https://lpc.events/event/16/contributions/1180/attachments/1017/2249/go) +## 6.8 Rebase Performance ([`rnvme-v6.8`](https://github.com/metaspace/linux/tree/rnvme-v6.8)) + +### Setup + + - AMD Ryzen 5 7600 + - 32 GB 4800 MT/s DDR5 on one channel + - 1x Samsung 990 Pro 1TB (PCIe 4.0 x4 16 GT/S) + - NixOS 23.11 + +### Results + +- 40 samples +- Difference of means modeled with t-distribution +- P95 confidence intervals + +![](rnvme/nvme-v6.8-absolute.svg) + +![](rnvme/nvme-v6.8-relative.svg) + +The graph shows \\( \frac{R-C}{C} \\) where C is IO/s for the C driver and R is +IO/s for the Rust driver. Thus, negative means the C driver is faster while +positive means the Rust driver is faster. + ## 6.7 Rebase Performance ([`nvme-6.7`](https://github.com/metaspace/linux/tree/nvme-6.7)) ### Setup diff --git a/src/rnvme/nvme-v6.8-absolute.svg b/src/rnvme/nvme-v6.8-absolute.svg new file mode 100644 index 0000000..55bcaf5 --- /dev/null +++ b/src/rnvme/nvme-v6.8-absolute.svg @@ -0,0 +1,2331 @@ + + + + + + + + 2024-04-15T17:33:09.773742 + image/svg+xml + + + Matplotlib v3.8.3, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/rnvme/nvme-v6.8-relative.svg b/src/rnvme/nvme-v6.8-relative.svg new file mode 100644 index 0000000..e04ad46 --- /dev/null +++ b/src/rnvme/nvme-v6.8-relative.svg @@ -0,0 +1,1814 @@ + + + + + + + + 2024-04-15T15:34:58.068511 + image/svg+xml + + + Matplotlib v3.8.3, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +