Ori RottenstreichIsaac KeslassyYoram RevahAviran Kadosh
Pipelines are widely used to increase throughput in multi-core chips by parallelizing packet processing while relying on virtualization. Typically, each packet type is served by a dedicated pipeline with several cores, each implementing a network service. However, with the increase in the number of packet types and their number of required services, there are not enough cores for pipelines. In this paper, we study pipeline sharing, such that a single pipeline can be used to serve several packet types. Pipeline sharing decreases the needed total number of cores, but typically increases pipeline lengths and therefore packet delays. We consider two novel optimization problems of allocating cores between different packet types such that the average or the worst-case delay is minimized. We study the two problems and suggest optimal algorithms that apply under different assumptions on the input. We also present greedy algorithms for the general case. Last, we examine our solutions on synthetic examples as well as on real-life applications and demonstrate that they often achieve close-to-optimal delays.
Ori RottenstreichIsaac KeslassyYoram RevahAviran Kadosh
Long QuChadi AssiKhaled Shaban
Long QuChadi AssiKhaled Shaban
Wenlu XuanZhongqi ZhaoLei FanZhu Han
Ran XuWendong WangGong XiangyangXirong Que