Skip to content

Conversation

EricccTaiwan
Copy link
Contributor

Before:

~/l/scx/ta/release  main *1 !1  sudo ./scx_chaos                                    ok  1m 18s  base py  eric-wcnlab@eric-wcnlab  21:42:35 
21:42:49 [INFO] Running scx_chaos (build ID: 1.0.18-g71cd0960-dirty x86_64-unknown-linux-gnu)
21:42:49 [INFO] Builder { traits: [], verbose: 0, kprobe_random_delays: None, p2dq_opts: SchedulerOpts { disable_kthreads_local: false, autoslice: false, interactive_ratio: 10, deadline: false, eager_load_balance: false, freq_control: false, greedy_idle_disable: false, interactive_sticky: false, interactive_fifo: false, dispatch_pick2_disable: false, dispatch_lb_busy: 75, dispatch_lb_interactive: true, keep_running: false, atq_enabled: false, cpu_priority: false, interactive_dsq: true, wakeup_lb_busy: 0, wakeup_llc_migrations: false, select_idle_in_enqueue: false, queued_wakeup: false, idle_resume_us: None, max_dsq_pick2: false, task_slice: false, min_slice_us: 100, lb_mode: Load, sched_mode: Default, lb_slack_factor: 5, min_llc_runs_pick2: 0, saturated_percent: 5, dsq_time_slices: [], dsq_shift: 4, min_nr_queued_pick2: 0, dumb_queues: 3, init_dsq_index: 0 }, requires_ppid: None }
21:42:49 [INFO] DSQ[0] slice_ns 100000
21:42:49 [INFO] DSQ[1] slice_ns 3200000
21:42:49 [INFO] DSQ[2] slice_ns 6400000
21:42:49 [INFO] libbpf: struct_ops chaos: member priv not found in kernel, skipping it as it's set to zero

21:42:49 [WARN] libbpf: map 'chaos': BPF map skeleton link is uninitialized

^C%                       

After:

 ~/l/scx/ta/release  chaos-add-drop *1 !1  sudo ./scx_chaos                                  ok  base py  eric-wcnlab@eric-wcnlab  21:40:04 
21:40:15 [INFO] Running scx_chaos (build ID: 1.0.18-g71cd0960-dirty x86_64-unknown-linux-gnu)
21:40:15 [INFO] Builder { traits: [], verbose: 0, kprobe_random_delays: None, p2dq_opts: SchedulerOpts { disable_kthreads_local: false, autoslice: false, interactive_ratio: 10, deadline: false, eager_load_balance: false, freq_control: false, greedy_idle_disable: false, interactive_sticky: false, interactive_fifo: false, dispatch_pick2_disable: false, dispatch_lb_busy: 75, dispatch_lb_interactive: true, keep_running: false, atq_enabled: false, cpu_priority: false, interactive_dsq: true, wakeup_lb_busy: 0, wakeup_llc_migrations: false, select_idle_in_enqueue: false, queued_wakeup: false, idle_resume_us: None, max_dsq_pick2: false, task_slice: false, min_slice_us: 100, lb_mode: Load, sched_mode: Default, lb_slack_factor: 5, min_llc_runs_pick2: 0, saturated_percent: 5, dsq_time_slices: [], dsq_shift: 4, min_nr_queued_pick2: 0, dumb_queues: 3, init_dsq_index: 0 }, requires_ppid: None }
21:40:15 [INFO] DSQ[0] slice_ns 100000
21:40:15 [INFO] DSQ[1] slice_ns 3200000
21:40:15 [INFO] DSQ[2] slice_ns 6400000
21:40:15 [INFO] libbpf: struct_ops chaos: member priv not found in kernel, skipping it as it's set to zero

21:40:15 [WARN] libbpf: map 'chaos': BPF map skeleton link is uninitialized

^C21:40:16 [INFO] Unregister scx_chaos scheduler

Signed-off-by: Cheng-Yang Chou <[email protected]>
@sirlucjan sirlucjan requested a review from JakeHillion August 27, 2025 13:48
Copy link
Contributor

@JakeHillion JakeHillion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JakeHillion JakeHillion added this pull request to the merge queue Aug 28, 2025
Merged via the queue into sched-ext:main with commit 952767c Aug 28, 2025
21 checks passed
@EricccTaiwan EricccTaiwan deleted the chaos-add-drop branch August 28, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants