C++17 Binary • Xvfb :92

Multi-Processor OS Scheduler

🔒 Sandboxed to /samples (sample1–sample6)

About & Features

Cycle-accurate C++17 kernel scheduler distributing processes across FCFS, SJF, Round-Robin, and EDF cores with custom heaps, trees, and queues.

  • FCFS (forking + SIGKILL), SJF (min-heap), RR (quantum slicing), EDF (deadlines)
  • RTF / MaxW process migration, 40% work stealing, I/O blocking, CPU overheating
  • Modes: Interactive (1), Step-by-Step (2), Silent (3) → output.txt

Quick Run

Click a button above or type in the console.
Expected Behavior

• Step Mode: Prints per-tick RDY, RUN, BLK, and TRM queues.

• Silent Mode: Computes full WT, RT, TRT, migration/steal %, and CPU utilization.

• Orphan Kill: Terminating a forked parent immediately kills its child subtree.

Science
Imbalance = (L_max − L_min) / L_max > 40%

• Balances turnaround (SJF) vs response latency (RR) and prevents starvation via MaxW/RTF migration and periodic work stealing.

/samples Workloads

sample1 – sample2
Baseline multi-core queues, I/O bursts, and SIGKILL signals.
sample3 – sample4
Heavy fork trees, RTF/MaxW migrations, and work stealing.
sample5 – sample6
EDF deadlines and stochastic CPU overheating evacuations.
Running on the backup machine right now, so it may stutter. The faster machine is offline.