mirror of
https://github.com/elwrcl/scx_soryu.git
synced 2026-10-31 10:58:03 +03:00
deps
This commit is contained in:
3 files changed
+19
-5
No files matched your search
Generated
-1
@@ -931,7 +931,6 @@ dependencies = [
|
|||||||
"crossbeam",
|
"crossbeam",
|
||||||
"ctrlc",
|
"ctrlc",
|
||||||
"libbpf-rs",
|
"libbpf-rs",
|
||||||
"libc",
|
|
||||||
"log",
|
"log",
|
||||||
"scx_cargo",
|
"scx_cargo",
|
||||||
"scx_stats",
|
"scx_stats",
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ anyhow = "1.0"
|
|||||||
clap = { version = "4", features = ["derive", "env", "wrap_help"] }
|
clap = { version = "4", features = ["derive", "env", "wrap_help"] }
|
||||||
ctrlc = { version = "3.4", features = ["termination"] }
|
ctrlc = { version = "3.4", features = ["termination"] }
|
||||||
libbpf-rs = "=0.26.2"
|
libbpf-rs = "=0.26.2"
|
||||||
libc = "0.2"
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
scx_stats = "1.1.3"
|
scx_stats = "1.1.3"
|
||||||
scx_stats_derive = "1.1.3"
|
scx_stats_derive = "1.1.3"
|
||||||
|
|||||||
@@ -188,8 +188,23 @@ MSG
|
|||||||
type = lib.types.ints.positive;
|
type = lib.types.ints.positive;
|
||||||
default = 1000;
|
default = 1000;
|
||||||
description = ''
|
description = ''
|
||||||
Timeslice in microseconds. 1000 is the measured knee: see
|
Timeslice in microseconds. 1000 is the measured knee: the
|
||||||
docs/slice.md. 4194 restores BMQ's own value.
|
same compile took 4m49s at 4194 and 4m39s at both 1000 and
|
||||||
|
500. 4194 restores BMQ's own value.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
boostOnWake = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Boost a waking task in proportion to how long it slept.
|
||||||
|
|
||||||
|
BMQ means to do this but ships the line as a comparison rather
|
||||||
|
than a subtraction, so in practice it never happens. Measured
|
||||||
|
both ways: off halves the interactive tail past 1 ms, in 63 of
|
||||||
|
68 paired intervals, at no cost in compile time. See
|
||||||
|
docs/boost-on-wake.md. true restores the intended behaviour.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -220,7 +235,7 @@ MSG
|
|||||||
extraArgs = lib.mkOption {
|
extraArgs = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = [ "--boost-on-wake" "false" ];
|
example = [ "--debug" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
notify = {
|
notify = {
|
||||||
@@ -267,6 +282,7 @@ MSG
|
|||||||
(lib.getExe cfg.package)
|
(lib.getExe cfg.package)
|
||||||
"--slice-us" (toString cfg.sliceUs)
|
"--slice-us" (toString cfg.sliceUs)
|
||||||
"--starve-ms" (toString cfg.starveMs)
|
"--starve-ms" (toString cfg.starveMs)
|
||||||
|
"--boost-on-wake" (lib.boolToString cfg.boostOnWake)
|
||||||
"--timeout-ms" (toString cfg.timeoutMs)
|
"--timeout-ms" (toString cfg.timeoutMs)
|
||||||
"--report-sec" (toString cfg.reportSec)
|
"--report-sec" (toString cfg.reportSec)
|
||||||
] ++ cfg.extraArgs);
|
] ++ cfg.extraArgs);
|
||||||
|
|||||||
Reference in new issue
Block a user