Methods and apparatus are disclosed for maintaining netflow statistics
using an associative memory to identify and maintain netflows. A lookup
operation is performed on a set of associative memory entries to produce
an associative memory result directly or after a subsequent memory read
operation. In response to the associative memory result corresponding to a
not found condition, an entry is added to the set of associative memory
entries. Otherwise, a statistics entry in the set of statistics is updated
based on the associative memory result. In one implementation, the
associative memory is programmed with a set of permanent netflow entries
and a set of dynamic or nonpermanent netflow entries, which are maintained
in the form of a queue or ring buffer. In one embodiment, when the number
of dynamic entries exceeds a threshold value, one or more of the dynamic
entries and their corresponding statistics values are flushed.
Методы и приборы показаны для поддерживая статистик netflow использующ ассоциативную память для того чтобы определить и поддержать netflows. Деятельность взгляда вверх выполнена на комплекте входов ассоциативной памяти для того чтобы дать ассоциативной памяти сразу или после деятельности затем памяти прочитанной. In response to результат ассоциативной памяти соответствуя к найденному состоянию, вход добавлен к комплекту входов ассоциативной памяти. В противном случае, вход статистик в комплект статистик updated основанный на результате ассоциативной памяти. В одной вставке, ассоциативная память запрограммирована с комплектом постоянных входов netflow и комплектом динамических или nonpermanent входов netflow, которые поддержаны in the form of буфер косы или кольца. В одном воплощении, когда число динамических входов превышают порогового значение, one or more из динамических входов и их соответствуя значения статистик потоплено.