TY - GEN
T1 - Measurements As First-class Artifacts
AU - Laffranchini, Paolo
AU - Rodrigues, Luis
AU - Canini, Marco
AU - Krishnamurthy, Balachander
N1 - KAUST Repository Item: Exported on 2020-10-01
Acknowledgements: This work was partially supported by (FCT) and Feder projects with references PTDC/EEI- COM/29271/2017 (Cosmos) and UID/ CEC/ 50021/ 2019. Paolo Laffranchini was supported by a fellowship from the Erasmus Mundus Joint Doctorate in Distributed Computing (EMJD-DC) program funded by the European Commission (EACEA) (FPA 2012-0030). We thank David Walker and Leonid Ryzhyk for their constructive comments on this work.
PY - 2019/4
Y1 - 2019/4
N2 - The emergence of programmable switches has sparked a significant amount of work on new techniques to perform more powerful measurement tasks, for instance, to obtain fine-grained traffic and performance statistics. Previous work has focused on the efficiency of these measurements alone and has neglected flexibility, resulting in solutions that are hard to reuse or repurpose and that often overlap in functionality or goals. In this paper, we propose the use of a set of reusable primitive building blocks that can be composed to express measurement tasks in a concise and simple way. We describe the rationale for the design of our primitives, that we have named MAFIA (Measurements As FIrst-class Artifacts), and using several examples we illustrate how they can be combined to realize a comprehensive range of network measurement tasks. Writing MAFIA code does not require expert knowledge of low-level switch architecture details. Using a prototype implementation of MAFIA, we demonstrate the applicability of our approach and show that the use of our primitives results in compiled code that is comparable in size and resource usage with manually written specialized P4 code, and can be run in current hardware.
AB - The emergence of programmable switches has sparked a significant amount of work on new techniques to perform more powerful measurement tasks, for instance, to obtain fine-grained traffic and performance statistics. Previous work has focused on the efficiency of these measurements alone and has neglected flexibility, resulting in solutions that are hard to reuse or repurpose and that often overlap in functionality or goals. In this paper, we propose the use of a set of reusable primitive building blocks that can be composed to express measurement tasks in a concise and simple way. We describe the rationale for the design of our primitives, that we have named MAFIA (Measurements As FIrst-class Artifacts), and using several examples we illustrate how they can be combined to realize a comprehensive range of network measurement tasks. Writing MAFIA code does not require expert knowledge of low-level switch architecture details. Using a prototype implementation of MAFIA, we demonstrate the applicability of our approach and show that the use of our primitives results in compiled code that is comparable in size and resource usage with manually written specialized P4 code, and can be run in current hardware.
UR - http://hdl.handle.net/10754/656124
UR - https://ieeexplore.ieee.org/document/8737383/
UR - http://www.scopus.com/inward/record.url?scp=85068207510&partnerID=8YFLogxK
U2 - 10.1109/INFOCOM.2019.8737383
DO - 10.1109/INFOCOM.2019.8737383
M3 - Conference contribution
SN - 9781728105154
SP - 415
EP - 423
BT - IEEE INFOCOM 2019 - IEEE Conference on Computer Communications
PB - Institute of Electrical and Electronics Engineers (IEEE)
ER -