Abstract
Network traffic measurement is a fundamental part of many network applications, such as DDOS detection, capacity planning, and quality-of-service improvement. To achieve this, we need to count the number of packets passed during a past time interval. Traditionally, switches sample the packets and send them to the CPU for analysis. It is unavoidable that the sampling will sacrifice the measuring accuracy. Nowadays, programmable switches can keep the counters in the data plane. However, they still rely on the CPU to drain and clear the records periodically, which brings in too much communication latency. To overcome these disadvantages, we propose a metering mechanism under the RMT architectural model called SWAP. SWAP is carefully designed to count the number of packets during an interval accurately with little hardware resource usage. We prototype it using P4 and simulation results show SWAP achieves high efficiency and moderate accuracy at line speed.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.