Browse Prior Art Database

A Method to Re-balance Sessions in a Multi-Core System

IP.com Disclosure Number: IPCOM000241332D
Publication Date: 2015-Apr-17
Document File: 2 page(s) / 18K

Publishing Venue

The IP.com Prior Art Database

Abstract

In deployments where a traffic session manager maintains session per core, there is a need of re-balancing the session load after the initial load balancing as there is a possibility of a core being idle when existing sessions are closed and the device is not receiving new sessions. Re-balancing the session based on core availability will allow more sessions to be processed (based on threshold factor). This helps in optimal usage of the core in all conditions thereby improving the performance.

This text was extracted from a Microsoft Word document.
This is the abbreviated version, containing approximately 52% of the total text.

Title:

A Method to Re-balance Sessions in a Multi-Core System


Abstract

In deployments where a traffic session manager maintains session per core, there is a need of re-balancing the session load after the initial load balancing as there is a possibility of a core being idle when existing sessions are closed and the device is not receiving new sessions. Re-balancing the session based on core availability will allow more sessions to be processed (based on threshold factor). This helps in optimal usage of the core in all conditions thereby improving the performance.

Body

Handling sessions is an important part of any network device. Some deployments choose to handle traffic on a session only on one core (to avoid race conditions or issues related to coherency).  Whenever a session is created it is assigned to a particular core by configuring the NIC such that it distributes the packets to different per core descriptor rings based on 5-tuple information.

The total number of sessions varies from hundreds to millions.  In a multi-core device, the sessions are load balanced during session establishment. There is a possibility of certain cores being highly loaded over a period of time. This may be due to closure of existing sessions.

We propose a method where re-balancing is performed after the initial load balancing. This can be based on the session handling or CPU load of the core for packet processing. This helps improve device performance.

After initial load balancing of the sessions to all cores, there might be a case where a few of the cores are not optimally loaded as the existing sessions are closed and the device is not receiving any new sessions. In this scenario, the cores are not evenly balanced. The abstract attempts to solve the problem so that...