3. アプローチ 1: Userspace Dataplane
Control plane
Control plane
Data plane
software
Data plane
Device
hardware
Device
Existing hardware
tester
Our approach
4. アプローチ 2: Timing API
•
•
•
パケット送受信タイミング管理をNICにOffload
Userspaceからパケットごとに送信タイミングを指定
精度は8ns, 相対時間と絶対時間をサポート
Scheduled TX using
timestamp
RX w/ timestamp
on the hardware
traffic
Userspace
read(2)
NIC
write(2)
5. 2つの時間の指定方法
NIC内にPHYと同じClock sourceを用いた48 bit counterを用意
各パケットのRX timestamp && TX Timing 制御に利用
•
•
Global mode (絶対時刻を指定)
o App: forwarding, dummynet
Local mode (相対時刻を指定)
o 最初の送信パケットからの相対的な遅延を指定
o App: Network testing