X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4e05b4437b3f3f13cc09f24facda53b21270a16f..de83dfa52b003b652ef954490f1ff75b251fdf19:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 7ee375d4b4..9ae720e54c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,67 +1,202 @@ -SimGrid (3.31.1) NOT RELEASED YET (v3.32 expected June 21. 2022, 09:13 UTC) +SimGrid (3.32.1) not released yet (target december 22) + +General: + - SimGrid now requires a compiler with C++17 support for public headers too. + Sibling projects should upgrade their FindSimGrid.cmake + - Remove the MSG API: its EOL was scheduled for 2020. + - Remove the Java bindings: they were limited to the MSG interface. + - On Windows, you now need to install WSL2 as the native builds are now disabled. + It was not really working anyway. + - Support for 32bits architecture is not tested anymore on our CI infrastructure. + It may break in the future, but we think that nobody's using SimGrid on 32 bits. + - Remove the surf module. It was replaced by the kernel/models module, and that + refactoring took almost 10 years to properly complete. + +S4U: + - Activity::set_remaining() is not public anymore. Use for example + Comm::set_payload_size() to change the size of the simulated data. + - New function: Engine::flatify_platform(), to get a fully detailed vision of the + configured platform. + - New Task abstraction: They are designed to represent dataflows, i.e, graphs of repeatable Activities. + See the examples under examples/cpp/task-* and the associated documentation. + - Full simDAG integration: Activity::start() actually starts only when all dependencies + are fullfiled. If it cannot be started right away, it will start as soon as it becomes + possible. + - Allow to set a concurrency limit on disks and hosts, as it was already the case for links. + - Rename Link::get_usage() to Link::get_load() for consistency with Host:: + - Every signal now come with a static version that is invoked for every object of that class, + and an instance version that is invoked for this specific object only. For example, + s4u::Actor::on_suspend_cb() adds a callback that is invoked for the suspend of any actor while + s4u::Actor::on_this_suspend_cb() adds a callback for this specific actor only. + - Activity::on_suspended_cb() is renamed to Activity::on_suspend_cb(), and fired right before the suspend. + - Activity::on_resumed_cb() is renamed to Activity::on_resume_cb(), and fired right before the resume. + - Resource::on_state_change_cb() is renamed to Resource::on_onoff_cb() to distinguish from the + Activity::on_state_change_cb() that is related to the activity state machine, not on/off. + - Activity signals (veto, suspend, resume, completion) are now specialized by activity class. + That is, callbacks registered in Exec::on_suspend_cb will not be fired for Comms nor Ios. + +New S4U plugins: + - Battery: Enable the management of batteries on hosts. + See the examples under examples/cpp/battery-* and the documentation in the Plugins page. + - Photovoltaic: Enable the management of photovoltaic panels on hosts. + See the examples under examples/cpp/photovoltaic-* and the documentation in the Plugins page. + +Kernel: + - optimize an internal datastructure (use a set instead of a list for ongoing activities), + leading to a potentially big performance gain, in particular with many detached comms. + +MPI: + - New option smpi/barrier-collectives to add a barrier to some collectives + to detect dangerous code that /may/ work on some MPI implems. + - New function SMPI_app_instance_start() to easily start a MPI instance in your S4U simulation. + +Models: + - Write the section of the manual about models, at least. + - WiFi: the total capacity of a link depends on the amout of flows on that link. + - Use the nonlinear callback feature of LMM to reflect this. + - Calibration values can be changed to match different MCS configurations + - See the example teshsuite/models/wifi_usage_decay/wifi_usage_decay.cpp + - See also "A Flow-Level Wi-Fi Model for Large Scale Network Simulation" + https://hal.archives-ouvertes.fr/hal-03777726 + - Merge parameters network/bandwidth-factor and smpi/bw-factor that serve the same purpose. + - Same for the latency + - Rewrite the corresponding documentation. + - Allow to disable the TCP windowing modeling by setting network/TCP-gamma to 0. + - Finally kill the 'compound' host model. You can change the CPU or network model + with the default host model, as it should. + - Rename option "surf/precision" to "precision/timing" for clarity. + - Rename option "maxmin/precision" to "precision/work-amount" for clarity. + - New function: Engine::flatify_platform() to debug your platform. + +sthread: + - Implement pthread_join in MC mode. + - Implement semaphore functions in sthread. + - Add an intricated way to verify the access to non-reentrant data structures + It requires code annotation, as shown in examples/sthread/stdobject/stdobject.cpp + +Model checking: + - Synchronize the MBI tests with upstream. + - Show the full actor bactraces when replaying a MC trace (with model-check/replay) + and the status of all actors on deadlocks in MC mode. + - The safety/stateless aspects of the MC are now enabled by default in all SimGrid builds. + Liveness and stateful aspects are still controled by the enabling_model-checking + configuration option. + - Stateless model-checking is now usable on any system, including Mac OSX and ARM processors. + +XBT: + - simgrid::xbt::cmdline and simgrid::xbt::binary_name are gone. + Please use simgrid::s4u::Engine::get_cmdline() instead. + +Documentation: + - New section in the user guide on the provided performance models. + - New section presenting some technical good practices for (potential) contributors. + - Add a section on errors and exceptions to the API documentation. + - Move the s4u examples to a section on their own to ease navigation. + +Fixed bugs (FG#.. -> FramaGit bugs; FG!.. -> FG merge requests) + (FG: issues on Framagit; GH: issues on GitHub) + - FG#18: Java bindings should be redone or removed + - FG!118: Wi-Fi callback mechanism + - FG!119: SMPI: add option to inject a barrier before every collective call + - GH#383: Segfault when adding a disk after load_platform(xml) + +---------------------------------------------------------------------------- + +SimGrid (3.32) October 3. 2022. + +The Wiedervereinigung release. Germany was reunited 32 years ago. + +General: + - SimGrid now requires a compiler with C++17 support to compile the lib. + Our public headers still allow the user code to be compiled in C++14. + - Support graphviz v3 and ns-3 v3.36 (older versions are still supported). + - Tested with clang (v11, v13, v14 and v16), gcc (v7 to v13) and IntelCC v2022.2 S4U: - - Added the xbt_enforce macro. This has the same syntax as xbt_assert. The only difference is that an AssertionError - exception is thrown if the condition is not satisfied, instead of calling abort(). + - API evolutions: + - kill signal Comm::on_completion that was not working anyway. + - Expose signals Activity::on_suspend and Activity::on_resume + - New macro xbt_enforce(): similar to xbt_assert(), but throws an AssertionError + instead of calling abort(). + - New: s4u::Exec::get_thread_count() + - Various cleanups around virtual machines: + - host_by_name() and friends now only return hosts. VMs are now excluded. + - It is now impossible to search a VM by name globally. + You can only search VM by name on a given PM, so either you know + the PM on which your VM runs and you can search by name, or you need + to manually iterate over all PMs to search this VM. + - The s4u::VirtualMachine constructor is now deprecated. + Please use s4u::Host::create_vm() instead. + - Rename s4u::VirtualMachine::on_creation() to on_vm_creation() to + avoid confusion with s4u:Host::on_creation() that is inherited. + Also s4u::VirtualMachine::on_destruction -> on_vm_destruction(). + - Bug fixes: + - One-sided communications (Comm::sendto) can now be detached, + and should now be more resilient to network and host faults. Python: - - Added the following bindings / examples: - - Comm (now 100% covers the C++ interface): - - Comm.dst_data_size, Comm.mailbox, Comm.sender, Comm.start_time, Comm.finish_time - - Comm.state_str [examples: examples/python/comm-failure/, examples/python/comm-host2host/] - - Comm.remaining [examples: examples/python/comm-host2host/, examples/python/comm-suspend/] - - Comm.set_payload_size [example: examples/python/comm-host2host/] - - Comm.set_rate [example: examples/python/comm-throttling/] - - Comm.sendto, Comm.sendto_init, Comm.sendto_async [example: examples/python/comm-host2host/] - - Comm.start, Comm.suspend, Comm.resume [example: examples/python/comm-host2host/] - - Comm.test_any [example: examples/python/comm-testany/] - - Comm.wait_until [example: examples/python/comm-waituntil/] - - Engine: - - Engine.host_by_name [example: examples/python/comm-host2host/] - - Engine.mailbox_by_name_or_create [example: examples/python/comm-pingpong/] - - Engine.set_config - - Mailbox: Mailbox.ready [example: examples/python/comm-ready/] - - Ptask [example: examples/python/exec-ptask/]: - - this_actor.exec_init - - this_actor.parallel_execute - - Exec.suspend - - Exec.wait_for - - Added an AssertionError exception that may be thrown in case of error. For instance, creating tow hosts with the - same name will now throw this exception instead of killing the interpreter. + - Added the following bindings / examples: + - Comm (now 100% covers the C++ interface): + - Comm.dst_data_size, Comm.mailbox, Comm.sender, Comm.start_time, Comm.finish_time + - Comm.state_str [examples: examples/python/comm-failure/, examples/python/comm-host2host/] + - Comm.remaining [examples: examples/python/comm-host2host/, examples/python/comm-suspend/] + - Comm.set_payload_size [example: examples/python/comm-host2host/] + - Comm.set_rate [example: examples/python/comm-throttling/] + - Comm.sendto, Comm.sendto_init, Comm.sendto_async [example: examples/python/comm-host2host/] + - Comm.start, Comm.suspend, Comm.resume [example: examples/python/comm-host2host/] + - Comm.test_any [example: examples/python/comm-testany/] + - Comm.wait_until [example: examples/python/comm-waituntil/] + - Engine: + - Engine.host_by_name [example: examples/python/comm-host2host/] + - Engine.mailbox_by_name_or_create [example: examples/python/comm-pingpong/] + - Engine.set_config + - Mailbox: Mailbox.ready [example: examples/python/comm-ready/] + - Ptask [example: examples/python/exec-ptask/]: + - this_actor.exec_init + - this_actor.parallel_execute + - Exec.suspend + - Exec.wait_for + - Added an AssertionError exception that may be thrown in case of error. + For instance, creating two hosts with the same name will now throw this exception + instead of killing the interpreter. + +SMPI: + - Implement MPI_File_get_type_extent(), MPI_File_s/get_atomicity() and + MPI_File_get_byte_offset() + - Intercept getpid() calls to return the simulated ones. + - Fix various bugs in MPI IO. Platform description & visualization: - - More robust sanity checks for platforms, to reject unallowed topologies with - a proper error message. - - One new C++ platform example, supernode.cpp. A Python script (supernode.py) - demonstrates how we can generate a nice graphical representation of the - platform. - -General: - - Modified the host_by_name functions: - - Now, they return only hosts, not VMs, and in a much more efficient way. - - If one wants to find a VM by name, he now needs to know the host on - which it runs and call vm_by_name (or manually iterate over the list of hosts) - -Tools: - - Enhancements to the graphicator tool: - - Allow to dump the platform topology as a CSV file representing the edges - of the graph (in addition to the DOT format). - - Fix graphicator for "cluster" topologies (e.g. fat-tree, dragonfly). + - More robust sanity checks for platforms, to reject forbidden topologies with + a proper error message. + - New platform example: supernode.cpp and supernode.py. + The Python version generates a nice graphical representation of the platform. + - Bug fixes around fat-tree topologies. + - Allow to dump the platform topology as a CSV file representing the graph edges + with platform_graph_export_csv() (similar to the DOT export). + - Fix graphicator for "cluster" topologies (e.g. fat-tree, dragonfly). + +Models: + - Fix a bug when using ptasks with multicores (FG!111). + +Model-Checker: + - First bits of sthread, that intercepts pthread operations at runtime. + The intend is to use it together with simgrid-mc, but it is TBD. + - Sync MBI generators with upstream changes. + - Various cosmetics, small bug fixes and inner refactorings Fixed bugs (FG#.. -> FramaGit bugs; FG!.. -> FG merge requests) (FG: issues on Framagit; GH: issues on GitHub) - FG#105: "Variable penalty should not be negative!" with in-flight messages and bandwidth profiles - FG#109: Application time reported by --cfg=smpi/display-timing:yes is wrong - - FG!109: Trigger new engine solve upon host events such as host on/off - FG#110: Wait_any does not trigger new model solve when host events occur - FG#111: Wrong execution time in rare cases when using multicore + - FG!98: Re-enable the tests for legacy stochastic profiles + - FG!109: Trigger new engine solve upon host events such as host on/off + - FG!116: SMPI/replay: Fix issue with recv of size =0 ---------------------------------------------------------------------------- -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. @@ -107,7 +242,7 @@ MSG: 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, + - It is mostly intended to test the SimGrid core in extreme conditions, but some users may find it interesting too. Models: @@ -545,7 +680,7 @@ The Release release (the French lockdown was eased today). Important user-visible changes: - SimGrid now requires a compiler with C++14 support. - Sibling projects should upgrade their FindSimgrid.cmake + Sibling projects should upgrade their FindSimGrid.cmake - Surf precision default value is now 1e-9, instead of 1e-5. This was changed as several users had difficulties to understand issues when using high bandwidth or small latency events. The new value was already the default for SMPI and @@ -871,7 +1006,7 @@ General: - Network model 'NS3' was renamed into 'ns-3'. Python: - - Simgrid can now hopefully be installed with pip. + - SimGrid can now hopefully be installed with pip. S4U: - wait_any can now be used for asynchronous executions too. @@ -1919,7 +2054,7 @@ SimGrid (3.12) stable; urgency=low - InfiniBand network model added: Based on the works of Jerome Vienne http://mescal.imag.fr/membres/jean-marc.vincent/index.html/PhD/Vienne.pdf - When smpi/display_timing is set, also display global simulation time and application times - - Have smpirun, smpicc and friends display the simgrid git hash version on --git-version + - Have smpirun, smpicc and friends display the SimGrid git hash version on --git-version * Collective communications - SMP-aware algorithms are now dynamically handled. An internal communicator is created for each node, and an external one to handle communications between "leaders" of each node - MVAPICH2 (1.9) collective algorithms selector: normal and SMP algorithms are handled, and selection logic is based on the one used on TACC's Stampede cluster (https://www.tacc.utexas.edu/stampede/). @@ -2660,8 +2795,8 @@ SimGrid (3.6.2) stable; urgency=low Portability * Create an installer for windows with nsis (amd64 and win32) - - Add an hello world project to illustrate simgrid project creation. - - Embed libpcre into the Simgrid installer to avoid + - Add an hello world project to illustrate SimGrid project creation. + - Embed libpcre into the SimGrid installer to avoid its compilation burden * The raw execution contexts should work on Apple now * Port to Windows 64 bits @@ -2694,7 +2829,7 @@ SimGrid (3.6.1) stable; urgency=low SimGrid-java (3.6) unstable; urgency=low * Initial release. - * Split of every thing from simgrid v3.5 into a separate package. + * Split of every thing from SimGrid v3.5 into a separate package. -- 2011-10-05 Da SimGrid team @@ -3208,7 +3343,7 @@ SimGrid (3.4) stable; urgency=low * Greatly improved our cdash/ctest interactions Check http://cdash.inria.fr/CDash/index.php?project=Simgrid * Added memory checking tests with valgrind; lot of memleak fixing. - This may be the first release of simgrid with so few memory issues + This may be the first release of SimGrid with so few memory issues * Added code coverage tests. Our coverage is still improvable, but at least we see it on cdash. @@ -3514,7 +3649,7 @@ SimGrid (3.3.2) stable; urgency=low Timing report of this version: This version seem to be more than 5% faster than 3.3.1 (on linux - 64bits with contextes). The gain is less than expected, we are + 64bits with contexts). The gain is less than expected, we are investigating this for next release. -- Da SimGrid team Wed, 19 Aug 2009 17:07:12 +0200 @@ -3607,7 +3742,7 @@ SimGrid (3.3.1) stable; urgency=low - Linux(debian)/amd64/context - Linux(debian)/amd64/pthreads These targets fail about 1/10 of times on gras/pmm, but we believe - that this is because of the test, not because of simgrid. + that this is because of the test, not because of SimGrid. amok/saturate_sg fails even more rarely, and the test may not be the problem. @@ -3664,7 +3799,7 @@ SimGrid (3.3) stable; urgency=high is really less memory-demanding, which should allow you to use larger files in SimGrid [AL]. - * Inform valgrind about our contextes, so that it becomes usable + * Inform valgrind about our contexts, so that it becomes usable with the default (and more effecient) version of SimGrid [contributed by Sékou Diakite, many thanks]