Abstract

Network traffic measurement is vital to network applications such as network anomalies detection, capacity planning, and congestion alleviation. Traditional switches sample a small portion of packets and send them to CPU for analysis. However, with sampling rates as low as 0.1%, sampling methods are inaccurate. Faced with the predicament, emerging programmable switches achieve measure functionality to a certain extent. Nevertheless, existing methods depend on CPU to drain and clear the records periodically, which brings in too much communication latency. To avoid disadvantages above and explore the processing ability of modern programmable switches, we proposed a time-based measuring algorithm named TBSW. TBSW is designed to measure the number of packets during an interval accurately with little hardware resource usage. To the best of our knowledge, TBSW is the first to utilize the time information for network traffic measurement. We prototype TBSW in P4 language and run it on Barefoot Tofino switch. Results showed TBSW achieves high efficiency and moderate accuracy at line speed.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.