sflow packet sampling algorithm

Skip to first unread message

Mehdi Moshiri

May 12, 2018, 1:44:33 AM5/12/18
to sFlow
we need to compute sflow packet sampling algorithm hardware complexity? 
could you help us?
what is the sflow packet sampling codes?
what is the hardware complexity?

Peter Phaal

May 12, 2018, 11:10:07 AM5/12/18
to sFlow
The requirements for packet sampling are described in the sFlow specification document (section 3.1 and Appendix B):

The theory behind sFlow packet sampling is described in:

The P4 implementation gives you an idea of the hardware complexity:

The Open Compute Project (OCP) Switch Abstraction Interface (SAI) provides an abstract API for configuring packet sampling in hardware:

Here are a couple of software examples:

Open vSwitch:

Reply all
Reply to author
0 new messages