MPI vs BitTorrent : Switching Between Large-Message Broadcast Algorithms in the Presence of Bottleneck Links