{"id":18256517,"url":"https://github.com/28ritu/modifying-cfs-scheduler","last_synced_at":"2025-04-08T22:27:46.121Z","repository":{"id":163025146,"uuid":"132154743","full_name":"28Ritu/Modifying-CFS-Scheduler","owner":"28Ritu","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-04T16:08:28.000Z","size":246,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-14T17:42:52.614Z","etag":null,"topics":["cfs","operating-system","scheduler"],"latest_commit_sha":null,"homepage":null,"language":"C","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/28Ritu.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":"2018-05-04T15:03:05.000Z","updated_at":"2022-07-27T17:10:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"9934965d-1865-451b-b3b6-706df645dc26","html_url":"https://github.com/28Ritu/Modifying-CFS-Scheduler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/28Ritu%2FModifying-CFS-Scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/28Ritu%2FModifying-CFS-Scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/28Ritu%2FModifying-CFS-Scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/28Ritu%2FModifying-CFS-Scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/28Ritu","download_url":"https://codeload.github.com/28Ritu/Modifying-CFS-Scheduler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247937502,"owners_count":21021273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cfs","operating-system","scheduler"],"created_at":"2024-11-05T10:22:24.403Z","updated_at":"2025-04-08T22:27:46.103Z","avatar_url":"https://github.com/28Ritu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modifiying-CFS-Scheduler\n\n## Sneha Sinha - 2016098 \u0026 Ritu Kumari - 2016078\n\n### Part 1: Compiling the source code\nThe linux 3.19.0 source code is downloaded and it's\nextracted.\n- cd to that directory\n- do 'cp /boot/config-$(uname -r) .config' to copy the kernel's .config file then followed by 'make menuconfig'\n- use 'sudo make -j 4 \u0026\u0026 sudo make modules_install -j 4 \u0026\u0026 sudo make install -j 4'.The kernel and modules are compiled.\n- do 'update-initramfs -c -k 3.19.0' to update the kernel, and 'update-grub' to add it to the grub.\n\n### Part 2: Modifying CFS\n- Updated /include/linux/sched.h task struct to include srt flags and requirements.\n- Updated /kernel/sched/fair.c to include the required scheduling policy for SRT tasks.\n\n### Part 3: Making 'rtnice' System Call\n- Made info directory in the kernel.\n- 'info' directory includes:\n####\n\t1. rtnice.c - C code for System call implementation.\n\t2. rtnice.h - header file.\n\t3. Makefile - Makefile for c code.\n       \n- Updated arch/x86/syscalls/syscall64.tbl to include the 'rtnice' system call.\n- Updated Linux kernel main Makefile to include the 'rtnice' system call.\n\n### Part 4: Testing\n- rtnicetest.c tests the rtnice system call and the modified cfs scheduler.\n#### ERRORS:\n\t1. if no task with given PID exists.\n\t2. if timeslice \u003c 1 or greater than a certain value.\n\t\n##### PS: Patch can be applied to the linux-kernel 3.19 on Ubuntu Server 14.04.4. (Kernel may go into panic mode. Apply patch on your own risk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F28ritu%2Fmodifying-cfs-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F28ritu%2Fmodifying-cfs-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F28ritu%2Fmodifying-cfs-scheduler/lists"}