week11_wed - CSC369H: Operating Systems Tutorial 10 --...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSC369H: Operating Systems Tutorial 10 -- March 15th, 2010 George Amvrosiadis gamvrosi@gmail.com Assignment 3: Q&A Agenda Assignment 3: Quick (reminder) overview Main focus: Testing! Available programs Writing your own Q & A George Amvrosiadis gamvrosi@gmail.com Assignment 3: The VM System Implement missing VM functions Design Document (Just like A1 & A2) Performance Evaluation Results Assignment 3: The VM System Implement missing VM functions Design Document (Just like A1 & A2) Performance Evaluation Results Test VM thoroughly! Assignment 3: Quick Overview - Files kern/vm/vmobj.c VM Object management kern/vm/lpage.c Logical Page management (Add code here) kern/vm/swap.c Swap Area (Page in/out funcs here) kern/vm/addrspace.c Proc. VAS mgmt using {vmobj,lpage} kern/arch/mips/mips/vm.c MD VM mgmt (EX_TLB*) kern/arch/mips/mips/coremap.c MD MM allocation/ reclamation of phys. pages on mem. kern/test/coremaptest.c Coremap test funcs live here Assignment 3: Quick Overview - Tasks lpage_fault() : Handle page fault lpage_evict() : Evict lpage (physmem swap) do_evict() : MD eviction code (e.g. clear TLB mappings) + lpage_evict() page_replace() : Page replacement policy (Flavours: RANDOM, LRU clock) Assignment 3: TLB Exceptions TLB Fault TLB Update Back 2 ULP Evict page Bring Page in PTE Update Page is in Page not in Free space No free space Replacement Policy, Dirty pages Assignment 3: TLB Exceptions EX_MOD, EX_TLBL, EX_TLBS TLB Fault TLB Update Back 2 ULP Evict page Bring Page in PTE Update Page is in Page not in Free space No free space Replacement Policy, Dirty pages Assignment 3: Performance Evaluation Part 1: Memory Reference Patterns User Level Programs Kernel Functions Part 2: Test Results Assignment 3: Performance Evaluation Part 1: Memory Reference Patterns User Level Programs Kernel Functions Part 2: Test Results Document in performance.txt Use [vm] command (see vm_printstats ) Assignment 3: Performance Evaluation Part 1: Memory Reference Patterns User Level Programs Kernel Functions Part 2: Test Results Document in performance.txt Use [vm] command (see vm_printstats ) Enhance? Evaluation Part 1: Memory Ref. PatternsPart 1: Memory Ref....
View Full Document

This note was uploaded on 05/22/2010 for the course CS CSCC69 taught by Professor Bianca during the Spring '10 term at University of Toronto- Toronto.

Page1 / 31

week11_wed - CSC369H: Operating Systems Tutorial 10 --...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online