Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Latency_nice proposal for use in TT #8

Description

@smarkusg

Good morning
First of all, I want to apologize for my English

Additionally, I want to thank you for your hard work on Linux Scheduler and more
especially for BABY-CPU-SCHEDULE, thanks to which I am constantly learning
various algorithms.
I was forced to do so by the COVID-19 pandemic to bring in my 10-year-old
son's laptop for remote work.
I am not a programmer and I also want to mention it at the outset.

Back to the point
I am currently checking my stock kernel 5.13 with your Cachy Scheduler
v5.9-Idle with additional patches some solution.Parth Shah latency_nice series of patches

https://lkml.org/lkml/2020/5/7/575

Unfortunately I don't have benchmarks but implemented it alongside
MLFQ for the classification of latency_nice tasks. After a few modifications, the kernel
classifies
only user processes with no children, leaving the system alone. As
for me the usability experience for normal system operation is very much
promising.
If you are able and have time to experiment, you can take a look at
series of patches
Patha Shah. Maybe the idea will be useful for the development of TT?

Currently I'm not going to switch to kernel> 5.13, I don't
I don't know why, but for me it works weird on the desktop (subjectively
feeling).

I did a general test of my kernels with a backport to 5.13 of your solutions, but
as you know, what's good for desktops doesn't always equal performance.
Mine is cachyb2. I know compiling Clang 13 with LTO is always faster than GCC
even with the GCC LTO, but the overall picture shows that 5.14 and 5.15 after the changes
weirdly poorly with the SCHED_CORE changes.

https://openbenchmarking.org/result/2111136-IB-SCHEDULER42&export=pdf

Same kernel settings as for BABY-CPU: CONFIG_HZ_803 and https://github.com/hamadmarri/cacule-cpu-scheduler/blob/master/scripts/apply_suggested_configs.sh

I can reveal a binary version of my kernel.
I'm ashamed of my code.
I don't want to publish this to you at the moment.

Thank you for your interest

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions