X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7db779a9a40b4f03f605e974568c34e840ce3c6f..cc309f0bc25802386a5f6d8bf2cfc487139ca1e3:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 399708a9bd..1c5f22d1f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,119 @@ +SimGrid (3.31.1) NOT RELEASED YET (v3.32 expected June 21. 2022, 09:13 UTC) + ---------------------------------------------------------------------------- -SimGrid (3.29.1) NOT RELEASED YET (v3.30 expected December 21. 2021, 15:59 UTC) +S4U: + - kill signal Comm::on_completion that was not working anyway. + - Expose signals Activity::on_suspend and Activity::on_resume + +SimGrid (3.31) March 22. 2022. + +The ненасильство release. We stand against war. + +Against the agression by a sick system that forces peoples to take arms against each other. + + +MC: + - Rework the internals, for simpler and modern code. This shall unlock many future improvements. + - You can now define plugins onto the DFS explorer (previously called SafetyChecker), using the + declared signals. See CommunicationDeterminism for an example. + - Support mutex, semaphore and barrier in DPOR reduction + - Seems to work on Arm64 architectures too. + - Display a nice error message when ptrace is not usable. + - New test suite, imported from the MPI Bugs Initiative (MBI). Not all MBI generators are integrated yet. + - Remove the ISP test suite: it's not free software, and it's superseeded by MBI. + +SMPI: + - fix for FG#100 by ensuring small asynchronous messages never overtake larger + ones, conforming to the standard. + - replay: fix waitall behaviour to avoid forgetting requests and leaking + their handles. + - tracing: ensure that we dump the TI traces continuously during execution and + not just at the end, reducing memory cost and performance hit. + - Update OpenMPI collectives selection logic to match current one (4.1.2) + - Add a coherence check for collective operation order and root/MPI_Op + coherence. Potentially costly so not activated unless smpi:pendantic is set + or -analyze is given. + +S4U: + - New signal: Engine::on_simulation_start_cb() + - Introduce a new execution mode with this_actor::thread_execute(). This simulate + the execution of a certain amount of flops by multiple threads ran by a host. Each + thread executes the same number of flops, given as argument. An example of this new + function can be found in examples/cpp/exec-threads. + - Reimplementation of barriers natively. + Previously, they were implemented on top of s4u::Mutex and s4u::ConditionVariable. + The new version should be faster (and can be used in the model-checker). + - Actor::get_restart_count(): Returns the number of reboots that this actor did. + +MSG: + - MSG_barrier_destroy now expects a non-const msg_barrier parameter. + +New plugin: the Chaos Monkey (killing actors at any time) + - Along with the new simgrid-monkey script, it tests whether your simulation + resists resource failures at any possible timestamp in your simulation. + - It is mostly intended to test the simgrid core in extreme conditions, + but some users may find it interesting too. + +Models: + - New solver for parallel task: BMF. + - More realistic sharing of heterogeneous resources compared to the fair + bottleneck solver used by ptask_L07. + - Implement the BMF (Bottleneck max fairness) fairness. + - Improved resource sharing for parallel tasks with sub-flows (parallel + communications between same source and destination inside the ptask). + - Parameters: + - "--cfg=host/model:ptask_L07 --cfg=host/solver:bmf": enable the ptask + model with BMF solver. + - "--cfg=bmf/max-iterations: ": maximum number of iterations performed + by BMF solver (default: 1000). + - "--cfg=bmf/precision: ": numerical precision used when computing + resource sharing (default: 1e-12). + - This model requires Eigen3 library. Make sure Eigen3 is installed to use BMF. + +General: + - Modifications of the Profile mechanism, with some impact on users + - Addition of a new (S4U) method to init profiles from generic functions to improve versatility + - Fix initial behaviour of state_profiles + - Modify periodicity to behave like a period, and not like a loop delay + +XBT: + - Drop xbt_dynar_shrink(). + +Python: + - Made the following bindings static (previously member functions): + - Actor: Actor.kill_all(), Actor.by_pid() + - Host: Host.by_name(), Host.current(), Host.on_creation_cb() + - Mailbox: Mailbox.by_name() + - Added the following bindings: + - this_actor.warning() + - Mailbox.put_init() [example: examples/python/comm-waitallfor/] + - Comm.detach() [example: examples/python/comm-waitallfor/] + - Comm.wait_for() [example: examples/python/comm-waitfor/] + - Comm.wait_any_for() + - Comm.wait_all_for() [example: examples/python/comm-waitallfor/] + - Mutex [example: examples/python/synchro-mutex/] + - Barrier [example: examples/python/synchro-barrier/] + - Semaphore [example: examples/python/synchro-semaphore/] + +Build System: + - Remove target "make uninstall" which was incomplete and no longer maintained. + +Fixed bugs (FG#.. -> FramaGit bugs; FG!.. -> FG merge requests) + (FG: issues on Framagit; GH: issues on GitHub) + - FG#57: Mc SimGrid should test whether ptrace is usable + - FG#87: Smpi scripts fail with spaces in paths + - FG#100: [SMPI] Order of the message matching is not guaranteed + - FG#101: LGPL 2.1 is deprecated license + - FG#104: "make uninstall" not up-to-date + - GH#151: Missing mutexes for DPOR. + - FG#105: "Variable penalty should not be negative!" with in-flight messages and bandwidth profiles + +---------------------------------------------------------------------------- + +SimGrid (3.30) January 30. 2022. + +The Sunday Bloody Sunday release. Main user-visible changes: - The SimDag API for the simulation of the scheduling of Directed Acyclic @@ -21,31 +134,33 @@ S4U: - Introduce on_X_cb() functions for all signals, to attach a new callback to the signal X. The signal variables are now hidden and only these functions should be used. - Rationale: this enables the usual deprecation schema where functions + Rationale: this enables the usual deprecation scheme where functions remain for 4 releases if we need to modify the signals, while the current code with the signal variables directly visible prevents any smooth transition. - New function: Engine::run_until(date), to split the simulation. - New signal: Activity::on_veto, to detect when an activity fails to start. - - Signal change: Comm::on_start(Comm&, bool) has been replaced by - Comm::on_send and Comm::recv. These two signals respectively correspond to - when the sending or receiving side of a Comm is ready. They are raised at - the same locations as the former Comm::on_start signal. + - Signal change: Comm::on_start(Comm&, bool) has been replaced by + Comm::on_send and Comm::recv. These two signals respectively correspond to + when the sending or receiving side of a Comm is ready. They are raised at + the same locations as the former Comm::on_start signal. - New function: Engine::track_vetoed_activities() to interrupt run() when an activity fails to start, and to keep track of such activities. Please see the corresponding example for more info. - New functions: s4u::Comm::{sendto_init, set_source, set_destination} to enable - the use of vetoers with direct host-to-host communications. Both source and + the use of vetoers with direct host-to-host communications. Both source and destination have to set for a comm to start. Each call to these setters check - if all vetos are satistied. When it is the case, the comm starts. A use case of - these functions is given in examples/cpp/dag-scheduling. + if all vetoes are satisfied. When it is the case, the comm starts. A use case of + these functions is given in examples/cpp/dag-scheduling. - New functions: {Exec, Io}::update_priority allow you to modify the priority of - these kinds of activities during their execution. Behavior is detailed in - examples/cpp/io-priority/ + these kinds of activities during their execution. Behavior is detailed in + examples/cpp/io-priority/. + SMPI: - Dynamic costs for MPI operations: New API to allow users to dynamically change injected costs for MPI_Recv, MPI_Send and MPI_Isend operations. Alternative for smpi/or, smpi/os and smpi/ois configuration options. + - Fix some issues with the replay mechanism. XBT: - Function xbt::Extendable::get_data() is now templated with the type of the @@ -141,6 +256,7 @@ Fixed bugs (FG#.. -> FramaGit bugs; FG!.. -> FG merge requests) - FG#78: Multiple fixes for SMPI replay: - TI tracing of allotallv/w was outputting wrong values - MPI_LOGICAL in fortran is actually 32 bits wide, and not 8. + ---------------------------------------------------------------------------- SimGrid (3.28) July 14. 2021