Public chat and news/updates #23
Replies: 12 comments 33 replies
-
Please test the recent changes. https://github.com/hamadmarri/cacule-cpu-scheduler I did an experiment where I run many tasks and count how many iterations when enqueue starting from head vs start from tail. Starting from head is ~0.77 where from tail is ~0.69 which is less iterations. So I made enqueue starts to find position from tail. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Please test the recent changes on RDB. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Helper bash script to auto set suggested configs |
Beta Was this translation helpful? Give feedback.
-
We got now ARM Support to work - so far only for the raspberry pi4 aarch64 and armv7 For manjaro rpi4 you will find the aur/PKGBUILDS here:
For a archlinuxarm they are available for armv7 and aarch64. Read the instructions please!
Debian/Bullseye and Ubuntu Images are comming these days for the pi4 devices. We need some tester who are using the desktop frequently if they notice any improvements and so on. |
Beta Was this translation helpful? Give feedback.
-
Could you please try these changes on CacULE (without RDB): In this patch I am trying to enhance the interactivity so when the task is interactive based on the threshold ("sched_interactivity_threshold" <- you can adjust via sysctl) the cpu is selected such that the highest Interactivity Score IS is the max (max IS value means least interactive)
Please let me know if there is any differences in performance/responsiveness Thank you |
Beta Was this translation helpful? Give feedback.
-
https://forum.xanmod.org/thread-2-page-24.html Some discussions on CacULE |
Beta Was this translation helpful? Give feedback.
-
Ok, now with 5.12 version of CacULE and these following sysctl settings |
Beta Was this translation helpful? Give feedback.
-
Could you please test this patch on mainline kerne (not on CacULE). Please let me know if this patch makes cfs as responsive as cacule. |
Beta Was this translation helpful? Give feedback.
-
Added interactivity levels which are used to avoid fake interactive tasks. Fake interactive task are detected by the number of forks of their parent in a period of time. Introduced new sysctls: sched_nr_fork_threshold which is the max number of forks in period of time to consider all children fake interactive. This happnes for example when run make -j4 where make creates new threads for each job. All make children/threads are fake interactive, therefore, they are (any fake interactive tasks) put in lower interactivity regions based on how often this task is becoming fake interactive in a period of time. When a child exits or sleep, then the number of forks and the fake interactive level are reduced by 1. Also, when a maximum slid window is reached without any new fork, the fake interactive level is reduced by 1. The second sysctl is sched_fake_interactive_win_time_ms which is 1s by default. Each 1s (if a task is in runqueue, not sleeping) if the task is fake interactive already and the time slice ended without any new forks, then interactivty level is reduced by 1. For each fork, interactivity level is increased by 1. Higher levels here means lower interactive scores they got. Please test |
Beta Was this translation helpful? Give feedback.
-
CacULE revision 21- Added 2000HZ as an option |
Beta Was this translation helpful? Give feedback.
-
https://github.com/hamadmarri/linux/tree/cacule-5.12-rdb https://github.com/hamadmarri/cacule-cpu-scheduler/tree/master/patches/CacULE/RDB RDB patch update: You can use the patch with your previous config for comparing purposes. rdb-changes.txt Thank you |
Beta Was this translation helpful? Give feedback.
-
RDB update: https://github.com/hamadmarri/cacule-cpu-scheduler/tree/master/patches/CacULE/RDB RDB: rdb disables autogroup, which can be a problem because sometimes autogroup |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions