Sketchovsky: Enabling Ensembles of Sketches on Programmable Switches
Sketchovsky: Enabling Ensembles of Sketches on Programmable Switches
复制标题
DOI:
--
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Hun Namkung;Zaoxing Liu;Daehyeok Kim;Vyas Sekar;P. Steenkiste
中科院分区:
文献类型:
--
作者:
Hun Namkung;Zaoxing Liu;Daehyeok Kim;Vyas Sekar;P. Steenkiste
Network operators need to run diverse measurement tasks on programmable switches to support management decisions (e.g., traffic engineering or anomaly detection). While prior work has shown the viability of running a single sketch instance, they largely ignore the problem of running an ensemble of sketch instances for a collection of measurement tasks. As such, existing efforts fall short of efficiently supporting a general ensemble of sketch instances. In this work, we present the design and implementation of Sketchovsky, a novel cross-sketch optimization and composition framework. We identify five new cross -sketch optimization building blocks to reduce critical switch hardware resources. We design efficient heuristics to select and apply these building blocks for arbitrary ensembles. To simplify developer effort, Sketchovsky automatically generates the composed code to be input to the hardware compiler. Our evaluation shows that Sketchovsky makes ensembles with up to 18 sketch instances become feasible and can reduce up to 45% of the critical hardware resources.