<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fragments &#187; SDH</title>
	<atom:link href="http://blogs.nil.com/blog/category/technical/sdh/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.nil.com</link>
	<description>The Official NIL Blog</description>
	<lastBuildDate>Wed, 08 Dec 2010 13:57:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>The Power of NIL Monitor, Part 2</title>
		<link>http://blogs.nil.com/blog/2009/01/22/the-power-of-nil-monitor-part-2/</link>
		<comments>http://blogs.nil.com/blog/2009/01/22/the-power-of-nil-monitor-part-2/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 07:00:32 +0000</pubDate>
		<dc:creator>Grega Modrijan</dc:creator>
				<category><![CDATA[SDH]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[network efficiency]]></category>

		<guid isPermaLink="false">http://blogs.nil.com/?p=492</guid>
		<description><![CDATA[In my previous post I mentioned that the NIL Monitor gave me much-needed visibility into the source of a problem, which contributed to fast and efficient solutions, and finally to customer satisfaction. But can the NIL Monitor supersede expensive test and measurement equipment, whose price can go beyond tens or even hundreds of thousands of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left">In my <a href="http://blogs.nil.com/blog/2008/12/22/the-power-of-nil-monitor-part-1/">previous post</a> I mentioned that the <a href="http://www.nil.com/go/nil_monitor">NIL Monitor</a> gave me much-needed visibility into the source of a problem, which contributed to fast and efficient solutions, and finally to customer satisfaction. But <strong>can the NIL Monitor supersede expensive test and measurement equipment</strong>, whose price can go beyond tens or even hundreds of thousands of Euros? Based on my experiences lately, in some circumstances the <strong>answer is affirmative</strong>. Here’s the story.</p>
<p style="text-align: left">A few weeks ago I witnessed a weird problem in one of our customers’ networks. The customer was complaining about <strong>poor data throughput between his central site and two remote sites, each connected with one Fast Ethernet (FE) and one Gigabit Ethernet (GE) connection over the Synchronous Digital Hierarchy (SDH), by means of a LAPS (Link Access Procedure) encapsulating technique</strong>. LAPS provides a means of transparently mapping Ethernet frames to SDH virtual containers.</p>
<p><span id="more-492"></span><br />
On each customer site, NIL had <strong>installed, provisioned and maintained the data network</strong>, based on Cisco Systems equipment (switches, routers, firewalls etc.), while the optical transmission network SDH, based on Ciena equipment, was installed, provisioned and maintained by another company.</p>
<p style="text-align: left">After receiving the customer’s trouble report, I immediately <strong>started performing troubleshooting procedures on the part of the data network equipment (mainly switches) that NIL had installed</strong>, and through which connectivity was established. First I performed some preliminary tests on data network equipment, pointing out problems along the optical transmission path that was based on the SDH technology. That report brought to the scene the company that had installed and maintained the SDH equipment. They proceeded with tests on the SDH equipment, which included <strong>measurement of the optical transmission link</strong> throughput on L1 and L2 (by sending the Ethernet frames) and on L3 and L4 (by sending the UDP datagrams). Tests that the other company performed by way of expensive optical equipment (i.e., IXIA 400T, SunSet MTT) showed maximum throughput of 100 Mbps for the Fast Ethernet link, and 1 Gbps for the Gigabit Ethernet link.</p>
<p style="text-align: left">At that time, <strong>the problem seemed to be with the customer’s end equipment</strong>, such as PCs, or applications the customer was running on that equipment. Before I started bothering the customer with that solution, though, I decided to <strong>include the customer’s remote sites in the NIL Monitor system for at least a week</strong>, in order to get long-term traffic statistics for the affected optical transmission links.<br />
<strong>One weeks’ statistic from the NIL Monitor system amazed me</strong>. Even though the NIL Monitor servers I used for measuring link bandwidth couldn’t generate traffic beyond data rates of 90 Mbps, it still revealed the bandwidth asymmetry of the affected optical transmission links and focused my attention back to the SDH system.</p>
<p style="text-align: left"><a href="http://blogs.nil.com/files/2009/01/bandwidth_monitor1.jpg"><img class="alignnone size-full wp-image-493" src="http://blogs.nil.com/files/2009/01/bandwidth_monitor1.jpg" alt="" width="500" height="201" /></a><span style="font-size: xx-small">Measured bandwidth of the affected optical link</span></p>
<p style="text-align: left">
<p style="text-align: left">At that point, a question arose: Why didn’t the previous measurements (made with highly specialized and extremely expensive optical test and measurement equipment) show the bandwidth asymmetry, which was so clearly presented on the NIL Monitor system?</p>
<p style="text-align: left"><strong>NIL Monitor measurement of the link bandwidth is based on TCP, a protocol that provides a reliable transport path over the data network</strong>. TCP does that by breaking up the data stream into packets and reassembling those packets in the proper order to reconstruct the original data stream at the receiving end. But sometimes packets can take different paths to their destination, arriving at different times and out of sequence. <strong>TCP solves this problem</strong> by temporarily storing packets until the missing packets arrive, so they can be restored to the correct order. What happens if a packet is damaged, or doesn’t arrive at all? TCP solves this issue by discarding the damaged packet and sending another one. Similarly, if a packet doesn’t arrive on time, another one is sent.</p>
<p style="text-align: left">By contrast, <strong>UDP is an unreliable protocol because it doesn’t bother dealing with lost or damaged packets </strong>(handling of damaged or missing packets is left to a higher-layer protocol, such as in the applications).</p>
<p style="text-align: left">To satisfy my curiosity, <strong>I captured the data traffic of the affected link</strong>. The output showed several packet retransmissions. At that point, I knew that the problem was in the SDH equipment, but I was still missing one piece of that puzzle. To solve the problem, I had to look into the configuration of the SDH equipment, where I finally found out that <strong>the source of the problem was the way in which the Fast Ethernet and Gigabit Ethernet frames were mapped into SDH virtual containers (VCs) and transmitted over the SDH network</strong>.<br />
Fast Ethernet frames were mapped into two virtual containers (VC3, each with a capacity of 48.960 Mbps), while the Gigabit Ethernet frames were mapped into seven larger virtual containers (VC4, with a size of 150.336 Mbps), by the encapsulating technique LAPS. VCs (VC3s and VC4s) of the same Fast Ethernet and Gigabit Ethernet connection were traveling both ways around the SDH ring. <strong>Due to different optical path lengths, the VCs that were traveling one way around the SDH ring were subject to higher delay than VCs traveling the opposite way.</strong> On the receiving site, the corresponding VCs of FE and GE arrived at different times and therefore could not be reassembled on time. That problem reflected on the operation of TCP, which started the retransmission of missing packets, resulting in effective bandwidth being cut.</p>
<p style="text-align: left">According to that finding, all VC3s and VC4s of the corresponding Fast Ethernet and Gigabit Ethernet were rerouted over one optical path around the SDH ring, immediately improving TCP performance. As the following picture shows, <strong>the bandwidth asymmetry disappeared after the VCs of the corresponding FE and GE connections were sent the same way around the SDH ring</strong>.</p>
<p style="text-align: left"><a href="http://blogs.nil.com/files/2009/01/bandwidth_monitor2.jpg"><img class="alignnone size-full wp-image-494" src="http://blogs.nil.com/files/2009/01/bandwidth_monitor2.jpg" alt="" width="500" height="178" /></a><span style="font-size: xx-small">Measured bandwidth of the optical links after routing all corresponding VCs of the FE and GE the same way around the SDH ring</span></p>
<p style="text-align: left">
<p style="text-align: left"><strong>What have we learned?</strong><br />
As one of my teachers once said, “The new test and measurement equipment can give you results faster, but often we forget the theory behind those results. We just can’t blindly believe the measured results if we are not sure how the results were measured.”</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nil.com/blog/2009/01/22/the-power-of-nil-monitor-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

