Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions W12D1/W12D1-Fengyueyang/W12-Fengyueyang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
### Symmetric Multiprocessors

![](image/6.png)

##### Multiprocessor Synchronization

![](image/7.png)

![](image/8.png)

### Distributed Shared Memory

![](image/1.png)

**False Sharing.**

![](image/2.png)

### Distributed Systems

![](image/3.png)

### Network Services

![](image/4.png)

### Network Services

![](image/5.png)
Binary file added W12D1/W12D1-Fengyueyang/image/1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W12D1/W12D1-Fengyueyang/image/2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W12D1/W12D1-Fengyueyang/image/3.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W12D1/W12D1-Fengyueyang/image/4.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W12D1/W12D1-Fengyueyang/image/5.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W12D1/W12D1-Fengyueyang/image/6.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W12D1/W12D1-Fengyueyang/image/7.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W12D1/W12D1-Fengyueyang/image/8.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions W4D1/W4D1-Fengyueyang/W4D1-Fengyueyang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# W4D1

## review

Scheduler

- Process/Thread Sched
- O(1) SD/RSDL, CFS
- Unix's Sched Principle
- Higher/lower
- User-level
- I/O-level

Q1: Perf (system) vs. Fairness (user)

Q2: Timeslice vs. Priority

Prio = static + nice + (CPU / 2)

## Memory Management

### topic

Process’s Memory Space vs. Kernel’s Mem Space (i.e mem_map_t)

Example: Buddy System

## Memory

### Running Multiple Programs Without a Memory Abstraction

![image-20230616214117718](image/image-20230616214117718.png)

Illustration of the relocation problem.

(a) A 16-KB program.

(b) Another 16-KB program.

(c) The two programs loaded consecutively into memory.

### No Memory Abstraction

![image-20230616214048430](image/image-20230616214048430.png)

Three simple ways of organizing memory with an operating system and one user process. Other possibilities also exist



### Memory Management with Bitmaps

![image-20230616214309964](image/image-20230616214309964.png)

(a) A part of memory with five processes and three holes. The tickmarks show the memory allocation units. The shaded regions (0 in the bitmap) are free.

(b) The corresponding bitmap.

(c) The same information as a list.

### Base and Limit Registers

![image-20230616214145227](image/image-20230616214145227.png)

Base and limit registers can be used to give each process a separate address space.

### Swapping

![image-20230616214213241](image/image-20230616214213241.png)

Memory allocation changes as processes come into memory and leave it. The shaded regions are unused memory

![image-20230616214234893](image/image-20230616214234893.png)

(a) Allocating space for a growing data segment.

(b) Allocating space for a growing stack and a growing data segment.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions W8D1/W8D1-Fengyueyang/W8-Fengyueyang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
### The Security Environment Threats

- Confidentiality
- Integrity
- Availability

##### Trusted Computing Base

![](image/1.png)

##### Protection Domains

![](image/2.png)

##### Access Control Lists

![](image/3.png)

##### Capabilities

![](image/4.png)

### Multilevel Security Bell-LaPadula Model

Bell-LaPadula Model rules for information flow:

- The simple security property
Process running at security level k can read only objects at its level or lower
- The * property
Process running at security level k can write only objects at its level or higher

![](image/5.png)

### Digital Signatures

![](image/6.png)

### Authentication

Methods of authenticating users when they attempt to log in based on one of three general principles:

- Something the user knows.
- Something the user has.
- Something the user is.

#### Buffer Overflow Attacks

![](image/7.png)
Binary file added W8D1/W8D1-Fengyueyang/image/1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W8D1/W8D1-Fengyueyang/image/2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W8D1/W8D1-Fengyueyang/image/3.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W8D1/W8D1-Fengyueyang/image/4.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W8D1/W8D1-Fengyueyang/image/5.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W8D1/W8D1-Fengyueyang/image/6.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added W8D1/W8D1-Fengyueyang/image/7.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.