Computer Hardware Demo Examples
Runnable Python calculators and micro-benchmarks for infrastructure sizing, memory locality, storage trade-offs, and network planning. Click View to inspect any script in the code viewer.
For hardware architecture specifications, PCIe/NVMe standards, and data center guides, see References.
Phases 1–2: Compute, Power & Storage
Scripts for rack power and PUE sizing, cache-stride timing, GPU VRAM budgets, and RAID capacity planning.
| # | Script | Description | Link |
|---|---|---|---|
| 1 | Rack Power & PUE Budget | Calculates IT load, Power Usage Effectiveness, and 80%-derated circuit sizing. | View |
| 2 | CPU Cache Stride Benchmark | Compares sequential vs. strided array traversal timing in Python. | View |
| 3 | GPU VRAM Estimator | Estimates model weight + activation VRAM across FP16, INT8, and INT4 precision. | View |
| 4 | RAID Capacity & Fault Tolerance | Computes usable TB and drive-failure tolerance for RAID 0, 1, 5, 6, and 10. | View |
Phases 2–3: Storage I/O & Networking
Queue-depth IOPS modeling and IPv4 CIDR subnet planning for server racks.