Tests   More Tests

Internet Core Router Test

Packet Ordering

Ever since Juniper introduced its OC192 interface in early 2000, Cisco’s sales force has jumped on a supposed problem with packet reordering. This reordering occurs because there are actually four paths through Juniper’s OC192 card, which means that packets taking different paths can arrive out of sequence.

This subject has become something of a point of honor in the marketing war between the two vendors, with resident experts on both sides explaining why packet reordering is, or is not, an issue.

Since the Smartbits records whether packets arrive in sequence, we were able to determine exactly how much reordering actually does occur and also analyze what impact it may have. (For the record, we should note that packet sequencing was not one of the metrics stated in the original test methodology. But in pursuit of Peace in Our Time, we thought it best to tackle this touchy subject.)

Let’s start by saying that Cisco is right — at least on one count. Juniper’s OC192 interfaces do reorder some packets, both for IP and MPLS traffic (see Figure 11).

Figure 11: Packet Reordering With Juniper's OC192

When forwarding 40-byte IP packets, Juniper’s OC192 cards reordered at most 0.51 percent of traffic for IP or MPLS. With Imix, packet reordering increased to 2.65 percent over IP and 7.77 percent over MPLS.

We also noticed that reordering occurs on the OC192 cards whenever traffic rates exceed 73 percent of line speed with Imix or 56 percent with IP. There was no reordering whatsoever in the OC48 testbed.

In the world according to Cisco, reordering is a Very Bad Thing for TCP (Transmission Control Protocol) connections, which carry 90 percent or more of all Internet traffic. Cisco notes that TCP expects packets to be received in order. If they’re not, retransmissions can occur, leading to higher latency. If the delays are long enough, connections can time out.

To prove its point, Cisco cites a paper issued by The Institute of Electrical and Electronics Engineers Inc. (IEEE) and the Association for Computing Machinery (ACM). Written by two eminent computer scientists, Jon C.R. Bennett and Craig Partridge, it posits that the probability of a TCP connection on the Internet experiencing packet reordering is greater than 90 percent. The paper goes on to attribute much of this reordering to Digital Equipment Corp. switches in network exchange points. (You can check out the evidence yourself at http://puck.nether.net/cisco-nsp/packet_reordering1.pdf.)

Curiously, Juniper gives customers the same paper to explain away reordering; and it offers four arguments as to why the whole thing is a nonissue.

First, it notes that the reordering we saw was nowhere near the 90 percent-plus reported by Bennett and Partridge.

Second, it says reordering is significant only on a per-connection basis; Internet core circuits carry thousands of concurrent connections. Even if two packets do arrive out of order, Juniper says there’s a very low probability of any two packets belonging to any one connection. The vendor also says that it consciously and very willingly decided to trade off some reordering to gain higher throughput and lower latency for all the connections in the pipe.

Third, Juniper notes that TCP and Spirent Smartbits use different methods to account for packet reordering. It also says Smartbits reports more reordering than any TCP implementation would experience.

Finally, Juniper says the impact of reordering by its OC192 interfaces is not cumulative. In other words, if one OC192 interface puts packets out of order, another one down the line is just as likely to put the packets back in place.

So the war of words continues. Fortunately, Light Reading is prepared to illuminate this controversy:

    Reordering can have a very negative impact on TCP connections, dramatically increasing delay.

    True.

    Reordering can lead to retransmissions, delays, and even connection timeouts. But this begs the question of how much delay is acceptable.

    Delay is a function of TCP implementation, link speed, link congestion, device reordering, and many other considerations. The maximum latency numbers presented here can serve as a guideline for how much delay each vendor’s routers will introduce because of reordering and other factors.

    Reordering is significant only on a per-connection basis.

    True and false.

    It’s true that two reordered packets may have an impact on any one connection only if both packets belong to that connection. But it’s equally possible that reordered packets belonging to two different connections may have an impact on both.

    Internet core circuits may carry thousands to hundreds of thousands of concurrent TCP connections.

    True, as far as it goes.

    Juniper’s argument suggests that a pipe handling many TCP connections will interleave packets from each connection (for example, each of 50 connections might be represented by one packet, followed by 49 packets belonging to other connections). In essence, the argument assumes that any risk of reordering will be shared equally by all connections in the pipe.

    The trouble is, TCP traffic is inherently bursty, with multiple packets from a given connection typically clumped together. There is no general answer as to how much interleaving will occur on a given TCP link. The key issues here are how much interleaving occurs, and how much distance exists between reordered packets. The answers to those questions will differ on any given network.

    TCP connections may experience a lower percentage of reordered packets than we saw in our tests.

    True.

    If a Smartbits interface receives five packets ordered 1, 2, 4, 3, 5, it records only two packets as being in sequence — packets 1 and 2. In contrast, a TCP receiver would experience only one disruption — packet 3.

    This difference in accounting methods does not mean the actual impact on TCP will be three times lower than the Smartbits numbers. Even one disruptive packet can take a long time in arriving, resulting in high latency or, eventually, a connection timeout.

    Multiple interfaces will not have a cumulative effective on packet reordering.

    False.

    If one Juniper OC192 card scrambles some packets, a second OC192 interface has an equal likelihood of correcting the reordering; scrambling the packets further; or making no change. Thus, the impact of multiple OC192s is neither additive nor subtractive.

Perhaps the best way to characterize the reordering issue is to say that its probability is fractal. If one OC192 interface reorders 2 percent of packets, then 100 or 100,000 interfaces have the same probability of reordering 2 percent.

It would be nice to offer a definitive yes or no answer to the whole reordering debate. Nice, but not accurate.

Our test results suggest that Juniper’s OC192 reordering is nowhere near as big a problem as Cisco claims. Nor is it a complete nonissue, as Juniper contends. Since different networks handle different numbers of TCP connections, and since TCP implementations vary widely, we may never be able to completely resolve the question completely.

But there are two statements we can make with certainty (pay attention, they will be on the final):

First, users of Juniper’s OC192 cards won’t experience packet reordering until interface utilization exceeds 73 percent (or 56 percent for those strange few whose traffic consists entirely of 40-byte IP packets).

Second, given the information at hand we can’t definitely prove that reordering will never pose a problem under any circumstance. There’s only one surefire means of eliminating reordering as an issue: Don’t do it in the first place.

Newest Comments First       Display in Chronological Order
Page 1 of 44 Next >
gereizt
User Ranking
Tuesday January 2, 2007 10:34:48 PM
no ratings
Goto any looking glass and show the ip routing table. As for ACL rules, forget about it. You are asking someone to show you the addresses they allow and block and what, how and why. You aren't going to get it from a major provider and shouldn't get it from anyone with any kind of security sense.

bgopi
User Ranking
Thursday December 30, 2004 7:17:42 AM
no ratings
Hi,

Is there any place where i can get the typical core router' routing table dump and the ACL rules dump of the same?

Can someone help me in this regard.

Please mail me at bgopi@yahoo.com
Thanks
Gopi
Tony Li
User Ranking
Thursday August 19, 2004 12:53:15 AM
no ratings
In fact, both matter, but the packets/sec is harder to achieve. Consider that for each packet, a router has to perform an IP lookup, make a switching decision and get the packet to the correct output interface with the correct encapsulation.

The amount of work is the same regardless of the size of the packet. This leads some manufacturers to skimp on the processing power for packet processing, so they will underperform when tested with small packets. With large packets, the packet processing rate is lower, so it's simply a matter of bandwidth. Most players get that right, or come arbitrarily close.

Tony
rsunkara
User Ranking
Thursday August 19, 2004 12:01:38 AM
no ratings
Hi,

I am interested in knowing why the router performance is measured in packets/sec and not bits/sec??

Thanks
Chughster
User Ranking
Sunday September 28, 2003 8:23:13 PM
no ratings
Can some one explain the possible causes of the following trend:

With NAT enabled throughput for larger sized packets is lower than the throughput for smaller sized packets. That is, Packet streams with 64 byte size packets have a higher throughput compared to packets with 1500 byte size packets. The media is Fast ethernet. I am not sure if this is related to NAT in any way or if it is just an inherent switching performance any general router. Anyone with packet-switching knowledge please comment. The router is of VXR(NPE400). The MTU size is standard 1500 bytes for the interfaces.

What could be a logical explanation of this trend?

Janus Chu
Mathew Orman
User Ranking
Wednesday April 2, 2003 5:34:09 PM
no ratings
http://www.ultra-faster-than-light.com
Mathew Orman
User Ranking
Wednesday April 2, 2003 5:33:05 PM
no ratings
http://www.ultra-faster-than-light.com
mrfiber
User Ranking
Tuesday November 12, 2002 7:03:46 PM
no ratings
I'm talking single and multi-mode. I'm trying to gather enough data to get a better feel of exactly what is happening out there. We are considering having a contest with several of the main types on connectors and rating the results as to loss, spoils, ease of use and finished cost including labor and material. Your comments will certainly be appreciated.

Best regards,

william Graham

mrfiber@canada.com

http://www.fiberoptictraining.com
http://www.fiberoneinstallations.com
yikes_stripes
User Ranking
Friday November 1, 2002 2:46:39 PM
no ratings
Are we talking SM or MM?
mrfiber
User Ranking
Friday November 1, 2002 1:24:55 PM
I am looking for figures and field test results on different types of fiber optic connectors. I read an article yesterday suggesting that connectors with a pre-installed fiber could expect a loss of .2dB and hand polished connectors a loss of .5dB. My experience is opposite to this with hand polished an easy .2db or less. I would like to get comments from others.
This is probably in the wrong category but I don't see how to post in a new category.

Best regards,

mrfiber@canada.com
Page 1 of 44 Next >
LIGHT READING MARKET PLACE
Network Tool Guide
Fix Issues Faster. Choose the Right Portable Network Tools in Our Online Guide.
Polycom Sweepstakes
Win Two High Res Video Conferencing Systems. $8,000 Value. Enter Now to Win!
The Time is Now for FCoE
Join Cisco and its partners for a live informative webcast on 12/10/09
Used and Refurbished Cisco Routers
Purchase Your Routers From Network Liquidators. Savings of Up to 90% with a Lifetime Warranty!
TruePulse Buys&Sell Central Office Equip
Nortel, Cisco, Alcatel, Lucent, Tellabs, Calix, Occam & Anda: GigE, DWDM, SONET
The blogs and comments are the opinions only of the writers and do not reflect the views of Light Reading. They are no substitute for your own research and should not be relied upon for trading or any other purpose.
White Papers SPONSORED CONTENT
Featured
Podcasts SPONSORED CONTENT
Services Transformation - by Alcatel-Lucent Communications service providers want to be able to bring new services to...
Rural Ops Bridge the Digital Divide - by Tellabs Tellabs helps IOCs build triple play networks
Driving Network Transformation - by Alcatel-Lucent In order to deal with competitive pressures, the change in service models...
Back(haul) to the Future - by Tellabs Tellabs works with Vodafone to meet growing mobile broadband demands.
MRS Logistica - by Tellabs Tellabs helps MRS Logistica transform its existing, largely outdated TDM networks to IP.
Carrier Ethernet Offers an Enterprising Solution - by Tellabs What is VPLS and how does it work? Tellabs takes a closer look.
Swisscom’s Network Makeover - by Tellabs Fresh off the launch of 7.2 Mbps HSDPA, Swisscom sees 3G as an opportunity to launch a unifying ...
Telecom in Namibia - by Tellabs Tellabs helps Telecom Namibia with next-gen challenges
Companies
Alcatel-Lucent (5872), AT&T (1948), BellSouth (848), BT (1287), Cablevision (615), Cisco (5297), Comcast (1910), Cox Communications (858), Deutsche Telekom (807), eBay (Skype) (345), Ericsson (1617), France Telecom (964), Google (489), Huawei (1045), Intel (1127), Juniper (2022), Microsoft (1115), Motorola (1486), Nokia Siemens Networks (2645), Nortel (3956), NTT (173), Siemens (1359), Sprint (1059), Telefonica (439), Time Warner Cable (969), Verizon (2587), Vodafone (510), Yahoo (339)

Broadband
Access equipment (2169), Access technologies (2378), Broadband loop carriers / multiservice access nodes (388), Cable modem termination systems (CMTSs) (1104), Cable TV chips (286), DSL (2425), DSL chips (227), DSLAMs (703), Free-space optics (35), FTTx (3265), Gaming consoles (58), Gaming servers (22), Media adapters (23), Municipal networks (106), PON (1364), PON chips (217), Satellite (497), WiMax (880), Wireless LAN (354)

Cable Digital
Cable Modems (681), Cable/MSO equipment (2802), CableLabs (470), Compression (MPEG-2 and MPEG-4) (279), Docsis (1046), Embedded multimedia terminal adapters (E-MTAs) (213), Head-ends (233), PacketCable (129), QAM (307)

Chips, Components & Subsystems
ASICs & FPGAs (101), ATCA (480), ATM chips (13), Comm chips (2360), Dispersion compensators (149), Lasers (920), Modulators (163), Mux/demuxes (299), Network processors (933), Optical amplifiers (349), Optical channel monitors (92), Optical components (2824), Speciality fiber (94), Switches & OADMs (397), Transceivers (1247), Transmission fiber (419), Variable optical attenuators (139)

Ethernet
10-Gbit/s Ethernet switches (1454), Access devices (272), ATM switches (333), Circuit emulation (16), Converged access (103), Ethernet chips (573), Ethernet equipment (2212), Ethernet over copper (231), Ethernet PONs (160), Ethernet services (1909), Ethernet technologies (568), Multipoint (131), Multiservice edge equipment (143), Multiservice provisioning platforms (622), Multiservice switches (389), PBT (Provider Backbone Transport) (256), Point-to-point (139), Pseudowire (Layer 2 tunnels) (132)

IP & Convergence
B-RASs (229), Cell/WLAN (77), Compression equipment (13), Core routers (1294), DNS (56), Edge routers (1686), ENUM (53), Fixed/Mobile Convergence (485), GMPLS (76), IMS (1088), IMS Control Layer (27), IMS Service Layer (27), IP equipment (1224), IP software (381), IP technologies (1482), IPv6 (99), Layer 3 VPNs (194), MPLS (687), MPLS (1774), Multicast (36), P2P (258), Pseudowire (Layer 2 tunnels) (132), QOS (350), SIP (396), Traffic managers (808), Wireline/Wireless (59)

Mobile/Wireless
3G Evolution (175), Broadcast (Mobile TV, etc.) (189), Carrier WiFi (226), CDMA (3G) (367), Core Network (173), EV-DO (126), Femtocells (30), Fixed Wireless (Microwave, etc.) (71), Fourth Generation (4G) Wireless (70), GSM/EDGE (430), HSDPA/HSUPA (321), IMS Core (47), Long-Term Evolution (LTE) (188), Mobile Advertising (24), Mobile Music (31), Mobile TV (130), Mobile Video (65), Mobile WiMax/WiBro (92), Mobile/Wireless (5877), Packet Core (61), Radio Access Network (236), TD-SCDMA (Chinese 3G) (67), Transmission (38), Ultra-Mobile Broadband (UMB) (8), UMTS(3G) (340), Voice Core (21), WiMax (880), Wireless Backhaul (272), Wireless Chips (191), Wireless LAN (354)

Optical Networking
40-Gbit/s transmission (452), Core optical switches (760), CWDM (289), DWDM (1842), Long-haul WDM equipment (654), Metro optical switches, ROADMs (1173), Metro WDM equipment (773), Multiservice provisioning platforms & add/drop muxes (375), Optical equipment (2191), Optical switches & crossconnects (398), Optical technologies (417), Sonet/SDH (1036), Sonet/SDH chips (351), Wavelength services (305)

Security
Anti-virus (29), Denial-of-service attacks (44), Encryption (97), Endpoint security (22), Firewalls (61), Intrusion detection & prevention (45), IPSec VPN (801), Security (1835), SSL VPN (862), URL filtering (12), User authentication (24)

Services Software
Activation (415), Billing systems (761), Content/software downloads (231), Customer relationship management (231), Data Integrity (61), Element management systems (36), Fault management (69), Inventory management (153), Mediation systems (204), Messaging (231), Middleware (72), Mobile location (41), OSS (2584), Performance monitoring (335), Policy control (269), Provisioning (553), Revenue assurance & fraud management (334), Service delivery platforms (SDPs) (328), Service management (220), Service-oriented architectures (310), Services (2480), Web gateways (56), Web services (124), XML (51)

Test & Measurement (Sponsored by Etaliq Inc)
Access equipment Access test & measurement equipment (126), Comm chips Comm chips test & measurement equipment (29), Ethernet equipment Ethernet test & measurement equipment (170), IP equipment IP test & measurement equipment (122), MPLS MPLS test & measurement equipment (14), Optical components Optical components test & measurement equipment (113), Optical equipment Optical test & measurement equipment (886), OSS OSS test & measurement (1059), Sonet/SDH Sonet/SDH test & measurement equipment (1599), Test & measurement (1755), VOIP equipment VOIP test & measurement equipment (145)

Video (Sponsored by Ericsson Televisionary)
Broadcast (Mobile TV, etc.) (189), Broadcast video equipment (including encoding) (730), Content delivery network (CDN) (394), Content protection (270), DVRs (665), Internet Video (840), IPTV (3461), Middleware & business support systems (845), Set-top boxes (1624), Stored video servers (379), TV (3581), Video equipment (2448), Video services (4130), Video software (1349), Videophone (185), VOD (2635)

VOIP
Application servers (186), Centrex (198), Conferencing (78), Contact centers (38), Enhanced voice (34), Enterprise (637), Media gateways (357), Messaging (73), Presence management (43), Residential (835), Session border controllers (398), Signaling gateways (104), Softswitches (1090), VOIP chips (167), VOIP equipment (3423), VOIP services (3768), VOIP software (620), VOIP VPNs (28), Wholesale (220)