nixos/spdk: Move to SPDK 26.09
SPDK 26.01 crashes while scanning the PCI bus with DPDK 26.07. Pick up the fork's bump to SPDK 26.09, which adds the 26.07 compatibility layer, and drop the 26.01-only DPDK 26.03 workaround. SPDK 26.09 sizes transport caches from the shared iobuf pool, so the RDMA transport on `cellar` starved the bdev and accel caches. Set its caches explicitly and enlarge the pools. Also retry `spdk-tgt` on failure, as loading its config can fail intermittently at startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
65221ee403
commit
f7c733c2d1
3 files changed
+24
-13
No files matched your search
@@ -75,6 +75,18 @@ in
|
||||
];
|
||||
in
|
||||
{
|
||||
# Sized with `scripts/calc-iobuf.py` for the 16-core mask: the bdev and accel caches
|
||||
# plus the RDMA transport's, with headroom for in-flight I/O
|
||||
iobuf = [
|
||||
{
|
||||
method = "iobuf_set_options";
|
||||
params = {
|
||||
small_pool_count = 16384;
|
||||
large_pool_count = 2048;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
scheduler = [
|
||||
{
|
||||
method = "framework_set_scheduler";
|
||||
@@ -107,7 +119,12 @@ in
|
||||
nvmf = [
|
||||
{
|
||||
method = "nvmf_create_transport";
|
||||
params.trtype = "RDMA";
|
||||
params = {
|
||||
trtype = "RDMA";
|
||||
# The default takes whatever the shared pool has left, starving the other caches
|
||||
iobuf_small_cache_size = 32;
|
||||
iobuf_large_cache_size = 32;
|
||||
};
|
||||
}
|
||||
(nvmfListener "nqn.2014-08.org.nvmexpress.discovery")
|
||||
] ++ (nvmfBdev {
|
||||
|
||||
Reference in new issue
Block a user