Skip to content

scx_lavd E2BIG error with --per-cpu-dsq #2934

@meflove

Description

@meflove

System & Kernel Information:

  • OS: NixOS (nixpkgs master branch)
  • Kernel: 6.17.3-cachyos (x86-64-v3)

scx version:

scx_lavd --version
scx_lavd 1.0.17 x86_64-unknown-linux-gnu

Problem: When attempting to start scx_lavd with the --per-cpu-dsq argument (specifically, using the command below), I encounter an error related to loading BPF programs:

Command Causing Error:

sudo scx_lavd --performance --no-core-compaction --per-cpu-dsq
-- END PROG LOAD LOG --

23:37:37 [WARN] libbpf: prog 'lavd_dispatch': failed to load: -E2BIG

23:37:37 [WARN] libbpf: failed to load object 'bpf_bpf'

23:37:37 [WARN] libbpf: failed to load BPF skeleton 'bpf_bpf': -E2BIG

Error: Failed to load BPF program

Caused by:
    Argument list too long (os error 7)

scx_lavd.log

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions