BB-Gen: A Packet Crafter for Data Plane Evaluation
With the advent of research on fast path packet processing, trafﬁc generator tools witnessed many entrants with features ranging from supporting list of protocols, analyzing network trafﬁc to measuring throughput and latency of packets. While approaching towards feature completeness, the tools are becoming more complex every time making it difﬁcult to port, manage, and use. BBGen with a sole focus on simplicity complements other trafﬁc generators instead of trying to replace them. BB-Gen is a simple CLI-based packet crafter to generate packet ﬂows formatted as PCAP ﬁles. The tool supports different standard protocols and creates the necessary traces for network function conﬁguration and testing. It allows creating PCAPs for worst and best case scenarios with all unique ﬂows or following ﬂow distributions published elsewhere. In this demo, we feature BB-Gen as used by the MACSAD development team to test P4-based software switch pipelines.
Bosshart, P., Daly, D., Gibb, G., Izzard, M., McKeown, N., Rexford, J., Schlesinger, C., Talayco, D., Vahdat, A., Varghese, G., and Walker, D. (2014). P4: Programming protocol-independent packet processors. ACM SIGCOMM Computer Communication Review.
Botta, A., Dainotti, A., and Pescapé, A. (2012). A tool for the generation of realistic network workload for emerging networking scenarios. Computer Networks, 56(15):3531–3547.
Bradner, S. and McQuaid, J. (1999). Benchmarking methodology for network interconnect devices. RFC 2544, RFC Editor. http://www.rfc-editor.org/rfc/rfc2544.txt.
Csikor, L., Szalay, M., Sonkoly, B., and Toka, L. (2015a). Network Function Performance Analyzer. http://nfpa.tmit.bme.hu.
Csikor, L., Szalay, M., Sonkoly, B., and Toka, L. (2015b). Nfpa: Network function performance analyzer. IEEE Conference on Network Function Virtualization and Software Dened Networks Demo Track.
DPDK (2014). Data Plane Development Kit. http://dpdk.org/.
Knutsson, K. (2014). RWS Synthetic Pcap Generator. https://github.com/karknu/rws.
Olsson, R. (2005). Pktgen the linux packet generator. In Proceedings of the Linux Symposium, Ottawa, Canada, volume 2, pages 11–24.
OpenDataPlane (2013). OpenDataPlane.org. https://www.opendataplane.org.
Ostinato (2010). Ostinato. https://ostinato.org.
Patra, P. G., Rothenberg, C. E., and Pongracz, G. (2016). Macsad: Multiarchitecture compiler system for abstract dataplanes (aka partnering p4 with odp). ACM SIGCOMM Demo and Poster Session.
Patra, P. G., Rothenberg, C. E., and Pongracz, G. (2017). Macsad: High IEEE HPSR High Performance performance dataplane applications on the move. Switching and Routing.
Tcpdump (2010). Tcpdump. https://www.tcpdump.org.