Outline: x-kernel details



Exam Review

  1. Fixed Size
  2. Network (part of IP) or Transport (above IP)
  3. ATM connections involve some/all intermediate switches, TCP connnections only involve the end systems
  4. (a): different network, send to default router (b): same network, send directly to host
  5. 1.2.3.4, 9 hops, 5.6.7.8; 9.0.1.2, 4/infinite hops, 5.6.7.8;
    1. limited time is needed to make TCP's sliding window reliable
    2. limited hops is needed to limit resource (bandwidth) consumption
  6. discard the packet (NEVER block in an interrupt handler)
  7. 1s to send packet, 1s to get ack, 500b/s
  8. 1000b/s * 2s (from start of packet send to ack) = 2,000 bit windows
  9. 1 s = 1,000 ms = 1,000,000 u s (1 u s = 1 us) total is 0.40124 s



x-kernel: the big picture



Protocols and Sessions



Open



Push

Push does local processing, then gives its packet to the lower session.



Pop and Demux

(Picture omitted from HTML version)



Message Primitives

Very carefully designed to copy data as little as possible -- DAG of buffers.



Events

Event implementations: