Vladislav Nepogodin
7bd61f4334
scx_loader: Add SwitchScheduler methods to DBUS interface
...
These methods allow switching between different schedulers without requiring manual stopping and starting.
2024-10-05 02:57:17 +04:00
Tejun Heo
7402895f4a
version: v1.0.5
2024-10-02 08:34:57 -10:00
Vladislav Nepogodin
6df06c5569
scx_loader: Add D-Bus Introspection XML
...
XML can be used for code generation like `gdbus-codegen`,`zbus-xmlgen`
refs:
- https://dbus2.github.io/zbus/client.html
- https://docs.gtk.org/gio/migrating-gdbus.html#generating-code-and-docs
- https://dbus.freedesktop.org/doc/dbus-api-design.html
- https://dbus.freedesktop.org/doc/dbus-specification.html
2024-09-30 03:28:30 +04:00
Vladislav Nepogodin
9b5e8da8e3
scx_loader: Add systemd service and on-DBUS launch
...
- add ability to start loader at system start as a service
- add ability to automatically launch on DBUS call whenever third-party
calls the interface
ref: "Example 7. DBus services" https://www.freedesktop.org/software/systemd/man/256/systemd.service.html
2024-09-27 23:51:28 +04:00
likewhatevs
bd2e90b0b6
run cargo +nightly-2024-09-10 fmt to fix lint err ( #691 )
...
run cargo +nightly-2024-09-10 fmt to fix lint err
2024-09-25 17:34:53 -04:00
Mitchell Augustin
e4eaed07a8
Change monitor_no_dbus to auto, use enum-string conv, use log::info, use Tokio spawning
2024-09-24 09:36:27 -05:00
Mitchell Augustin
d434ab4266
scx_loader: Add initial automatic scheduler switching via --monitor-no-dbus
...
Exposes an option --monitor-no-dbus in scx_loader that will monitor CPU
utilization and start scx_lavd when any CPU exceeds 90% for more than 5
seconds. scx_lavd will be terminated if all CPUs are below 90% for
more than 30 seconds. When this flag is specified, scx_loader's
dbus functionality is not utilized.
2024-09-23 17:07:43 -05:00
Jake Hillion
8ca45cfa37
lint: enable cargo fmt ( #643 )
...
Use `cargo fmt` with a specific nightly branch in the CI to enforce formatting. Globally format these files while the diff is still small so we can stay on top of it.
Test plan:
- CI lint check passes.
2024-09-11 10:03:20 +01:00
Tejun Heo
fcea4d3729
scx_loader: Fix broken LICENSE symlink
2024-09-07 07:16:22 -10:00
Tejun Heo
46fc2e1a49
version: v1.0.4
2024-09-05 18:12:45 -10:00
Tejun Heo
cd555741d0
rust: Synchronize depency versions
2024-09-05 17:10:02 -10:00
Vladislav Nepogodin
4d770e1f84
scx_loader: Add scheduler loader via system DBUS interface
2024-08-30 00:56:27 +04:00