Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New implementation for bandwidth factors
authorBruno Donassolo <bruno.donassolo@inria.fr>
Thu, 27 May 2021 14:57:57 +0000 (16:57 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Tue, 1 Jun 2021 14:34:08 +0000 (16:34 +0200)
commit46e8495798b154bcd1877f866b67f2c1d0ee1d6d
treea36306246561737e96d33668af1825f74ddebfb1
parentcba2d3889082682b8499254801951d23273a9309
New implementation for bandwidth factors

Bandwidth factors are now implemented at the Action level, reducing the
speed that an action advances (e.g. the number of bytes transmitted).

In the past, the factor took place at the maxmin system, limiting the
amount of resources a communication could use.

For example, a bw factor of 0.97 (default for LV08 network model) was
reflected by reducing the link capacity to 0.97*C. So, a 100MBs link had
97MBs capacity in the maxmin system.

Now, a communication alone using this link may use the 100MBs, but after
one second, it'll transmit only 97MB of data.

NOTE: This change may impact the timing of your experiments.
include/simgrid/kernel/resource/Action.hpp
src/instr/instr_platform.cpp
src/kernel/resource/Action.cpp
src/kernel/resource/Model.cpp
src/plugins/link_energy_wifi.cpp
src/plugins/vm/VirtualMachineImpl.cpp
src/surf/cpu_interface.cpp
src/surf/disk_s19.cpp
src/surf/network_cm02.cpp
src/surf/ptask_L07.cpp