Linux kernel network traffic control

Source: Internet
Author: User
Linux kernel network traffic control-General Linux technology-Linux programming and kernel information. For more information, see the following. [I = s] This post was last edited by honglicheng

1. there is a timestamp in sk_buff, which is generally used to record the packet collection time, but I want to use it to do something during packet sending, specifically to record the time before the packet enters the traffic control queue, it is used to estimate the waiting time in the traffic control queue in the driver for packet loss policy. Which function should I add this timestamp? Can I assign values directly?
2. I want to divide my business into EF, AF, and BE. what TC traffic control algorithm should I use? Can DSMASK be used?
3. I want to measure the NIC latency, specifically the interval between two points. one is the time point when the network layer sends a packet to the driver, one is the time when the driver sends a soft interrupt to the network layer to notify the next packet to be sent. should it be tested at the network layer or at the driver? How to test?
4. how does one automatically adjust the HTB rate based on the NIC latency? Where to do it? How?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.