-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scx_lavd
seems to choke under either building this package with -j16, or building an LTO package that uses all 16 cores
#223
Comments
Thank you for reporting the problem. I am working on a better preemption scheme under scx_lavd. Hopefully, a new PR (#224 ) that was just sent partly addresses your problem. More optimization will come. Stay tuned. |
Something wonky is going on with Github's commit history for that PR, I can't apply the five patches in order either with |
Thanks a lot! |
Okay, I tried the branch. Building Also, attempting to use |
If you don't mind, could you run |
Here's a log of it running for the duration of a build. I also had to do it a second time, because I didn't use |
Thanks a lot! |
I'll have to build a 6.9-rc7 kernel to test it, since 6.8.9 is unsupported. |
It stops some of the stuttering, but it doesn't stop lag building up behind OBS and my camera input. The lag even shows in OBS itself, not just the client pulling from the virtual camera. |
@kode54 Thanks for building the kernel and testing lavd. BTW, what is OBS? I will try to re-produce it on my end. |
@kode54 If you don't mind, could you please share the LAVD logs? |
Here's a log that stopped when I stopped the service shortly after the lag. OBS is OBS Studio, or Open Broadcast Software. https://obs-studio.org/ Edit: FYI, I'm using a Logitech C620 camera, with Motion JPEG format at 1080p30 for the capture. |
@kode54 -- Hmm... I tried to reproduce the problem but it seems okay from my end. The environment that I tested as follows:
I ran the following workloads with
Any hints so I can reproduce the problem? Is there any possibility that OBS is buggy? |
Whatever. I won't be using sched-ext any more anyway, unless Arch somehow adds it to their stock kernel and enables a scheduler by default out from under me. |
As is the Arch default now, everything builds with LTO. Building the Wayfire compositor causes heavy LTO build activity to fill all MAKEOPTS jobs (-j16, matching core count), and makes various things bog down, including Discord video calls, and if I'm using Wayfire, the compositor itself bogs down even under less stressful 16 core builds.
The text was updated successfully, but these errors were encountered: