{"id":16641917,"url":"https://github.com/ptr1337/linux-raspberrypi4-cacule","last_synced_at":"2026-04-22T00:32:47.961Z","repository":{"id":119298979,"uuid":"356428992","full_name":"ptr1337/linux-raspberrypi4-cacule","owner":"ptr1337","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-16T20:24:08.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T16:21:59.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ptr1337.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-10T00:22:24.000Z","updated_at":"2021-07-10T12:25:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"b37a35e8-c25a-4cd9-be72-016d3f836a07","html_url":"https://github.com/ptr1337/linux-raspberrypi4-cacule","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ptr1337/linux-raspberrypi4-cacule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptr1337%2Flinux-raspberrypi4-cacule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptr1337%2Flinux-raspberrypi4-cacule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptr1337%2Flinux-raspberrypi4-cacule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptr1337%2Flinux-raspberrypi4-cacule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptr1337","download_url":"https://codeload.github.com/ptr1337/linux-raspberrypi4-cacule/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptr1337%2Flinux-raspberrypi4-cacule/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32115865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"ssl_error","status_checked_at":"2026-04-22T00:30:22.894Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T07:48:16.432Z","updated_at":"2026-04-22T00:32:47.943Z","avatar_url":"https://github.com/ptr1337.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linux-raspberrypi4-cacule-PKGBUILD\n\n## PKGBUILD for archlinuxarm with the cacule schedeuler.\n\nSo far no perfomance/improvements tests done. Should work with desktop usage with a much better responsivty. \nOn x86_64 its one of the best schedeulers i have ever used. \n\nThe patch can be applied for armv7 and armv8. You can use Cacule and Cacule-RDB. Cacule-RDB is still a expermintal thing. \n\n## Informations to Cacule-RDB\n\nThis is an experimental load balancer for Cachy/CacULE. It is a lightweight\nload balancer which is a replacement of CFS load balancer. It migrates\ntasks based on their HRRN/Interactivity Scores (IS). Most of CFS load balancing-related\nupdates (cfs and se updates loads) are removed. The RDB balancer follows CFS\nparadigm in which RDB balancing happen at the same points CFS does. RDB balancing happens\nin three functions: newidle_balance, idle_balance, and active_balance. The newidle_balance\nis called exactly at the same time as CFS did (when pick next task fails to find any task to run).\nThe RDB newidle_balance pulls one task that is the highest HRRN/IS from any CPU. The RDB idle_balance\nis called in trigger_load_balance when CPU is idle, it does the same as newidle_balance but with\nslight changes since newidle_balance is a special case. The RDB active_balance checks if the current\n(NORMAL) runqueue has one task, if so, it pulls the highest of the highest HRRN/IS among all other CPUS. If the\nrunqueue has more than one task, then it pulls any highest HRRN/IS (same as idle does). A CPU cannot pull a task\nfrom another CPU that has fewer tasks (when pull any). For the all three balancing\nnewidle_balance, idle_balance, and active_balance, the cpu first tries to pull from a CPU that shares the same\ncache (cpus_share_cache). If can't pull any then it tries to pull from any CPU even though they are not in the same core.\nOnly when pulling the highest of the highest HRRN/IS (i.e. active_balance when CPU has one task), there is no check for\nshared cache.\n\nSince trigger_load_balance is called for every tick, there is a guard time to prevent frequent tasks migration to reduce\nrunqueues locking and to reduce unnecessary tasks migrations. The time is 3ms after each active_balance. This time\nguard is specifically for HZ=5 \n0,1000. We don't want to run balancing every 2ms or 1ms to prevent regression in performance.\nHere is how frequent the trigger_load_balance would run balancer with given HZ values:\n\n- HZ=100 runs every ~10ms\n- HZ=250 runs every ~4ms\n- HZ=300 runs every ~3ms\n- HZ=500 runs every ~4ms\n- HZ=1000 runs every ~3ms\n\n\n### How to compile it \n\n    git clone https://github.com/ptr1337/linux-raspberrypi4-cacule.git\n    cd linux-raspberrypi4-cacule\n    Then remove in the PKGBUILD if building for ***aarch64*** the 32-bit-converter.patch also the md5\n    If you decide to use it without the RDB you need to remove in the config CONFIG_CACULE_RDB=y\n    then compile it with makepkg -si\n    \n\nreboot your device. \n\n## Cacule Schedeuler Informations\n\nhttps://github.com/hamadmarri/cacule-cpu-scheduler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptr1337%2Flinux-raspberrypi4-cacule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptr1337%2Flinux-raspberrypi4-cacule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptr1337%2Flinux-raspberrypi4-cacule/lists"}