ANAmogh Nivaskarinamoghpn.hashnode.dev·11h ago · 18 min readBuilding a Multi-Level Feedback Queue Scheduler in xv6The full xv6 implementation, benchmarks, and test programs are available on GitHub The Problem xv6's default round-robin scheduler has no concept of what a process is doing with its time slice. A shel00
ANAmogh Nivaskarinamoghpn.hashnode.dev·May 30 · 10 min readLazy ELF Loading in xv6: Demand Paging for ExecutablesThe full xv6 implementation, benchmarks, and test programs are available on GitHub. The Problem When exec() loads a binary in xv6, it eagerly allocates pages and reads every ELF segment from disk bef00
ANAmogh Nivaskarinamoghpn.hashnode.dev·Apr 25 · 9 min readCopy-on-Write Fork in xv6: Implementation, Bugs, and Benchmarks The full xv6 implementation, benchmarks, and test programs are available on GitHub The Problem Every time a Unix process calls fork(), the kernel duplicates the parent's entire address space. On a pro00