diff --git a/scheds/rust/scx_bpfland/src/bpf/main.bpf.c b/scheds/rust/scx_bpfland/src/bpf/main.bpf.c index 01eb45d..18cac74 100644 --- a/scheds/rust/scx_bpfland/src/bpf/main.bpf.c +++ b/scheds/rust/scx_bpfland/src/bpf/main.bpf.c @@ -34,7 +34,7 @@ const volatile bool debug; /* * Default task time slice. */ -const volatile u64 slice_ns = SCX_SLICE_DFL; +const volatile u64 slice_ns = 5000000; /* * Time slice used when system is over commissioned. diff --git a/scheds/rust/scx_bpfland/src/main.rs b/scheds/rust/scx_bpfland/src/main.rs index 3c2e248..2fc992c 100644 --- a/scheds/rust/scx_bpfland/src/main.rs +++ b/scheds/rust/scx_bpfland/src/main.rs @@ -59,7 +59,7 @@ struct Opts { exit_dump_len: u32, /// Maximum scheduling slice duration in microseconds. - #[clap(short = 's', long, default_value = "20000")] + #[clap(short = 's', long, default_value = "5000")] slice_us: u64, /// Minimum scheduling slice duration in microseconds.