[Paper Review] Empirically Characterizing the Buffer Behaviour of Real Devices
This paper proposes two empirical methods to characterize buffer behavior in real network devices—measuring buffer size, input/output rates, and queueing behavior—using unattended measurements. It demonstrates accurate buffer size estimation with physical access and acceptable remote estimation when input rate exceeds three times the output rate, especially using large packets in wired and wireless networks.
All the routers include a buffer in order to enqueue packets waiting to be transmitted. The behaviour of the routers' buffer is of primary importance when studying network traffic, since it may modify some characteristics, as delay or jitter, and may also drop packets. As a consequence, the characterization of this buffer is interesting, especially when real-time flows are being transmitted: if the buffer characteristics are known, then different techniques can be used so as to adapt the traffic: multiplexing a number of small packets into a big one, fragmentation, etc. This work presents a preliminary study of how to determine the technical and functional characteristics of the buffer of a certain device (as e.g. behaviour, size, limits, input and output rate), or even in a remote Internet network node. Two different methodologies are considered, and tested on two real scenarios which have been implemented; real measurements permit the estimation of the buffer size, and the input and output rates, when there is physical or remote access to the "System Under Test". In case of having physical access, the maximum number of packets in the queue can be determined by counting. In contrast, if the node is remote, its buffer size has to be estimated. We have obtained accurate results in wired and wireless networks.
Motivation & Objective
- To develop a methodology for characterizing the technical and functional behavior of network device buffers, including size, input/output rates, and drop policies.
- To enable buffer characterization not only with physical access but also remotely, where direct measurement is not possible.
- To evaluate the accuracy of buffer size estimation using unattended, automated measurements in real-world wired and wireless network scenarios.
- To assess the impact of packet size and traffic rate on estimation accuracy, particularly in high-bandwidth or dynamic environments like Wi-Fi.
- To provide a foundation for QoS optimization techniques such as packet multiplexing and fragmentation by revealing actual buffer behavior.
Proposed method
- Method 1 uses physical access to count the maximum number of packets in the queue, directly measuring buffer size by flooding the buffer with large packets.
- Method 2 estimates buffer size remotely by analyzing the time-to-full and time-to-empty of the queue during controlled traffic bursts, using the ratio of input to output rates.
- Both methods rely on unattended, automated measurement sequences to collect queueing behavior under controlled traffic injection.
- The approach uses large packets (1500 bytes) to improve estimation accuracy, especially in remote scenarios where small packets lead to higher error.
- The method leverages the fact that when input rate exceeds output rate by a factor of three or more, the system reaches a stable state allowing reliable buffer size inference.
- For wireless devices, the method accounts for variable link speeds by measuring buffer behavior across different bandwidth settings (e.g., 1–54 Mbps).
Experimental results
Research questions
- RQ1How accurately can buffer size be estimated when physical access to the device is available?
- RQ2To what extent can buffer size be estimated remotely when only network-level access is available?
- RQ3How does input traffic rate relative to output rate affect the accuracy of remote buffer size estimation?
- RQ4What is the impact of packet size on the accuracy of buffer characterization in wired and wireless networks?
- RQ5How does buffer behavior—such as drop-tail or full-buffer blocking—vary across different real-world devices and link types?
Key findings
- With physical access, Method 1 achieved near-perfect accuracy, with buffer size estimates matching actual values (e.g., 85–115 packets at 20–40 Mbps on Ethernet).
- When using Method 2 for remote estimation, the average error was below 3% for input rates more than three times the output rate, with errors increasing at lower input-to-output ratios.
- On a Wi-Fi access point, buffer size estimates remained stable at 30–55 packets for bandwidths up to 11 Mbps, but showed increased error (up to 20%) at higher speeds due to rate adaptation.
- For 1500-byte packets, remote estimation error was minimized, while smaller packets led to significantly less accurate results.
- The method successfully detected a non-FIFO behavior: once full, the buffer rejected new packets until space became available, indicating a strict full-buffer policy.
- In high-bandwidth scenarios (e.g., 54 Mbps), the output rate varied significantly (min 10.88 Mbps, max 28.36 Mbps), indicating dynamic channel adaptation affects measurement stability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.