You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0720d99
Browse filesBrowse the repository at this point in the historyBrowse files
**[⚡ Live Demo](http://localhost:8000/project.html)** • **[📖 Documentation](#-complete-feature-matrix)** • **[🧠 Algorithms](#-supported-scheduling-algorithms)** • **[⏱️ Hardware Physics](#-hardware-drive-physics--latency-equations)** • **[👨💻 Developed By](#-developed--maintained-by)**
8
15
9
-
A state-of-the-art, interactive educational suite and hardware physics lab for exploring Operating System **Disk Scheduling Algorithms** (Classical & Linux Kernel) and **Storage Hardware Architecture** (Mechanical Magnetic HDDs vs. NAND Flash NVMe SSDs).
16
+
</div>
17
+
18
+
---
10
19
11
-
Designed for university OS courses, computer architecture labs, and systems software engineers.
20
+
## 🌌 Overview
21
+
22
+
The **Disk Scheduling Simulator & OS Storage Architecture Lab** is an interactive, browser-based computer science laboratory designed to visualize, benchmark, and teach **Operating System Storage Subsystems**.
23
+
24
+
Bridging the gap between classical theoretical algorithms and real-world storage hardware, it simulates both **Mechanical Magnetic Hard Disk Drives (HDDs)** (with rotating platters and actuator arm kinematics) and **NAND Flash NVMe Solid State Drives (SSDs)** (with uniform zero-seek Flash Translation Layer controllers).
|**🎯 1D Track**|Linear Track View | High-DPI track line with glowing head pointer (`H`), color-coded request nodes, seek arcs, and tooltips. |
40
-
|**📈 2D Graph**| OS Textbook Seek Chart | Time Steps ($Y$-axis, top-to-bottom) vs. Cylinder Number ($X$-axis, left-to-right). |
41
-
|**💽 Platter 2D**|Concentric Hard Disk Platter | Kinetic spinning disk with concentric circular tracks ($0 \to \text{Max}$) and pivoting mechanical actuator arm. |
42
-
|**💽 3D Cylinder**|3D Multi-Platter Stack | Isometric stack of 3 platters (6 surfaces: Head 0 to Head 5) with a synchronized multi-head actuator comb. |
43
-
|**⚡ SSD Flash**| NAND Flash Memory Array | Visualizes Flash Translation Layer (FTL), channels, dies, blocks, and pages with zero mechanical seek. |
44
-
|**🐧 Linux Kernel**|Linux Queue Architecture|Live multi-queue breakdown showing Read FIFO, Write FIFO, and Sorted Dispatcher. |
45
-
|**💻 Code Sandbox**|In-Browser JS IDE|Live JavaScript code editor to write, test, and benchmark custom scheduling algorithms. |
65
+
|Mode|Name|Visual Experience & Physical Details|
66
+
| :---:| :--- | :--- |
67
+
|🎯 |**1D Linear Track**| High-DPI physical track with glowing magnetic head pointer (`H`), color-coded request nodes, seek arcs, and interactive tooltips. |
68
+
|📈 |**2D Seek Graph**| OS textbook-style coordinate chart plotting Time Steps ($Y$-axis, top-to-bottom) vs. Cylinder Number ($X$-axis, left-to-right). |
69
+
|💽 |**Concentric 2D Platter**| Kinetic rotating magnetic platter ($0 \to \text{Max}$) with a mechanical actuator arm pivoting its read/write head tip over tracks. |
70
+
|💽 |**3D Cylinder Stack**| Isometric stack of 3 platters (6 surfaces: Head 0 to Head 5) with a synchronized multi-head actuator comb demonstrating CHS addressing. |
|💻 |**In-Browser JS Sandbox**|Integrated Monaco-style JavaScript code editor allowing students to write, execute, and test their own custom scheduling algorithms. |
Toggle between **💽 Mechanical HDD** and **⚡ NVMe SSD**:
52
-
-**HDD Mode**: Calculates mechanical seek time + rotational latency ($\approx 4\text{ to } 10\text{ ms}$).
53
-
-**SSD Mode**: Demonstrates zero mechanical seek penalty ($\sim 0.04\text{ ms}$ uniform latency via PCIe Gen 4 FTL Controller), illustrating why classical elevator schedulers are replaced with NOOP on solid-state drives.
79
+
Toggle between **💽 Mechanical HDD** and **⚡ NVMe SSD** with one click:
80
+
-**Mechanical HDD Mode**:
81
+
- Accurately models physical actuator arm acceleration ($2.0\text{ ms startup} + \Delta C \times 0.15\text{ ms/cyl}$) and rotational delays across $5400$, $7200$, $10000$, and $15000\text{ RPM}$ spindles.
82
+
-**NAND Flash NVMe SSD Mode**:
83
+
- Demonstrates why classical elevator schedulers are bypassed on SSDs in favor of `NOOP`/`none`, showcasing uniform $\sim 0.04\text{ ms}$ latency across arbitrary logical block addresses.
54
84
55
85
---
56
86
57
-
### 4. 📐 CHS ↔ LBA Translation Calculator
58
-
Converts between Cylinder-Head-Sector addressing and Logical Block Addressing:
87
+
### 📐 4. CHS ↔ LBA Translation Calculator
88
+
Built-in live mathematical translator converting between **Cylinder-Head-Sector (CHS)** and **Logical Block Addressing (LBA)**:
-**📄 Homework Solution (`.md`)**: Full formatted Markdown assignment report with LaTeX formulas, seek distance tables, and final metrics ready to submit for university coursework.
108
+
-**📊 Telemetry Dataset (`.csv`)**: Raw numerical step-by-step dataset.
-**📄 Homework Solution (`.md`)**: Full formatted Markdown assignment solution with LaTeX formulas and step tables ready to submit for university coursework.
83
-
-**📊 Telemetry Dataset (`.csv`)**: Raw numerical step-by-step dataset.
0 commit comments