Patent ID: 8769067
Filing Date: 2014-07-01
Classification: H04L

Abstract:
1. A method for synchronizing counters across a plurality of packet engines in a multi-core system to manage a service by the plurality of packet engines, each of the plurality of packet engines executing on a respective core of a plurality of cores, the method comprising: (a) establishing a timer for each of the plurality of packet engines operating on a respective core of a plurality of cores in a multi-core system, the timer setting a time period for which each of the plurality of packet engines is to use a set of counter values for managing by the multi-core system a service executing on a server, expiration of the timer triggering a consolidation of counter values from each packet engine of the plurality of packet engines; (b) storing, by a consolidator executing on a first core of the plurality of cores responsive to expiration of the timer, the set of counter values from each of the plurality of packet engines to a first storage location, the set of counter values from each packet engine comprising one or more metrics of managing a service as identified by each packet engine from network traffic traversing each packet engine on each packet engine's respective core; (c) sending, by the consolidator responsive to expiration of the timer, to each of the plurality of packet engines a first message to update the set of counter values in a second storage location; and (d) sending, by the consolidator upon completion of updating of the set of counter values by at least one of the plurality of packet engines, a second message to the at least one packet engine of the plurality of packet engines, the second message comprising a consolidated set of counter values based on the updated set of values from the second storage location, the consolidated set of counter values comprising a consolidation of the one or more metrics across the plurality of packet engines for managing the service by the multi-core system.