vault backup: 2022-11-01 14:49:33

This commit is contained in:
Jet Hughes 2022-11-01 14:49:33 +13:00
parent 570c2cf13f
commit 2133aa21e7
2 changed files with 13 additions and 3 deletions

View File

@ -4,6 +4,9 @@ aliases:
tags:
- cosc204
- lecture
sr-due: 2022-11-04
sr-interval: 3
sr-ease: 250
---
interactive between device drivers and IO devices
@ -49,8 +52,15 @@ Direct memory access
IO performance
- reduce context switches
- reduce data copies in memory (normamly two: user mem)
- reduce data copies in memory (normamly two: user memory, device/kernel memory): can mmap to share memory
- reduce number of interrupts (e.g., using polling)
- it data is coming more frequently polling may be faster than interrupts
- increase concurrency (e.g., DMA)
- move data processing to hardware (e.g., network interface card)
- balance CPU, memory system, bus, IO performance
- balance CPU, memory system, bus, IO performance
Zero-copy
- avoid memory copy in IO data transfer
- use dynamic mmap
- copy data from deice directly to user spce e.g., remote direct memory access RDMA
- pass packet buffer pointers between layers of TCP/IP protocol

View File

@ -53,7 +53,7 @@ tags:
- [20-sync-deadlock](notes/20-sync-deadlock.md)
- [21-memory-management](notes/21-memory-management.md)
- [22-virtual-memory](notes/22-virtual-memory.md)
-[23-IO-systems](notes/23-IO-systems.md)
# Archive