[Beowulf] MPI, fault handling, etc.
Lux, Jim (337C)
james.p.lux at jpl.nasa.gov
Thu Mar 10 13:43:15 PST 2016
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.
If you have time critical processes with fine granularity, then you have to budget in the memory and time to achieve that reliability.
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.
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).
Jim Lux
(818)354-2075 (office)
(818)395-2714 (cell)
From: Justin Y. Shi [mailto:shi at temple.edu]
Sent: Thursday, March 10, 2016 1:14 PM
To: Douglas Eadline <deadline at eadline.org>
Cc: Lux, Jim (337C) <james.p.lux at jpl.nasa.gov>; beowulf at beowulf.org
Subject: Re: [Beowulf] MPI, fault handling, etc.
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.
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).
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.
Justin
On Thu, Mar 10, 2016 at 3:44 PM, Douglas Eadline <deadline at eadline.org<mailto:deadline at eadline.org>> wrote:
> I will supper C's "hater" listing effort just to keep a spot light on the
> important subject.
>
> The question is not MPI is efficient or not. Fundamentally, all
> electronics
> will fail in unexpected ways. Bare metal computing was important decades
> ago but detrimental to large scale computing. It is simply flawed for
> extreme scale computing.
>
> The Alan Fekete, Nancy Lynch, John Spinneli's impossible proof is the
> fundamental "line in the sand" that cannot be crossed.
>
> The corollary of that proof is that it is impossible to detect failure
> reliably either. Therefore, those efforts for for runtime
> detection/repair/reschedule are also flawed for extreme scale computing.
>
Well on that note, I suppose we should just call it day.
Although, some thought Godel would put the whole math thing
out of business as well.
--
Doug
> Justin
>
> On Thu, Mar 10, 2016 at 8:44 AM, Lux, Jim (337C)
> <james.p.lux at jpl.nasa.gov<mailto:james.p.lux at jpl.nasa.gov>>
> wrote:
>
>> This is interesting stuff.
>> Think back a few years when we were talking about checkpoint/restart
>> issues: as the scale of your problem gets bigger, the time to checkpoint
>> becomes bigger than the time actually doing useful work.
>> And, of course, the reason we do checkpoint/restart is because it’s
>> bare-metal and easy. Just like simple message passing is “close to
>> the
>> metal” and “straightforward”.
>>
>> Similarly, there’s “fine grained” error detection and correction:
>> ECC
>> codes in memory; redundant comm links or retries. Each of them imposes
>> some speed/performance penalty (it takes some non-zero time to compute
>> the
>> syndrome bits in a ECC, and some non-zero time to fix the errored
>> bits… in
>> a lot of systems these days, that might be buried in a pipeline, but the
>> delay is there, and affects performance)
>>
>> I think of ECC as a sort of diffuse fault management: it’s pervasive,
>> uniform, and the performance penalty is applied evenly through the
>> system.
>> Redundant (in the TMR sense) links are the same way.
>>
>> Retries are a bit different. The “detecting” a fault is diffuse and
>> pervasive (e.g. CRC checks occur on each message), but the correction of
>> the fault is discrete and consumes resources at that time. In a system
>> with tight time coupling (a pipelined systolic array would be the sort
>> of
>> worst case), many nodes have to wait to fix the one that failed.
>>
>> A lot depends on the application: tighter time coupling is worse than
>> embarrassingly parallel (which is what a lot of the “big data” stuff
>> is:
>> fundamentally EP, scatter the requests, run in parallel, gather the
>> results).
>>
>> The challenge is doing stuff in between: You may have a flock with
>> excess
>> capacity (just as ECC memory might have 1.5N physical storage bits to be
>> used to store N bits), but how do you automatically distribute the
>> resources to be failure tolerant. The original post in the thread
>> points
>> out that MPI is not a particularly facile tool for doing this. But
>> I’m not
>> sure that there is a tool, and I’m not sure that MPI is the root of
>> the
>> lack of tools. I think it’s that moving from close to the metal is
>> a
>> “hard problem” to do in a generic way. (The issues about 32 bit
>> counts are
>> valid, though)
>>
>>
>> James Lux, P.E.
>>
>> Task Manager, DHFR Space Testbed
>>
>> Jet Propulsion Laboratory
>>
>> 4800 Oak Grove Drive, MS 161-213
>>
>> Pasadena CA 91109
>>
>> +1(818)354-2075<tel:%2B1%28818%29354-2075>
>>
>> +1(818)395-2714<tel:%2B1%28818%29395-2714> (cell)
>>
>>
>>
>> _______________________________________________
>> Beowulf mailing list, Beowulf at beowulf.org<mailto:Beowulf at beowulf.org> sponsored by Penguin Computing
>> To change your subscription (digest mode or unsubscribe) visit
>> http://www.beowulf.org/mailman/listinfo/beowulf
>>
>>
>
> --
> Mailscanner: Clean
>
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org<mailto:Beowulf at beowulf.org> sponsored by Penguin Computing
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
>
--
Doug
--
Mailscanner: Clean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20160310/355cb85b/attachment-0001.html>
More information about the Beowulf
mailing list