论文标题
TCAM中负载平衡的代码:尺寸分析
Codes for Load Balancing in TCAMs: Size Analysis
论文作者
论文摘要
流量分割是网络中所需的功能,例如用于在路径或服务器上的负载平衡,或者通过源的访问限制。服务器的容量(或具有特定访问限制的用户数量)确定了应分配流量的零件的尺寸。最近的一种方法在三元内容可寻址内存(TCAM)中实现了流量分裂,该内存通常在交换机中可用。重要的是要减少为此任务分配的内存量,因为TCAM是功率消耗,并且通常需要进行分类和路由等其他任务。最近的工作建议算法在最长的前缀匹配(LPM)模型中计算给定分区的最小实现。在本文中,我们分析了这种最小表示的特性,并证明其大小的下限和上限。一般TCAM的上限保留,我们还证明了一般TCAM的额外下限。我们还为统一的随机有序分区分析了表示的预期大小。我们表明,随机分区的预期表示大小至少是最差案例分区的大小的一半,并且在零件的数量和地址空间大小的对数中是线性的。
Traffic splitting is a required functionality in networks, for example for load balancing over paths or servers, or by the source's access restrictions. The capacities of the servers (or the number of users with particular access restrictions) determine the sizes of the parts into which traffic should be split. A recent approach implements traffic splitting within the ternary content addressable memory (TCAM), which is often available in switches. It is important to reduce the amount of memory allocated for this task since TCAMs are power consuming and are often also required for other tasks such as classification and routing. Recent works suggested algorithms to compute a smallest implementation of a given partition in the longest prefix match (LPM) model. In this paper we analyze properties of such minimal representations and prove lower and upper bounds on their size. The upper bounds hold for general TCAMs, and we also prove an additional lower-bound for general TCAMs. We also analyze the expected size of a representation, for uniformly random ordered partitions. We show that the expected representation size of a random partition is at least half the size for the worst-case partition, and is linear in the number of parts and in the logarithm of the size of the address space.