<div dir="ltr">Not only high reliability is possible, incrementally higher performance is also possible at the same time or the Internet would crumble by now.<div><br></div><div>The key is in the architecture. The overheads can be traded for performance gains elsewhere without sacrificing reliability or scalability.</div><div><br></div><div>In other words, the packet switching network proved that you can have the cake and eat it at the same time.</div><div><br></div><div>Justin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 10, 2016 at 4:43 PM, Lux, Jim (337C) <span dir="ltr"><<a href="mailto:james.p.lux@jpl.nasa.gov" target="_blank">james.p.lux@jpl.nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">High reliability is possible, at the expense of substantial additional resources. Packet switching requires storage to hold unacknowledged packets that might
need to be resent and it requires time for the resends. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If you have time critical processes with fine granularity, then you have to budget in the memory and time to achieve that reliability.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The other thing is that some high reliability approaches do not scale well. A bit error rate of 1E-9 would be outstandingly good on a radio link, but if you’re
sending data at 1Gbps, that’s an error every second. If you’re sending data at 1 Tbps, that’s an error every millisecond. If your packets are a millisecond long, then you get no successful packets through.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Fortunately, “over the wire” error rates are much better (1E-12 wouldn’t be unusual), but that’s still a once every 20 minutes sort of error rate at 1 Gbps.
And if you’re talking about interprocessor interconnects.. a 12x Infiniband is about 300 Gb/sec. A 1E-12 error rate would be an error every few seconds. At those rates, of course you’re going to use some sort of forward error correction (you’re not going
to depend on retry), and that might be an effective data rate reduction of 30-50% (depending on the coding).<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Jim Lux<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="tel:%28818%29354-2075" value="+18183542075" target="_blank">(818)354-2075</a> (office)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="tel:%28818%29395-2714" value="+18183952714" target="_blank">(818)395-2714</a> (cell)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Justin Y. Shi [mailto:<a href="mailto:shi@temple.edu" target="_blank">shi@temple.edu</a>]
<br>
<b>Sent:</b> Thursday, March 10, 2016 1:14 PM<br>
<b>To:</b> Douglas Eadline <<a href="mailto:deadline@eadline.org" target="_blank">deadline@eadline.org</a>><br>
<b>Cc:</b> Lux, Jim (337C) <<a href="mailto:james.p.lux@jpl.nasa.gov" target="_blank">james.p.lux@jpl.nasa.gov</a>>; <a href="mailto:beowulf@beowulf.org" target="_blank">beowulf@beowulf.org</a><span class=""><br>
<b>Subject:</b> Re: [Beowulf] MPI, fault handling, etc.<u></u><u></u></span></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Not that fast though. 100% reliability is practically achievable. And we are enjoying the results everyday. I mean the wireless and wired packet switching networks.<u></u><u></u></p><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The problem is our tendency of drawing fast conclusions. The one human made architecture that defies the "curse" of component failure is the statistic multiplexing principle (or packet switching).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">It has proven to work perfectly using growing number of not-so-reliable devises without suffering the scalability dilemma. We should learn how to apply that technology to extreme scale computing. To this day, the full extends of protocol
logics still cannot be adequately described formally on paper. But they work well, if done right.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Justin<u></u><u></u></p>
</div>
</div></div></div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Mar 10, 2016 at 3:44 PM, Douglas Eadline <<a href="mailto:deadline@eadline.org" target="_blank">deadline@eadline.org</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><br>
> I will supper C's "hater" listing effort just to keep a spot light on the<br>
> important subject.<br>
><br>
> The question is not MPI is efficient or not. Fundamentally, all<br>
> electronics<br>
> will fail in unexpected ways. Bare metal computing was important decades<br>
> ago but detrimental to large scale computing. It is simply flawed for<br>
> extreme scale computing.<br>
><br>
> The Alan Fekete, Nancy Lynch, John Spinneli's impossible proof is the<br>
> fundamental "line in the sand" that cannot be crossed.<br>
><br>
> The corollary of that proof is that it is impossible to detect failure<br>
> reliably either. Therefore, those efforts for for runtime<br>
> detection/repair/reschedule are also flawed for extreme scale computing.<br>
><br>
<br>
Well on that note, I suppose we should just call it day.<br>
Although, some thought Godel would put the whole math thing<br>
out of business as well.<br>
<br>
--<br>
Doug<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
> Justin<br>
><br>
> On Thu, Mar 10, 2016 at 8:44 AM, Lux, Jim (337C)<br>
> <<a href="mailto:james.p.lux@jpl.nasa.gov" target="_blank">james.p.lux@jpl.nasa.gov</a>><br>
> wrote:<br>
><br>
>> This is interesting stuff.<br>
>> Think back a few years when we were talking about checkpoint/restart<br>
>> issues: as the scale of your problem gets bigger, the time to checkpoint<br>
>> becomes bigger than the time actually doing useful work.<br>
>> And, of course, the reason we do checkpoint/restart is because it’s<br>
>> bare-metal and easy. Just like simple message passing is “close to<br>
>> the<br>
>> metal” and “straightforward”.<br>
>><br>
>> Similarly, there’s “fine grained” error detection and correction:<br>
>> ECC<br>
>> codes in memory; redundant comm links or retries. Each of them imposes<br>
>> some speed/performance penalty (it takes some non-zero time to compute<br>
>> the<br>
>> syndrome bits in a ECC, and some non-zero time to fix the errored<br>
>> bits… in<br>
>> a lot of systems these days, that might be buried in a pipeline, but the<br>
>> delay is there, and affects performance)<br>
>><br>
>> I think of ECC as a sort of diffuse fault management: it’s pervasive,<br>
>> uniform, and the performance penalty is applied evenly through the<br>
>> system.<br>
>> Redundant (in the TMR sense) links are the same way.<br>
>><br>
>> Retries are a bit different. The “detecting” a fault is diffuse and<br>
>> pervasive (e.g. CRC checks occur on each message), but the correction of<br>
>> the fault is discrete and consumes resources at that time. In a system<br>
>> with tight time coupling (a pipelined systolic array would be the sort<br>
>> of<br>
>> worst case), many nodes have to wait to fix the one that failed.<br>
>><br>
>> A lot depends on the application: tighter time coupling is worse than<br>
>> embarrassingly parallel (which is what a lot of the “big data” stuff<br>
>> is:<br>
>> fundamentally EP, scatter the requests, run in parallel, gather the<br>
>> results).<br>
>><br>
>> The challenge is doing stuff in between: You may have a flock with<br>
>> excess<br>
>> capacity (just as ECC memory might have 1.5N physical storage bits to be<br>
>> used to store N bits), but how do you automatically distribute the<br>
>> resources to be failure tolerant. The original post in the thread<br>
>> points<br>
>> out that MPI is not a particularly facile tool for doing this. But<br>
>> I’m not<br>
>> sure that there is a tool, and I’m not sure that MPI is the root of<br>
>> the<br>
>> lack of tools. I think it’s that moving from close to the metal is<br>
>> a<br>
>> “hard problem” to do in a generic way. (The issues about 32 bit<br>
>> counts are<br>
>> valid, though)<br>
>><br>
>><br>
>> James Lux, P.E.<br>
>><br>
>> Task Manager, DHFR Space Testbed<br>
>><br>
>> Jet Propulsion Laboratory<br>
>><br>
>> 4800 Oak Grove Drive, MS 161-213<br>
>><br>
>> Pasadena CA 91109<br>
>><br>
>> <a href="tel:%2B1%28818%29354-2075" target="_blank">+1(818)354-2075</a><br>
>><br>
>> <a href="tel:%2B1%28818%29395-2714" target="_blank">+1(818)395-2714</a> (cell)<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org" target="_blank">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
>> To change your subscription (digest mode or unsubscribe) visit<br>
>> <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
>><br>
>><br>
><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">> --<br>
> Mailscanner: Clean<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">><br>
> _______________________________________________<br>
> Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org" target="_blank">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
> To change your subscription (digest mode or unsubscribe) visit<br>
> <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
><br>
<br>
<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span><span style="color:#888888">--</span></span><span style="color:#888888"><br>
<span>Doug</span><br>
<br>
<span>--</span><br>
<span>Mailscanner: Clean</span></span><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>