Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix FatTreeZone with limiter links
authorBruno Donassolo <bruno.donassolo@inria.fr>
Tue, 27 Apr 2021 15:27:03 +0000 (17:27 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Tue, 27 Apr 2021 15:45:44 +0000 (17:45 +0200)
commit24947937a4e48cf91d79eb889e1a6d6c30cbc2ef
tree8d7f11420d06a94d08e416009998671e9071a8ad
parent42a9006ab42306712c96d207a32e03d700ad09db
Fix FatTreeZone with limiter links

Are we sure we want this "feature" in complex clusters?
As for Torus, no test using it.

Segfault when communicating with limiter links.
Routers inside the FatTreeZone don't have limiters, even when user sets
the limiter on the XML.

Code was adding nullptr to the list of links in this case, generating a
segfault in communicate function.

Example:
  <zone id="world" routing="Full">
    <cluster id="bob_cluster"
     prefix="node-" radical="0-15" suffix=".simgrid.org"
     speed="1Gf" bw="125MBps" lat="50us"
             topology="FAT_TREE" topo_parameters="2;4,4;1,2;1,2"
     loopback_bw="100MBps" loopback_lat="0" limiter_link="100MBps" />
src/kernel/routing/FatTreeZone.cpp