nixos/cellar: Enable SPDK dynamic scheduler
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 17m37s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 17m37s
This commit is contained in:
parent
1b853d405c
commit
3bc8befb7d
@ -13,7 +13,7 @@ in
|
|||||||
my = {
|
my = {
|
||||||
spdk = {
|
spdk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraArgs = "--mem-channels 2 --cpumask 0x3";
|
extraArgs = "--mem-channels 2 --cpumask 0xffff";
|
||||||
debugCommands = ''
|
debugCommands = ''
|
||||||
spdk-rpc bdev_nvme_attach_controller -t pcie -a 02:00.0 -b NVMe0
|
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
|
spdk-rpc bdev_nvme_attach_controller -t pcie -a 03:00.0 -b NVMe1
|
||||||
@ -82,6 +82,13 @@ in
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
scheduler = [
|
||||||
|
{
|
||||||
|
method = "framework_set_scheduler";
|
||||||
|
params.name = "dynamic";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
bdev = [
|
bdev = [
|
||||||
{
|
{
|
||||||
method = "bdev_set_options";
|
method = "bdev_set_options";
|
||||||
|
Loading…
Reference in New Issue
Block a user