Destiny
Sign In
RES-43 · APPLE SILICON UNIFIED MEMORY MMAP() MODEL LOAD EFFICIENCY

Zero-Copy Weight Mapping Study: Warm mmap() Re-Open vs Cold NVMe Read Across 8B–27B GGUF Files

Measuring how operating-system virtual memory mapping avoids duplicate RAM allocation when switching between 8B and 27B local models on macOS.

I/O Scope: Cold-load timings reflect internal Apple Silicon SSD lanes or direct Thunderbolt 4/5 enclosures; slow USB-A thumb drives degrade load speed severely.

RES-43 · Apple Silicon Storage I/OApple Silicon Measured

02 · Quantitative Metrology Table

Audited Baselines & Measurement Methodology

Measured DimensionObserved ValueMethodology & Verification Scope
Cold SSD Read (8.26 GB Swift)~1.4–2.5 Seconds (Internal NVMe)Sequential Apple internal SSD read populated straight into shared pages.
Warm Page-Cache Re-Mount< 150 ms Page AttachActive read-only pages already resident in Unified Memory re-map cleanly.
8-Stream Shared Weight RAM1x Read-Only FootprintMulti-pane sessions share identical static weight pages without duplication.
External Thunderbolt NVMeTB4 (~3 GB/s) / TB5 (~6 GB/s)Keeps internal laptop SSD capacity clear for giant optional libraries.

03 · Empirical Takeaways

Key Buyer & Systems Findings

FINDING 01

Sharing read-only mapped weight pages prevents parallel workspace tabs from multiplying gigabytes of RAM.

FINDING 02

Warm OS page-cache residency keeps rapid switching between Destiny Swift and specialized tools near-instantaneous.

FINDING 03

External Thunderbolt NVMe model vaults integrate cleanly for users archiving large optional Q6/Q8 weights.

Destiny 2.0 Mac: 78.62 tok/s · M1–M6 NativeZero Trackers · Cross-Origin SVG
Embed Apple Silicon Metrology Badge

Cite reproducible Apple M4 Pro Unified Memory benchmark receipts in engineering repositories.

04 · mmap() Zero-Copy Load Time FAQ

mmap() Zero-Copy Load Time — Methodology & Reproduction

02 Questions
Does opening two chat panes inside Destiny double the RAM used by the AI model?
No—read-only model weights remain shared in memory while only independent per-pane KV conversation context grows.
Can I keep extra GGUF model files on an external Thunderbolt SSD?
Yes—see MAC-19 at /mac/thunderbolt-4-and-5-external-nvme-gguf-model-vault-setup.