mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
vault backup: 2022-11-01 12:04:33
This commit is contained in:
parent
2c24b90ea8
commit
4caf69d197
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-20
|
sr-due: 2022-11-24
|
||||||
sr-interval: 3
|
sr-interval: 23
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-21
|
sr-due: 2022-11-20
|
||||||
sr-interval: 3
|
sr-interval: 19
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-21
|
sr-due: 2022-11-23
|
||||||
sr-interval: 3
|
sr-interval: 22
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-21
|
sr-due: 2022-11-22
|
||||||
sr-interval: 3
|
sr-interval: 21
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,9 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc204
|
- cosc204
|
||||||
- lecture
|
- lecture
|
||||||
|
sr-due: 2022-11-04
|
||||||
|
sr-interval: 3
|
||||||
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
# storage heirachy
|
# storage heirachy
|
||||||
@ -29,7 +32,7 @@ as we move from secondary to primary:
|
|||||||
- OS kernel creates a map from logical address to the physical address using a mapping table
|
- OS kernel creates a map from logical address to the physical address using a mapping table
|
||||||
- CPUrefers to this table to map between physical and logical address
|
- CPUrefers to this table to map between physical and logical address
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
# paging for memory translation
|
# paging for memory translation
|
||||||
|
|
||||||
@ -39,4 +42,30 @@ in a paged memory allocation scheme, the logical sddresses generated by the CPU
|
|||||||
- page number
|
- page number
|
||||||
- offset (address within page)
|
- offset (address within page)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
page table indicates for each page which frame it's stored in.
|
||||||
|
|
||||||
|
- paging allows a process to be stored noncontigously in memory.
|
||||||
|
-it is a way of implementing run-time address binding
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## memoy protection valid/invalid bits
|
||||||
|
each process takes up n pages. but the table typically has more than n entries.
|
||||||
|
So the page table stores a valid/invalid bit which is set to invalid for out-of-range memory refs
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
vald bits can also be changed to read only, read-write etc
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## fast memory (cache) for paging
|
||||||
|
fastest is to store page table in special registers
|
||||||
|
- not feasible if page table is large (which is usually is)
|
||||||
|
- alternative is to store page table in main memory
|
||||||
|
- can slow things down
|
||||||
|
- because to access an address in memory, we now need two or more memory accesses
|
||||||
|
- solution is to keep a cach eof table table entries that have been used recently, in a special set of paallel-access registers calles associateive registers
|
||||||
|
- aka Translation look-aside buffer (TLB)
|
||||||
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-22
|
sr-due: 2022-11-19
|
||||||
sr-interval: 3
|
sr-interval: 18
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-23
|
sr-due: 2022-11-19
|
||||||
sr-interval: 3
|
sr-interval: 18
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-23
|
sr-due: 2022-11-20
|
||||||
sr-interval: 3
|
sr-interval: 19
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,8 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
sr-due: 2022-10-25
|
sr-due: 2022-11-17
|
||||||
sr-interval: 3
|
sr-interval: 16
|
||||||
sr-ease: 250
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user