云和虚拟化

Measuring Latency in High-Speed, Low-Latency Networks

作者:

stopwatch AdobeStock 272231322-1240x600

Resolution, precision, and accuracy–three words that get thrown around a lot, often interchangeably. That’s not surprising, considering that some dictionaries actually list one or more as synonyms for the other.

Resolution, precision, and accuracy–three words that get thrown around a lot, often interchangeably. That’s not surprising, considering that some dictionaries actually list one or more as synonyms for the other.

But these three words actually mean three different things and that distinction becomes very important when testing devices and networks for latency, particularly in switch fabrics designed for data centers and cloud computing.

引述

... the difference is on how reliable and repeatable a measurement is.

Resolution and precision both refer to the smallest unit measurable by an instrument, the difference is on how reliable and repeatable a measurement is. Neither refers to whether the measurement is correct. That’s what accuracy is all about—correctness.

  • Resolution: 

    The smallest unit to which an instrument can be read

  • Precision: 

    The smallest unit to which an instrument can be read reliably and repeatably

  • Accuracy: 

    The condition or quality of being correct

A common illustration of the difference between resolution and precision compares an analog stopwatch to a digital stopwatch. The analog stopwatch may have ten tick marks between seconds, indicating a resolution of one tenth of a second, whereas the digital stopwatch may have two digits after the decimal, indicating a resolution of one hundredth of a second. However, human response isn’t that fast. It takes about a tenth of a second from a stimulus to a button press. So despite the fact that the digital stopwatch has a resolution of one hundredth of a second, its precision (repeatability) when operated by a human is the same as the analog watch, one tenth of a second.

However, neither resolution nor precision will tell you whether the stopwatch is accurate, meaning that when the stopwatch marks off ten seconds, whether exactly ten seconds has passed. Accuracy in an instrument is usually assured by calibrating it to a known value. In electronic instruments that measure sub-second values, accuracy depends on the resonant frequency of crystals, which can measure millions or billions of changes per second.

Because of the importance of sub-microsecond latency measurements in high-speed environments, Spirent engineers designed Spirent TestCenter to measure time intervals with the highest resolution, precision, and accuracy in the industry. The test modules have a resolution of 10 ns at 10 Gbps and 2.5 ns at 40 Gbps and 100 Gbps. To yield the best results when measuring latency between interfaces of different speeds, the test signature has a resolution of 2.5 ns on all modules.

The shortest frame insertion time is 51.2 ns at 10 Gbps and 20.48 ns at 40 Gbps, so a timestamp resolution of 10 ns is adequate. However, the shortest frame insertion time is 5.12 ns at 100 Gbps, so the 2.5 ns resolution of Spirent TestCenter 100 Gbps test modules is required to accurately measure latency at that speed.

引述

Scalability tests for data centers require high port counts, which involve multiple test chassis.

Scalability tests for data centers require high port counts, which involve multiple test chassis. To achieve the accuracy required for high-speed ports at such granular precision, Spirent TestCenter calibrates for synchronization cable length between chassis, port location with each chassis, and heat, as temperature affects the resonant frequency of a crystal. Spirent TestCenter’s ability to display negative latency allows its users to validate calibration and optionally adjust to near zero nanoseconds when using Direct Attached Copper cables vs. fibers with optics.

Recently Gnodal, known for their ultra-low-latency switches, looked to Spirent to showcase the performance of the GS-Series switches, including its latest GS series 40 GbE switch. Gnodal conducted low-latency performance testing of the GS4008 and GS0072 High Speed Ethernet switches individually and also as part of a two-tier data center fabric.

The precision and accuracy of Spirent TestCenter latency measurements become of paramount importance in this test, which measured 40 GbE performance in the low hundreds of nanosecondslatency.

As illustrated by the Gnodal test, modern switch and router fabrics span multiple chassis and typically expanded to build systems supporting hundreds or thousands of ports. These systems must be tested to assess system performance and verify reliability when deployed in large mission-critical environments supporting millions of user application flows. The density and mesh-pattern traffic-generation capabilities of Spirent TestCenter can not only fully-load modern, multi-terabit backplanes and fabrics, but can measure port-to-port and end-to-end latency across a full-mesh network with industry-leading accuracy and precision.



喜欢我们的内容吗?

在这里订阅我们的博客

博客订阅

Jurrie van den Breekel

战略伙伴关系副总裁

Jurrie负责管理思博伦战略和企业开发团队的技术伙伴生态体系。Jurrie在思博伦拥有20余年的工作经验,曾担任多个思博伦业务部门的业务拓展、产品管理、客户支持和战略营销的副总裁,并在美国和欧洲、中东及非洲业务部门任职。Jurrie对拓展和推进业界协作充满热情,并且是NetSecOPEN非赢利行业倡议的创始董事兼主席,为促进传输网络安全效能、验证和认证做出了巨大的贡献。