Towards Low-Latency Byzantine Agreement Protocols Using RDMA
DSN Workshop on Byzantine Consensus and Resilient Blockchains Signe Rüsch, Ines Messadi, Rüdiger Kapitza, 2018-06-25
ruesch@ibr.cs.tu-bs.de Technische Universität Braunschweig, Germany
Towards Low-Latency Byzantine Agreement Protocols Using RDMA DSN - - PowerPoint PPT Presentation
Towards Low-Latency Byzantine Agreement Protocols Using RDMA DSN Workshop on Byzantine Consensus and Resilient Blockchains Signe Rsch, Ines Messadi, Rdiger Kapitza, 2018-06-25 ruesch@ibr.cs.tu-bs.de Technische Universitt Braunschweig,
ruesch@ibr.cs.tu-bs.de Technische Universität Braunschweig, Germany
Motivation RDMA Design Evaluation Conclusion
Block n Hash h(n-1) Block n+1 Hash h(n) Block n+2 Hash h(n+1) tx1 tx2 … tx1 tx2 … tx1 tx2 …
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 2 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Block n Hash h(n-1) Block n+1 Hash h(n) Block n+2 Hash h(n+1) tx1 tx2 … tx1 tx2 … tx1 tx2 …
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 2 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 3 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
EuroSys’17)
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 4 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
EuroSys’17)
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 4 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Application OS NIC Buffer Buffer Buffer Application OS NIC Buffer Buffer Buffer TCP/IP
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 5 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Application OS NIC Buffer Buffer Buffer Application OS NIC Buffer Buffer Buffer TCP/IP RDMA over Converged Ethernet
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 5 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 6 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 7 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 7 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 8 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 8 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 9 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 10 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 10 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 11 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 11 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Server A Server B
RNIC RNIC memory key exchange Data Buffer Data Buffer RDMA Write(data, key)
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 12 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Server A Server B
RNIC RNIC memory key exchange Data Buffer Data Buffer RDMA Write(data, key)
Server A Server B
RNIC RNIC Send Buffer Recv Buffer RDMA Send(data) RDMA Receive
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 12 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 12 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 13 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 14 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 14 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 14 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 15 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 15 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 15 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 15 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 15 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 16 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 17 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 17 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
TCP RDMA Send/Recv RDMA Read/Write RDMA Channel
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 18 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
TCP RDMA Send/Recv RDMA Read/Write RDMA Channel
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 18 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
TCP RDMA Send/Recv RDMA Read/Write RDMA Channel
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 19 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 20 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 21 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 22 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Application OS NIC Buffer Buffer Buffer Application OS NIC Buffer Buffer Buffer TCP/IP RDMA over Converged Ethernet 2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 23 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Application OS NIC Buffer Buffer Buffer Application OS NIC Buffer Buffer Buffer TCP/IP RDMA over Converged Ethernet
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 23 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
Registered Memory SQ RQ CQ
Send WR CQE
Buffer to send
Sender Receiver
Registered Memory Receive buffer RQ
Recv WR
CQ
CQE
SQ 2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 24
Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 25 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 26 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 27 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 28 Institute of Operating Systems and Computer Networks
Motivation RDMA Design Evaluation Conclusion
2018-06-25 Signe Rüsch Byzantine Agreement Protocols Using RDMA Page 29 Institute of Operating Systems and Computer Networks