nixos/cellar: Enable SPDK dynamic scheduler
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 17m37s

This commit is contained in:
Jack O'Sullivan 2023-12-13 21:53:10 +00:00
parent 1b853d405c
commit 3bc8befb7d

View File

@ -13,7 +13,7 @@ in
my = {
spdk = {
enable = true;
extraArgs = "--mem-channels 2 --cpumask 0x3";
extraArgs = "--mem-channels 2 --cpumask 0xffff";
debugCommands = ''
spdk-rpc bdev_nvme_attach_controller -t pcie -a 02:00.0 -b NVMe0
spdk-rpc bdev_nvme_attach_controller -t pcie -a 03:00.0 -b NVMe1
@ -82,6 +82,13 @@ in
];
in
{
scheduler = [
{
method = "framework_set_scheduler";
params.name = "dynamic";
}
];
bdev = [
{
method = "bdev_set_options";