Week 09 Notes for CST8281 - Fall 2011

Ian! D. Allen - idallen@idallen.ca - www.idallen.com

Fall 2011 - September to December 2011 - Updated 2011-11-16 04:34 EST

1 Midterm Test #2 - 20%Indexup to index

2 Final Exam Schedule PostedIndexup to index

3 Lecture Notes for This WeekIndexup to index

3.2 From Blackboard Course DocumentsIndexup to index

These documents have restricted distribution and cannot be put on the Course Home Page.

3.3 From the InternetIndexup to index

About The Internet and its protocols:

Social Commentary:

About creating good HTML web pages:

3.4 From the Classroom Whiteboard/ChalkboardIndexup to index

3.4.1 Memory, Cache, and Virtual MemoryIndexup to index

  • cache (from 06.ppt)
    • what is the purpose of cache memory?
    • how does the size of cache memory affect your programs?
  • virtual memory (from 06.ppt)
    • allows CPU to execute programs larger than physical memory
    • one more level of indirection between the program and the memory
    • program (virtual, logical) address - what the program uses
    • memory (physical, real) address - what gets to the memory
    • program has virtual pages (or just “pages”)
    • memory has physical page frames (or just “frames”)
    • page table, valid bit, page faults
    • working set, thrashing
  • Review of Cache and Virtual Memory
    • cache hit, miss
    • three types of locality
    • basic feature VM allows
    • physical address vs. virtual address
    • page fault, thrashing, working set
    • why does page fault code have to reside in physical memory
| Ian! D. Allen  -  idallen@idallen.ca  -  Ottawa, Ontario, Canada
| Home Page: http://idallen.com/   Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

Plain Text - plain text version of this page in Pandoc Markdown format

Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen