Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
step
int64
page_reference
int64
fifo_3_frames_fault
int64
fifo_4_frames_fault
int64
lru_3_frames_fault
int64
lru_4_frames_fault
int64
opt_3_frames_fault
int64
opt_4_frames_fault
int64
1
1
1
1
1
1
1
1
2
2
1
1
1
1
1
1
3
3
1
1
1
1
1
1
4
4
1
1
1
1
1
1
5
1
1
0
1
0
0
0
6
2
1
0
1
0
0
0
7
5
1
1
1
1
1
1
8
1
0
1
0
0
0
0
9
2
0
1
0
0
0
0
10
3
1
1
1
1
1
0
11
4
1
1
1
1
1
1
12
5
0
1
1
1
0
0

Aether OS v2.6 // x86_64 Rust Microkernel (Solarized Warm Edition)

Aether OS Studio Light Desktop

Rust 2021 x86_64 HuggingFace GitHub License: MIT


Executive Summary

Aether OS v2.6 is a bare-metal, modular microkernel engineered in #![no_std] Rust for x86_64 systems. It incorporates a 24-bpp VESA Linear Framebuffer direct-rendering graphics engine, an interrupt-driven PS/2 keyboard controller, a cascaded 8259A PIC and 256-gate IDT, an in-memory micro-shell, and an empirical research evaluation investigating Page Replacement Algorithms under Locality (FIFO vs. LRU vs. Optimal) and Belady's Anomaly.

The distribution provides complete source code, bootable hybrid ISO media, automated Python diagnostic suites, empirical reference trace datasets, and a comprehensive 16-page academic engineering report.


Academic & Candidate Profile

Attribute Specification
Author / Candidate Varad Kanade
University Serial Number (USN) 25BTRCL105
Class / Section CSE-AIML-E (Section E)
Academic Department Department of Computer Science & Engineering (Artificial Intelligence & Machine Learning)
Institution Faculty of Engineering and Technology (FET), JAIN (Deemed-to-be University), Bengaluru
Course & Code 25PCCS201 โ€” Operating Systems Engineering Project
Evaluation Semester Academic Year 2025โ€“2026

Empirical Research: Page Replacement Under Locality

A central contribution of this microkernel is its virtual memory empirical analysis engine. The engine models memory reference streams exhibiting temporal and spatial locality to quantify the performance differential between non-stack and stack replacement policies against Belady's theoretical optimal lower bound.

1. Mathematical Formulation

For an access sequence $S = \langle r_1, r_2, \dots, r_N \rangle$ over a virtual address space of $M$ unique pages with $F$ allocated physical frames:

Fault Rate=1Nโˆ‘i=1N1(riโˆ‰Miโˆ’1)ร—100%\text{Fault Rate} = \frac{1}{N} \sum_{i=1}^N \mathbf{1}\left(r_i \notin \mathcal{M}_{i-1}\right) \times 100\%

where $\mathcal{M}_{i-1}$ denotes the set of resident pages immediately preceding access $r_i$.

2. Empirical Benchmark: 80/20 Skewed Locality

In an 80/20 workload (where 80% of references target a hot working set comprising 20% of the virtual address space):

  • Total Page References ($N$): 10,000
  • Virtual Page Domain ($M$): 100 pages
  • Allocated Resident Frames ($F$): 16 physical page frames

Empirical Research Command Output

Algorithm Frame Count Page Faults Fault Rate (%) Overhead vs. OPT Stack Property Algorithmic Classification
FIFO (First-In, First-Out) 16 3,483 34.83% $+20.07%$ $\times$ No Non-Stack Queue
LRU (Least Recently Used) 16 2,412 24.12% $+9.36%$ $\checkmark$ Yes Stack Algorithm (Temporal Locality)
OPT (Belady's Optimal) 16 1,476 14.76% $0.00%$ $\checkmark$ Yes Theoretical Benchmark (Future Oracle)

Key Finding: Under 80/20 skewed locality, LRU achieves a 10.71% absolute fault reduction over FIFO (a 30.75% relative improvement). Because FIFO bases eviction solely on allocation timestamp rather than access recency, it repeatedly purges hot-tier working set pages, inducing thrashing.

3. Belady's Anomaly Demonstration

Belady's Anomaly occurs when allocating additional physical memory frames paradoxically increases the total number of page faults under non-stack replacement policies (such as FIFO).

Using the canonical 12-reference access trace $S = [1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5]$:

Belady Anomaly Live Kernel Proof

Policy Allocation: 3 Frames Allocation: 4 Frames Fault Differential ($\Delta$) Empirical Outcome
FIFO 9 Faults 10 Faults $+1$ Fault Belady's Anomaly Verified ($\uparrow$ Faults)
LRU 10 Faults 8 Faults $-2$ Faults Monotonic Improvement (Stack Property)
OPT 7 Faults 6 Faults $-1$ Fault Optimal Lower-Bound Baseline

Data files are provided in results/page_replacement_summary.csv and results/belady_anomaly_comparison.csv for independent validation.


Target Hardware Specifications

The microkernel was customized and benchmarked on the candidate's development workstation:

Subsystem Specification Details
Host Workstation ASUS Vivobook 15 (Vivobook_ASUSLaptop X1502ZA)
Processor 12th Gen Intelยฎ Coreโ„ข i5-12500H (12 Cores / 16 Threads)
Core Architecture Intel Alder Lake Hybrid: 4 Performance-Cores (up to 4.50 GHz) + 8 Efficient-Cores (up to 3.30 GHz)
L3 Cache 18 MB Intelยฎ SmartCache
System Memory 16 GB DDR4-3200 MHz SDRAM
Display Mode VESA Linear Framebuffer (800 ร— 600, 24-bpp BGR Direct Mapping, double-buffered)
Wireless Interface MediaTek MT7921 Wi-Fi 6 (802.11ax 2x2 MU-MIMO, PCIe Interface)
Ethernet Interface Realtek PCIe Gigabit Ethernet Controller (1000BASE-T Full-Duplex)
Virtualization Platform Oracle VirtualBox 7.1.x / QEMU 8.x (BIOS boot handoff, PIIX4 IDE, USB Multi-Touch Tablet Pointer)

Subsystem Architecture & Engineering Highlights

+-----------------------------------------------------------------------------------------+
|                                    APPLICATION LAYER                                    |
|   +-----------------------+  +------------------------+  +--------------------------+   |
|   |  System Vitals Card   |  | Package Telemetry Hub  |  | Research Evaluation Card |   |
|   +-----------------------+  +------------------------+  +--------------------------+   |
|   +---------------------------------------------------------------------------------+   |
|   |          Aurora Interactive Shell Console (PS/2 Interrupt-Driven Pipeline)      |   |
|   +---------------------------------------------------------------------------------+   |
+-----------------------------------------------------------------------------------------+
|                                   MICROKERNEL ENGINE                                    |
|   +------------------+  +-------------------+  +-------------------+  +-------------+   |
|   | IDT (256 Gates)  |  | Dual 8259A PIC    |  | PIT Timer (20 Hz) |  | PS/2 Driver |   |
|   +------------------+  +-------------------+  +-------------------+  +-------------+   |
|   +------------------+  +-------------------+  +-------------------+  +-------------+   |
|   | Bump Allocator   |  | Linear FB Engine  |  | MLFQ Scheduler    |  | Paging Unit |   |
|   +------------------+  +-------------------+  +-------------------+  +-------------+   |
+-----------------------------------------------------------------------------------------+
|                                      FIRMWARE LAYER                                     |
|             x86 Real Mode (16-bit) -> Protected Mode (32-bit) -> Long Mode (64-bit)     |
|                             Bootloader API v0.11.17 Handoff                             |
+-----------------------------------------------------------------------------------------+
  1. Light Studio Glassmorphic UI: Full 24-bpp direct framebuffer rasterizer featuring a pure white (#FFFFFF) canvas, frosted slate navigation bars (#F1F5F9), platinum card borders (#CBD5E1), and typography rendered in rich charcoal black (#111827) with dark jewel accents for optimal contrast and readability.
  2. Interrupt Descriptor Table (IDT): 256 interrupt gates handling CPU exceptions (double fault, general protection fault, page fault) and hardware IRQs.
  3. Programmable Interrupt Controllers (8259A PIC): Master PIC remapped to offset 0x20 and Slave PIC remapped to 0x28 to resolve x86 hardware interrupt vectors.
  4. Programmable Interval Timer (PIT): Configured for channel 0 square wave generation at 20.0 Hz (TIMER_FREQUENCY_HZ = 20) driving context ticks and scheduling telemetry.
  5. PS/2 Keyboard Subsystem: Interrupt-driven (IRQ 1 / Vector 0x21) scancode state machine decoding Set 1 scancodes into ASCII characters with backspace, buffer wrapping, and non-blocking input handling.
  6. Bump Allocator: Heap management subsystem providing zero-overhead, contiguous allocation for kernel metadata structures.

Interactive Command Palette

The embedded micro-shell allows interactive diagnostics and real-time execution:

Command Category Description Primary Output Data
research Research Executes the 80/20 skewed locality page replacement benchmark. FIFO (34.83%), LRU (24.12%), OPT (14.76%) fault metrics.
fault Research Validates Belady's Anomaly on reference string $[1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5]$. Confirms 3 frames = 9 faults vs. 4 frames = 10 faults (+1 anomaly).
hwinfo Hardware Inspects host processor microarchitecture and memory topology. ASUS Vivobook 15, i5-12500H 12C/16T (4P+8E), 16GB DDR4.
net Network Queries network device status and link parameters. MediaTek MT7921 Wi-Fi 6, Realtek GbE, IPv4 10.0.2.15/24.
top Process Displays active kernel tasks, CPU load, and core allocation. Multi-Level Feedback Queue (MLFQ) threads across P/E cores.
web Network Invokes built-in micro-browser retrieving student portal records. JAIN University student registration and academic activity status.
help System Surfaces full command directory and diagnostic documentation. Interactive command usage and parameter guidelines.
clear Console Resets terminal line ring buffer. Flushes screen text buffer and restores prompt at origin.

Boot Initialization & Waterfall Profile

The microkernel employs a multi-stage boot sequence reaching the interactive shell in 275.7 ms:

[00.0 ms]  ================================================================ BIOS POST Hand-off
[11.4 ms]  Stage 0: Minimal Kernel Core (IDT, PIC-8259A, PIT-20Hz, 64KB Bump Heap)
[27.2 ms]  + Component 1: ACPI Hardware Enumeration & Framebuffer Mapping            (+15.8 ms)
[66.8 ms]  + Component 2: Dual Network Stack (MediaTek MT7921 Wi-Fi 6 + GbE LAN)     (+39.6 ms)
[143.3 ms] + Component 3: Package Database & In-Memory Manifest Catalog              (+76.5 ms)
[275.7 ms] + Component 4: Studio Light Desktop Rasterization & Shell Armed          (+132.4 ms)
================================================================================================
TOTAL INITIALIZATION TIME TO INTERACTIVE USER SHELL: 275.7 ms

Repository & Dataset Structure

oslab/
โ”œโ”€โ”€ README.md                             # Dataset Card & Technical Specification
โ”œโ”€โ”€ Aurora_Neural_OS_Report.pdf           # Complete 16-page Academic PDF Report (533 KB)
โ”œโ”€โ”€ Rust_Micro_OS_Engineering_Report.pdf  # Supplementary Engineering Documentation
โ”œโ”€โ”€ aether-os.iso                          # Bootable Hybrid ISO Image (3.04 MB)
โ”œโ”€โ”€ CA1_TO_CA6/                           # Continuous Assessment Submissions (CA1 to CA6)
โ”‚   โ”œโ”€โ”€ OS_Lab_Report_Varad_Kanade_25BTRCL105.pdf
โ”‚   โ”œโ”€โ”€ CA2_Page_Replacement_Performance_Investigation.pdf
โ”‚   โ”œโ”€โ”€ CA3_Page_Replacement_Design_and_Debugging_Challenge.pdf
โ”‚   โ”œโ”€โ”€ CA5_Linux_Virtual_Memory_Engineering_Challenge.pdf
โ”‚   โ”œโ”€โ”€ 25BTRCL105_OS.pdf_20261027_110900_0000 (1).pdf
โ”‚   โ””โ”€โ”€ VARAD_KANADE_OS.pdf
โ”œโ”€โ”€ results/                              # Empirical Evaluation Datasets (CSV)
โ”‚   โ”œโ”€โ”€ page_replacement_summary.csv     # 80/20 Workload Fault Metrics Table
โ”‚   โ””โ”€โ”€ belady_anomaly_comparison.csv     # Step-by-step Trace & Fault Matrix
โ”œโ”€โ”€ screenshots/                          # High-Resolution Architectural Figures
โ”‚   โ”œโ”€โ”€ 01_boot_splash.png                # BIOS Boot Splash Logo
โ”‚   โ”œโ”€โ”€ 02_main_desktop.png               # Complete Studio Light GUI Desktop
โ”‚   โ”œโ”€โ”€ 03_research_cmd.png               # Live Page Replacement Benchmark
โ”‚   โ”œโ”€โ”€ 04_fault_cmd.png                  # Belady's Anomaly Kernel Execution
โ”‚   โ”œโ”€โ”€ 05_topology_cmd.png               # CPU Core Topology Display
โ”‚   โ”œโ”€โ”€ 06_locality_cmd.png               # Skewed Locality Analysis
โ”‚   โ”œโ”€โ”€ 07_mtu_network.png                # Network Telemetry
โ”‚   โ”œโ”€โ”€ 08_top_sched.png                  # Top Tasks & Scheduler Load
โ”‚   โ”œโ”€โ”€ 09_apt_packages.png               # Package System Manifests
โ”‚   โ”œโ”€โ”€ 10_hwinfo.png                     # ASUS Vivobook Hardware Specs
โ”‚   โ”œโ”€โ”€ 11_web_browser.png                # Micro-Browser Student Portal
โ”‚   โ”œโ”€โ”€ 12_help_cmd.png                   # Interactive Help Palette
โ”‚   โ”œโ”€โ”€ 13_architecture.png               # System Subsystem Block Diagram
โ”‚   โ””โ”€โ”€ 14_snap_store.png                 # Application Store Telemetry
โ”œโ”€โ”€ scripts/                              # Verification & Automated Generation Utilities
โ”‚   โ”œโ”€โ”€ add_research_and_fault_commands.py
โ”‚   โ”œโ”€โ”€ apply_white_theme.py
โ”‚   โ”œโ”€โ”€ aurora_overhaul.py
โ”‚   โ”œโ”€โ”€ gen_aurora_report.py
โ”‚   โ”œโ”€โ”€ gen_aurora_screenshots.py
โ”‚   โ””โ”€โ”€ push_to_huggingface.py
โ””โ”€โ”€ CA6_Rust_Micro_OS_Project/ # Primary Rust Microkernel Workspace
    โ”œโ”€โ”€ Cargo.toml                        # Top-Level Workspace Manifest
    โ”œโ”€โ”€ build.rs                          # BIOS Build Pipeline & Bootloader Glue
    โ”œโ”€โ”€ rust-toolchain.toml               # Toolchain Channel Pins
    โ”œโ”€โ”€ kernel/
    โ”‚   โ”œโ”€โ”€ Cargo.toml                    # Kernel Dependencies
    โ”‚   โ””โ”€โ”€ src/
    โ”‚       โ””โ”€โ”€ main.rs                   # Kernel Core, IDT, PIC, Framebuffer & Dispatcher
    โ”œโ”€โ”€ src/
    โ”‚   โ”œโ”€โ”€ lib.rs                        # Micro-OS Support Library
    โ”‚   โ”œโ”€โ”€ main.rs                       # Host Simulation Harness
    โ”‚   โ””โ”€โ”€ paging.rs                     # Paging & Simulation Models
    โ”œโ”€โ”€ tests/
    โ”‚   โ””โ”€โ”€ kernel_mechanisms.rs          # Integration Verification Suite
    โ””โ”€โ”€ docs/
        โ”œโ”€โ”€ architecture.md               # Subsystem Architecture Specifications
        โ””โ”€โ”€ testing.md                    # Verification & Validation Protocol

Reproduction & Verification Protocol

Running via Oracle VirtualBox

  1. Create a 64-bit virtual machine:
    • Type: Other | Version: Other/Unknown (64-bit)
    • RAM: 2048 MB | Processors: 2 vCPUs
  2. Attach aether-os.iso to the virtual IDE Optical Drive, or convert the disk image:
    VBoxManage convertfromraw target/micro-os-aurora.img aether-os.vdi --format VDI
    
  3. Set pointing device to USB Multi-Touch Tablet (prevents cursor entrapment):
    VBoxManage modifyvm "Micro-OS-64" --mouse usbtablet
    
  4. Boot the virtual machine. Click into the terminal window and type research, fault, or help.

Running via QEMU (Bare-Metal Emulation)

qemu-system-x86_64 -cdrom aether-os.iso -m 2048M -smp 2 -vga std

Scholarly Citation (BibTeX)

@software{kanade2026aether,
  author       = {Kanade, Varad},
  title        = {Aether OS v2.6: An x86\_64 Rust Microkernel with Empirical Page Replacement Evaluation under Locality},
  year         = {2026},
  institution  = {Faculty of Engineering and Technology, JAIN (Deemed-to-be University)},
  url          = {https://huggingface.co/datasets/varad130407/oslab},
  note         = {Academic OS Engineering Activity, USN: 25BTRCL105}
}

Academic Integrity & License

  • License: Released under the MIT License.
  • Academic Declaration: All kernel architectural specifications, telemetry benchmarking frameworks, empirical virtual memory models, and desktop GUI rasterizers are original engineering contributions by Varad Kanade (USN: 25BTRCL105) for course 25PCCS201 Operating Systems.
Downloads last month
66