Load Balancing with Minimal Deviation in Switch Memories

Yaniv Sadeh*, Ori Rottenstreich, Haim Kaplan

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Traffic splitting is a required functionality in networks, for example for load balancing over multiple paths or among different servers. The capacities of the servers determine the partition by 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 also required for other tasks such as classification and routing. Previous work showed how to compute the smallest prefix-matching TCAM necessary to implement a given partition exactly. In this paper we solve the more practical case, where at most n prefix-matching TCAM rules are available, restricting the ability to implement exactly the desired partition. We consider the L1 distance between partitions, which is of interest when overloaded requests are simply dropped, and we want to minimize the total loss. We prove that the Niagara algorithm (Kang et al., 2015) can be used to find the closest partition in L1 to the desired partition, that can be realized with n TCAM rules. Moreover, we prove it for arbitrary partitions, with (possibly) non-integer parts. We also include a short discussion on similarities and differences to previous work which studies the same problem but for L∞ distances.

Original languageEnglish
Article number3285749
Pages (from-to)4283-4296
Number of pages14
JournalIEEE Transactions on Network and Service Management
Volume20
Issue number4
DOIs
StatePublished - 1 Dec 2023

Keywords

  • Load balancing
  • TCAM
  • traffic splitting

Fingerprint

Dive into the research topics of 'Load Balancing with Minimal Deviation in Switch Memories'. Together they form a unique fingerprint.

Cite this