Diagrams Flashcards

1
Q

Draw the Multithreaded web server diagram.

A

Should include the following captions in an anti-clockwise rotation:
- Web server process
- Dispatcher thread
- Network connection
- Kernel
- Kernel Space
- Web page cache
- Worker thread
- User space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Draw the functioning of a system call diagram.

A

Should include the following captions in order:
1. Push nbytes
2. Push &buffer
3. Push fd
4. Call read
5. Put Code for read in register
6. Trap to kernel
7. Dispatch
8. [no tag just a radiator-looking thing]
9. Sys call handler
10. Return to caller
11. Increment SP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Draw a functioning paging system for virtual memory

A

Should include 10 steps, take notice of 4.1 going to 5.1 and 4.2 going to 5.2 and 5.3 going to HDD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Draw the file system layout diagram.

A

Include:
- Entire Disk

  • MBR
  • Partition Table
  • Disk partition

-Boot block
- Superblock
- Free space mgmt
- I-nodes
- Root dir
- Files and directories

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Draw the DMA network device/USB device diagram

A

Include the 3 different transition steps

The CPU, DMA controller, Disk controller, and main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly