jugegp16 / xv6-priority-scheduler

Replaced xv6’s round-robin scheduler with a priority-based one.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Priority Scheduler in xv6

Replaced xv6’s current round-robin scheduler with a priority-based scheduler. For example, a process with a priority of 0 has the highest priority, while a process with a priority of 200 has the lowest priority. The default priority for a process is 50. A priority-based scheduler always selects the process with the highest priority for execution. If there are multiple processes with the same highest priority, the scheduler uses round-robin to execute them in turn.

About

Replaced xv6’s round-robin scheduler with a priority-based one.


Languages

Language:C 79.9%Language:C++ 4.4%Language:Assembly 4.0%Language:Makefile 3.6%Language:Shell 2.4%Language:Perl 2.2%Language:Objective-C 1.5%Language:Ruby 1.1%Language:OpenEdge ABL 0.8%Language:Emacs Lisp 0.0%