Operating System Principles Reused in MemoryOS

operating system MemoryOS segment–page memory logical segments subdivided into fixed pages (Multics) segment metadata → no external fragmentation paging → little internal fragmentation segment ⊃ pages topic folders of dialogue pages a page = one turn {Q, R, T} · a folder = one topic folder carries an LLM summary and keywords pages join the folder whose match score is highest folder ⊃ pages priority-based eviction keeps hot data LRU, working-set models: recently and often used data stays resident, the rest is paged out coarse segments + fine pages minimize overhead hot · keep cold · evict heat-based eviction and promotion heat = visits + number of pages + recency coldest folder is evicted when the store is full hot folder (heat > τ) is promoted to the persona tier τ promote evict storage hierarchy cache → main memory → disk small and fast near the processor, large and slow further away cache RAM disk three memory tiers by lifetime STM recent turns → MTM topic folders → LPM persona short-term · mid-term · long-term personal what moves between tiers is decided by FIFO and heat STM MTM LPM
09 / 25