From 4caf69d197efae9a7a4cc487f0d29f3fd82ea4f1 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Tue, 1 Nov 2022 12:04:33 +1300 Subject: [PATCH] vault backup: 2022-11-01 12:04:33 --- content/notes/16-networks.md | 4 +-- content/notes/19-network-layer-data-plane.md | 4 +-- .../notes/20-network-layer-control-plane.md | 4 +-- content/notes/21-data-link-layer.md | 4 +-- content/notes/21-memory-management.md | 33 +++++++++++++++++-- content/notes/22-LAN-physical-layer.md | 4 +-- content/notes/23-wireless-mobile.md | 4 +-- content/notes/24-network-security.md | 4 +-- content/notes/25-advanced-topics.md | 4 +-- 9 files changed, 47 insertions(+), 18 deletions(-) diff --git a/content/notes/16-networks.md b/content/notes/16-networks.md index 48824f095..2213ec84b 100644 --- a/content/notes/16-networks.md +++ b/content/notes/16-networks.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-20 -sr-interval: 3 +sr-due: 2022-11-24 +sr-interval: 23 sr-ease: 250 --- diff --git a/content/notes/19-network-layer-data-plane.md b/content/notes/19-network-layer-data-plane.md index 88d9f43a2..5cc30d16c 100644 --- a/content/notes/19-network-layer-data-plane.md +++ b/content/notes/19-network-layer-data-plane.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-21 -sr-interval: 3 +sr-due: 2022-11-20 +sr-interval: 19 sr-ease: 250 --- diff --git a/content/notes/20-network-layer-control-plane.md b/content/notes/20-network-layer-control-plane.md index e40805c00..e745926b9 100644 --- a/content/notes/20-network-layer-control-plane.md +++ b/content/notes/20-network-layer-control-plane.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-21 -sr-interval: 3 +sr-due: 2022-11-23 +sr-interval: 22 sr-ease: 250 --- diff --git a/content/notes/21-data-link-layer.md b/content/notes/21-data-link-layer.md index 1459d0c34..403056a5c 100644 --- a/content/notes/21-data-link-layer.md +++ b/content/notes/21-data-link-layer.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-21 -sr-interval: 3 +sr-due: 2022-11-22 +sr-interval: 21 sr-ease: 250 --- diff --git a/content/notes/21-memory-management.md b/content/notes/21-memory-management.md index d6f8acf8c..885871eac 100644 --- a/content/notes/21-memory-management.md +++ b/content/notes/21-memory-management.md @@ -4,6 +4,9 @@ aliases: tags: - cosc204 - lecture +sr-due: 2022-11-04 +sr-interval: 3 +sr-ease: 250 --- # 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 - CPUrefers to this table to map between physical and logical address -![address bidning for process space slide|400](https://i.imgur.com/N0iAw0z.png) +![address binding for process space slide|400](https://i.imgur.com/N0iAw0z.png) # paging for memory translation @@ -39,4 +42,30 @@ in a paged memory allocation scheme, the logical sddresses generated by the CPU - page number - offset (address within page) -![](https://i.imgur.com/i3dn9IP.png) +![diagram|400](https://i.imgur.com/i3dn9IP.png) + +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 + +![Example](https://i.imgur.com/L0TDBF0.png) + +## 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 + +![diagam|400](https://i.imgur.com/gXLCCwg.png) + +vald bits can also be changed to read only, read-write etc + +![paging example](https://i.imgur.com/59hFyHd.png) + +## 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) \ No newline at end of file diff --git a/content/notes/22-LAN-physical-layer.md b/content/notes/22-LAN-physical-layer.md index c6230fd8d..2ee1d0451 100644 --- a/content/notes/22-LAN-physical-layer.md +++ b/content/notes/22-LAN-physical-layer.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-22 -sr-interval: 3 +sr-due: 2022-11-19 +sr-interval: 18 sr-ease: 250 --- diff --git a/content/notes/23-wireless-mobile.md b/content/notes/23-wireless-mobile.md index 6f061d964..2bd67d472 100644 --- a/content/notes/23-wireless-mobile.md +++ b/content/notes/23-wireless-mobile.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-23 -sr-interval: 3 +sr-due: 2022-11-19 +sr-interval: 18 sr-ease: 250 --- diff --git a/content/notes/24-network-security.md b/content/notes/24-network-security.md index e52ca1cdf..b4f63b106 100644 --- a/content/notes/24-network-security.md +++ b/content/notes/24-network-security.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-23 -sr-interval: 3 +sr-due: 2022-11-20 +sr-interval: 19 sr-ease: 250 --- diff --git a/content/notes/25-advanced-topics.md b/content/notes/25-advanced-topics.md index f3e41c9e1..729fbe8ca 100644 --- a/content/notes/25-advanced-topics.md +++ b/content/notes/25-advanced-topics.md @@ -4,8 +4,8 @@ aliases: tags: - cosc203 - lecture -sr-due: 2022-10-25 -sr-interval: 3 +sr-due: 2022-11-17 +sr-interval: 16 sr-ease: 250 ---