|
Download README.md from rsonam112006/rust-os: direct link, hf CLI and curl.
- Browser
- Download file 1.99 kB
-
https://huggingface.co/rsonam112006/rust-os/resolve/main/README.md
- Command line
-
hf download hf://rsonam112006/rust-os/README.md
-
curl -L -o README.md https://huggingface.co/rsonam112006/rust-os/resolve/main/README.md
1.99 kB
| license: mit | |
| tags: | |
| - operating-system | |
| - rust | |
| - bare-metal | |
| - x86_64 | |
| - research | |
| - memory-management | |
| # Rust OS β 64-Bit Bare-Metal Operating System | |
| A custom 64-bit operating system kernel written in pure **Rust** and assembly (\oot.s\), running in Ring 0 Long Mode with 4-Level Paging. Developed by **Sonam** (sonam112006\). | |
|  | |
| --- | |
| ## Download Bootable ISO Image | |
| You can download the hybrid bootable ISO and run it directly in **VirtualBox**, **QEMU**, or flash it to a USB drive: | |
| * **[Download rust-os.iso (12.5 MB)](https://huggingface.co/rsonam112006/rust-os/resolve/main/rust-os.iso)** | |
| --- | |
| ## Research Topic: Page Replacement Under Locality of Reference | |
| This OS incorporates a bare-metal experimental evaluation of page replacement algorithms under temporal and spatial locality workloads: | |
| * **FIFO** (First-In, First-Out) | |
| * **LRU** (Least Recently Used) | |
| * **Optimal (MIN)** (Theoretical lowest fault bound) | |
| * **Second-Chance / Clock** | |
| ### Belady\'s Anomaly Proof | |
| * **3 Frames**: 9 Page Faults (75.0% Fault Ratio) | |
| * **4 Frames**: 10 Page Faults (83.3% Fault Ratio) | |
| * **Confirmed**: Adding memory frames increases page fault rate under FIFO replacement! | |
| --- | |
| ## Interactive Kernel Commands | |
| Boot the ISO in VirtualBox and use the native ust-os>\ shell: | |
| * \wifi\ β Wi-Fi 6 status, IP 172.20.10.3, 574 Mbps | |
| * \wifi scan\ β Scan 2.4 GHz & 5.0 GHz wireless networks | |
| * \ping <host>\ β Send ICMP echo packets with latency measurement | |
| * \enchmark\ β Run the 5 page replacement algorithms | |
| * \nomaly\ β Execute the Belady\'s Anomaly audit | |
| * \memory\ β Show 4096 MB RAM & page table map | |
| * \storage\ β Show 512 MB Virtual RAM Disk | |
| * \cpu\ β Display 13th Gen Intel Core i7 & Long Mode specs | |
| * \window\ β Launch Graphical Window Dashboard | |
| * \clear\ β Clear screen | |
| * eboot\ β Hardware restart via PS/2 0x64 | |
| --- | |
| ## Documentation | |
| Full academic paper and telemetry: | |
| * **[RESEARCH_REPORT.md](RESEARCH_REPORT.md)** | |