forked from simgrid/simgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
2590 lines (2249 loc) · 118 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
SimGrid (3.10) NOT RELEASED; urgency=low
XBT:
* Our own implementation of getline is renamed xbt_getline, and gets
used even if the OS provide a getline(). This should reduce the
configuration complexity by using the same code on all platforms.
* new xbt_cfg_elm_boolean type
Java:
* Reintegrate Java to the main archive as desynchronizing these
package is not acceptable anymore (Java is now considered stable)
* Add explicit synchronization facilities through semaphores
* Bugfix: Task.setDataSize() only changed the C world, not the value
cached in the Java world
MSG:
* Dramatically change the way files are handled. API and internals changed, but
this part of MSG was not considered as production grade either.
* Add explicit synchronization facilities through semaphores
* Add a new function MSG_host_get_process_list()
SMPI:
* SMPI is now included directly in the libsimgrid as the windows
linker dont forces us on splitting it anymore.
* Improvements of the SMPI replay tool:
- Most of the collective communications are now rooted in the same process as
in the original application.
- Traces now rely on the same MPI datatype as the application (MPI_BYTE was
used until now). Multiple datatypes can now be used in a trace.
- The replay tool now supports traces produce either by TAU or a modified
version of MPE.
- Bug Fix: the compute part of the reduce action is now taken into account.
* smpirun generates the hostfile if needed (with given hostcount and platform)
* Integration of more than 100 STAR-MPI, mpich, OpenMPI collective algorithms
- allows to select one in particular with --cfg=smpi/coll_name:algorithm
- allows to use the decision logic of OpenMPI(1.7) or MPICH(3.0.4) by setting
--cfg=smpi/coll_selector:(mpich/ompi)
* Support for new functions : MPI_Issend, MPI_Ssend, Commutative operations in
Reduce
* Add a --cfg:tracing/smpi/internals option, to trace internal communications
happening inside a collective SMPI call.
* Fix the behavior of complex datatypes handling
PLATFORM:
* Handle units for values (10ms, 10kiloflops, 10Bps, ...)
* Remove rule based routing (no more pcre dependency)
* Add a limiter_link option to cluster tag, to specify a maximum reachable
bandwidth in fullduplex mode when it is < 2*nominal bw
* Add a loopback_bw and loopback_lat options to cluster tag.
-- $date Da SimGrid team <[email protected]>
SimGrid (3.9) stable; urgency=low
The Grasgory release: GRAS is really dead now.
* Complete overhaul of the internal host structures scheme.
GRAS:
* If you use GRAS, you should stay at SimGrid 3.5 (at most) since it
was considered as experimental and badly maintained since then.
* Keeping it was thus a trap to our potential users, that could take
it instead of MSG or SMPI by mistake despite is pity state.
* GRAS seems to have very few users (if any), and no one volunteered
to maintain it further. It also induces a lot of XBT code (for
portability sake), that must be maintained too.
* For all these reasons, we killed GRAS. If someone wants to revive it
in the future, don't cry, our git history still remembers of GRAS.
Documentation:
* Major overhaul. Merge our documentation again as time proved that
splitting it was really not helping our users.
* Further improve the developer documentation to help newcomers
hacking on SimGrid itself. The user documentation (and in
particular, the beginner documentation) is still in a sorry state.
SMPI:
* Now works on Windows too!
* Much more extensive test suite, from MPICH
SIMDAG:
* Add a new loader (SD_PTG_dotload) that creates a parallel task graph
(i.e., a DAG whose nodes are parallel tasks) from a dot file. Creates a
dynar of SD_TASK_COMP_PAR_AMDAHL and SD_TASK_COMM_MXN_1D_BLOCK tasks.
* Bug fix: let task be scheduled when the last dependency to be solved is
a control dependency.
* Remove SD_load_environment_script function.
Use the C sg_platf function if you want to declare a platform
programmatically.
MSG:
* New function: MSG_process_get_number()
* Old function documented: MSG_config()
* Remove MSG_load_platform_script function
Use the C sg_platf function if you want to declare a platform
programmatically.
SURF:
* Change the default value of the TCP_gamma constant (maximal size of TCP
congestion window) to a more realistic 4MiB value. If you notice changes in
your simulation results, you can fall back to the previous 20k tiny window
by adding --cfg=network/TCP_gamma:20000 on command line.
* (Hopefully) fix a bug wrt periodic availability and state traces
* Bug fix: use default values at start when first event in availability/state
trace is not at time 0.
PLATFORM:
* remove the "new_" part of function name sg_platf_new_trace_connect
(resulting in sg_platf_trace_connect), since it does not create
anything new
XBT:
* Kill synchronized dynars, and xbt_dynar_dopar(). We cannot think of a
use case where it's really mandatory, and maintaining it was a pain in
our code base.
* New: xbt_fifo_search(), search an item with a user-provided
comparison function instead of dumb pointer comparison.
LUA:
* Fix the lua deployment:
Use `simgrid.init_application()` before deployment instead of
`simgrid.msg_register_application()` after.
TRACING:
* Transfer the tracing files into the corresponding modules.
-- Tue Feb 5 11:31:43 CET 2013 Da SimGrid team <[email protected]>
SimGrid (3.8.1) stable; urgency=low
The "we are told that some people want to also *install* the simgrid
framework" release.
* Add missing file "tesh.1" to the archive.
-- Sat Oct 27 16:12:11 CEST 2012 Da SimGrid team <[email protected]>
SimGrid (3.8) stable; urgency=low
The Psssshiiiit release: SimGrid jumps into the Cloud.
MSG:
* Add an experimental interface to manipulate VMs. They are mainly
process groups with very few intrinsic semantic, but they should
allow you to build the semantic you want easily.
* New function: MSG_host_set_property_value()
* New function: MSG_process_on_exit(). To clean memory in all cases.
* Bug fixes that made the host (and link) failures unusable.
* Add a way to auto-restart process when the host in which they are
executing comes back (ON_FAILURE="RESTART" on deployment file,
MSG_process_auto_restart_set).
* Use the "msg_" prefix for all datatypes (instead of m_, msg_ and MSG_),
please stop using the old ones, they are DEPRECATED.
* Deprecate functions MSG_global_init() / MSG_global_init_args()
Please use MSG_init() instead. (reducing the amount of entry
points in the library helps us).
* Make it impossible to link against the wrong version of the lib
* Deprecate MSG_clean(). No need to call it anymore.
* Function MSG_get_host_number() is not deprecated anymore.
Documentation:
* Split the doc into a user guide and a reference guide.
* Start a developper guide to help people hacking on SimGrid.
Cmake:
* Enable tracing by default. This modules rocks you should use it.
* Remove option custom_flags. Now use environment variables CFLAGS
and LDFLAGS.
* Use default cmake things to detect lua instead of home grown ones.
* New option "enable_mallocators" to disable mallocators, for debugging
purpose ("on" by default).
Simix:
* Bug fixes around the resource failures: don't let the processes
survive the host they are running onto.
* Add an interface to auto-restart processes when the host in which they are
executing comes back.
* Ensures that SIMIX_clean is called automatically. It's not part of
the public interface anymore (bindings should be updated).
SimDag:
* Bug fix for when SD_Simulate is called with a positive value: be careful
when comparing doubles. Sometimes they are different for non significant
digits only.
* New types of typed tasks. SD_TASK_COMP_PAR_AMDAHL represents a
parallel task whose initial work is distributed among host according
to the Amdahl's law. Such tasks are created with a parameter alpha
that corresponds to the non-parallelizable part of the computation.
SD_TASK_COMM_PAR_MXN_1D_BLOCK represents a complex data redistribution
between two sets of workstations assuming a 1D block distribution (each
workstation owns a similar share of data) on both sides.
These tasks can be scheduled with SD_task_schedulel or SD_task_schedulev.
Data redistribution will be automatically scheduled once parent and child
are both scheduled. The filling of computation_amount and
communication_amount structures is now done seamlessly thanks to the chosen
assumptions.
* New function SD_workstation_dump to display various information
* New function SD_task_set_rate to throttle the bandwidth allowed to be used
by a SD_TASK_COMM_E2E typed task. This rate depends on both the nominal
bandwidth on the route onto which the task is scheduled and the amount of
data to transfer.
To divide the nominal bandwidth by 2, the rate then has to be :
rate = bandwidth/(2*amount)
* Compute tasks that have failed can now be rescheduled and executed again
(from their beginning)
* Increasing source code coverage (src/simdag is now covered at 95.8%
on average)
SMPI:
* Re-implement time-independent trace replay using SMPI (at the
smpi_smp_* level) instead of MSG. This should replace
examples/msg/actions/actions.c
* Implement support of MPI Datatypes (vectors, hvectors, indexed,
hindexed and structs)
* Implement the exchange of non-contiguous data.
[Khalid Hasanov & Jean-Noel Quintin] Thanks for the patch, guys.
* Correct behavior of smpi/sender_gap and set its default value to 0
* Add option to asynchronously send small messages to allow better
simulation of pt2pt communications. --cfg=smpi/async_small_threshold:value
specifies the size in bytes under which messages will be asynchronously sent.
* Add support of MPI_Iprobe, MPI_Probe, MPI_Testall, MPI_Wtick functions
* SMPI now handles more MPI specific values in input. Closes [#14389] and [#14388]
SimGrid:
* New C interface to define a platform: XML is now optional.
For more info, please check include/simgrid/platf.h.
* New interface to define random platforms from the C:
For more info, please check include/simgrid/platf_generator.h and
examples/msg/masterslave/masterslave_platfgen.c
* Export a sg_cmdline dynar containing all the arguments we got from
the command line.
TRACE:
* Two new tracing options for adding comments to trace file so you
can track your experiments (see --help-tracing for details).
* New option to generate a impoverished trace file (--cfg=tracing/basic:1)
* Adding the SimGrid version that generated the trace file as a comment.
* Instrumenting other MSG functions (MSG_task_isend_with_matching and MSG_task_dsend)
* Fix to avoid key clashes on Paje links
* Other minor fixes related to the Paje specification
XBT:
* Functions xbt_dict_hash() and xbt_dict_hash_ext() are made public,
and renamed to xbt_str_hash() and xbt_str_hash_ext().
* New function: xbt_os_timer_resume() to restart a timer w/o resetting it.
* Greatly improve the robustness of mmalloc to user errors (such as
using an area after freeing it, or freeing it twice)
-- Thu Oct 25 17:30:06 CEST 2012 Da SimGrid team <[email protected]>
SimGrid (3.7.1) stable; urgency=low
MSG:
* Restore the prototype of MSG_process_create_with_environment() to
the pre-3.7 situation by removing the kill_time argument.
* Add a MSG_process_set_kill_time() function instead.
SURF:
* Fix weird behaviors when dealing with parallel tasks.
WINDOWS:
* Simgrid is now built as a dll.
* Simgrid-java now works on Windows.
* Simgrid-Java is now included into Windows package.
MacOS:
* First pre-build package for MacOSX.
Build System:
* Fix compilation when using MSG_USE_DEPRECATED.
* Fix some compilation issues on Macs and Windows.
* Reduce the number of failing tests on exotic systems, like Debian/Hurd.
* Environment variables CFLAGS and LDFLAGS are now honored by cmake.
We discovered that the Lua console is broken, but we are missing the
manpower to fix it right now. The problem existed in 3.7 too, so we
are not blocking the release for that. Sorry if you depended on this
feature, any help would be really welcome.
-- Thu Jun 7 2012 Da SimGrid team <[email protected]>
SimGrid (3.7) stable; urgency=low
The "spring cleanups (before the next Big Project kicks in)" release.
Models:
* We can specify the SMPI latency/bandwidth factor with command line
add --cfg=smpi/bw_factor:"threshold0:value0;...;thresholdN:valueN"
or add --cfg=smpi/lat_factor:"threshold0:value0;...;thresholdN:valueN"
You can also use the "config tag" from platform file by adding this line
<prop id="smpi/bw_factor" value="threshold0:value0;...;thresholdN:valueN"></prop>
(see "example/platforms/tag_config.xml" to use "config tag").
Note that the command line supersedes the platform file configuration.
* Change the correction factors used in LMM model, according to
the latest experiments described in INRIA RR-7821.
Accuracy should be improved this way.
* Use the partial invalidation optimization by default for the
network too. Should produce the exact same results, only faster.
* Major cleanup in surf to merge models and split some optimization
mechanisms from the core of the models. As a result you can now
specify which model to use (e.g., --cfg=network/model:LV08
--cfg=cpu/model:Cas01) and which optimization mode to use
(e.g., --cfg=network/optim:lazy --cfg=cpu/optim:TI).
Incompatible combinations should err at initialization. See
--help-models for the list of all models and optimization modes.
* The CLM03 workstation model was dropped for simplicity because it
used the deprecated CM02 network model. Use default instead.
* Rename the TCP_gamma configuration option to network/TCP_gamma
* Rename the coordinates configuration option to
network/coordinates, and document it
* Use now crosstraffic keyword instead of the terribly misleading
fullduplex keyword. It is activated by default now in the current
default model, use --cfg=network/crosstraffic:0 to turn it off.
* Ongoing refactoring the model parsing to make XML files optional
See include/simgrid/platf.h for details (still to be completed)
MSG:
* Major overhaul of the documentation. Almost instructive now :/
* Deprecate the use of m_channel_t mechanism like MSG_task_{get,put}
functions and friends. This interface was considered as
deprecated since over 2 years, it's time to inform our users that it is.
Switch to MSG_task_{send,recv} instead, or compile SimGrid command line
'cmake -Dcustom_flags="-DMSG_USE_DEPRECATED" .' if you really need to
use these (crappy) functions in your code.
These functions will be removed soon. Stop using them now.
* Deprecate MSG_get_host_{table,number}
Implement MSG_hosts_as_dynar() instead.
* Implement MSG_processes_as_dynar() (Closes gforge #13642)
* Remove the public field msg_host_t->name. Use MSG_host_get_name()
Simix:
* Stabilize the parallel execution mode of user contexts
* Introduce configuration variables to control parallel execution:
- contexts/synchro: Synchronization mode to use when running
contexts in parallel (either futex, posix or busy_wait)
- contexts/parallel_threshold: Minimal number of user contexts
that must be part of a scheduling round to switch to parallel
execution mode (raw contexts only)
* Fix bugs that prevented to use suspend/resume along with
synchronization structures.
* Fix bugs in process termination that lead to invalid memory access
in very specific conditions.
SURF:
* Introduce a parallel mode for the models (controlled by surf/nthreads
configuration item). In our tests, running the models in parallel
never lead to any speedups because they are so fast that the gain
of computing each model in parallel does not amortizes the
synchronization costs, even when ultra fast futexes are used.
This is released anyway because YMMV.
SimDag:
* Performance boost by using a swag internally to compute the set of
tasks that are finished and should constitute the return value of
SD_simulate.
SMPI:
* Enable it by default now that it is considered rather stable.
TRACE:
* Documentation of the tracing functions.
* Performance gains when tracing categorized/uncategorized resource
utilization by avoiding calls to get route when updating resource
variables. LMM constraints are being used instead.
* API changed to set task categories. Use MSG_task_set_category instead
of TRACE_msg_set_task_category, and SD_task_set_category instead
of TRACE_sd_set_task_category. They only work if ENABLE_TRACING is ON.
* Bugfix for graphicator, routes not correctly obtained, memory leaks
* Examples for link user variables added (see at examples/msg/tracing/)
* Deprecated function TRACE_msg_set_process_category completely removed
* Trace header updated according to the latest Paje file format
* Tracing network lazy updates, no longer obligate users to use full updates
* --cfg=tracing/platform:1 also registers power/bandwidth variables
* Experimental: let user code declare/set/push/pop application states for hosts
* API changed to allow the manual creation of graph configuration files
for Triva. See TRACE_get_node_types() and TRACE_get_edge_types().
Lua:
* Improve the API of Lua MSG bindings, using the Lua spirit.
* Each simulated process now lives in its own Lua world (globals are
automatically duplicated). It helps writing simulators. Will allow
to run Splay programs within SimGrid in the future.
* Add a Chord example in Lua, equivalent to the MSG one.
MODEL-CHECKING:
* Start the implementation of a solution to express temporal
properties, not only local assertions. This is still an
experimental work in progress, stay clear from it to be safe.
XBT:
* Logs:
- Add new runtime parameters --help-logs and --help-log-categories
to display informations about supported logging parameters and
categories.
- Old deprecated parameters --{gras,surf,msg,simix,xbt}-log=...
don't exists anymore.
* Mallocators: allow value NULL for the reset function.
* Dicts:
- New function xbt_dict_new_homogeneous(void(*)(void*)) to
create homogeneous dictionaries, where all the elements share the
same free function. Non homogeneous dictionaries will be
deprecated in the next release.
- Dicts of scalar elements (xbt_dicti_*) are deprecated.
- Multi-level dictionaries are deprecated.
* Dynars:
- new function xbt_dynar_search_or_negative() that is useful when
you have less than 2 million elements in your dynar and don't
want of the extra complexity of catching exceptions when the
element is not found.
* Portability layer
- Make xbt_os_thread module (for thread portability) public.
Documentation is still to come, sorry.
* mmalloc module:
- Cleanups and simplifications to make it maintainable again.
- Exotic features (such as memalign and valloc) were removed.
- The metadata were extended and improved so that the
model-checker becomes able to explore and inspect the heaps.
- This may induce a performance drop when enable_model-checking is
ON in cmake (even if it's not used in the simulation), but it is
necessary at this point to get MC working.
Turn model-checking OFF if simulation performance matters to you.
Not enabling it at runtime is not enough, disable it in cmake.
-- Tue May 15 11:30:19 UTC 2012 Da SimGrid team <[email protected]>
SimGrid (3.6.2) stable; urgency=low
The "Not coding new stuff allows to polish old things" release.
General
* New bindings to the NS3 packet level simulator (experimental)
* Use the raw (efficient) execution contexts instead of the sysv
(portable) ones when possible.
* libpcre is now mandatory in any cases since not using it led to
severe performance loss and possibly other issues
* Update the XML platforms:
- G5K: include the latest machine in Nancy
- GridPP and LCG: new platforms
* Documentation was partially updated, at least (more to come)
Bug fixes, cosmetics and small improvements
* Free terminated processes before the end of the simulation to avoid
exhausting the memory of users having very dynamic amount of
processes.
* Bug fix and cosmetics about canceling non-running tasks
* Bug fix about the dot loader's issues when using libcgraph
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
its compilation burden
* The raw execution contexts should work on Apple now
* Port to Windows 64 bits
- Sysv contexts now have an implementation for this arch
- GRAS communication features now support this arch
* Drop support for borland compiler on windows
- this code was not maintained, and we kinda depend on gcc nowadays
* Fix portability issues on kfreebsd/gnu: build error about semaphores
* Fix portability issue on unstable ubuntu: linker became picky on
argument order
-- Wed Oct 5 15:51:01 CEST 2011 Da SimGrid team <[email protected]>
SimGrid (3.6.1) stable; urgency=low
The "Oops, we broke Macs too" release
Portability
* Fixed contexts detection so that raw ones are used when possible
* On Mac, do not use Posix Ucontexts with gcc v4.[1-5] since this
leads to a strange error, with user code segfaulting sometimes when
the generated code is not perfectly aligned (which is not
controllable from the user side, depends on the amount of code)
XBT
* New macro: CATCH_ANONYMOUS, which is like CATCH(e) but without argument.
-- Mon Jun 27 13:59:03 CEST 2011 Da SimGrid team <[email protected]>
SimGrid (3.6) stable; urgency=medium
The Summer Release, also known as the "OMG! They Killed Kenny!" version
Java and Ruby:
* Bindings now constitute their own package, separated from the main one.
Rationale: reduce our maintenance nightmare by reducing the module coupling
They will soon be released on their own on gforge.
* In the meanwhile:
svn co svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java
svn co svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-ruby
GRAS: It is not considered as stable anymore, but experimental. Sorry.
* It's not quite deprecated for now because we have no replacement,
but it may soon become the case.
SMPI
* New MPI functions supported: MPI_Comm_disconnect, MPI_Comm_get_name
* Fortran: New user-level cache variable to store the rank of the running
process. This improves performance by an order of magnitude.
* C: New coccinelle script to automatically locate and modify global and
local static variables.
* Improved SMPI network model with a sender-side gap to account for multiple
parallel sends.
MSG
* New function MSG_comm_get_status(). MSG_comm_test() and MSG_comm_testany()
only say if a communication is finished, no matter whether it succeeded or
failed. You can call MSG_comm_get_status() to know the status of a finished
communication.
* New function MSG_task_dsend() to send a task and detach it. When a
communication is detached, you are never notified of its success or failure
and the memory is released automatically once it is finished. This function
is useful when you don't care about the end nor the success of a
communication.
* Change the prototypes of action replay. Sorry for inconvenience,
but this is really more efficient this way (and to adapt your code,
you just have to fix the initialization, that shouldn't be too long)
* Kill the braindead MSG_task_refcount_dec() function. I guess nobody
ever managed to do anything useful with it.
* New function MSG_comm_testany(). Similarly to MSG_comm_waitany(), it
takes a dynar of communications. It returns immediately and gives the
index of a finished communication (if any).
* New example: a basic implementation of the Chord P2P algorithm.
SURF
* New model for multi-core CPUs. You can now use the core attribute to
precise the number of cores of a host. This is a basic model. Every
process running on the host receives at most the power provided in
the DTD (throughput<=power). Total throughput of process cannot exceed
power * num_cores.
* New peer tag. This peer tag creates a tiny AS comprising a host and a
router linked by an up-link and a down-link (possibly asymmetrical).
This kind of pattern allows to easily build last-mile model style platforms.
Aggregating such patterns in a rule-based AS is thus the technique of
choice for modeling large peer-to-peer/volunteer computing/cloud platforms.
* New model for Vivaldi routing. We transformed the Vivaldi network model
into a Vivaldi routing model (based on the rule-based model). This allows to
combine Vivaldi based latencies with last-mile platforms.
SIMIX
* Added a check for NaN of IEEE754 infinite in the double entries of
the smx_user.c file
* Introduce a new context factory "raw", highly inspirated from the
ucontext factory, but using manually crafted functions in assembly to
do the work in an efficient manner.
* Allow to change the used context factory at run time, not only at
compilation time. Use --cfg=contexts/factory:raw for maximal speed.
* Add an option --cfg=contexts/stacksize:N to set the stack size of the user
contexts at runtime (only with raw contexts or ucontexts).
* Completely rewrote this module to allow parallel execution of user
processes. Use --cfg=contexts/nthreads:N to execute user processes
with N parallel threads (the default is 1, meaning no parallelism).
* Allow to decide dynamically between sequential and parallel modes.
When nthreads > 1, you can use --cfg=contexts/threshold:P to run the user
processes in parallel only when their number is greater than or equal to P
(the default is 2).
* Added a check for NaN of IEEE754 infinite in the double entries of
the smx_user.c file
XBT
* New command line option: if you pass --cfg=verbose-exit:0, SimGrid
won't output the state of processes when interrupted with Ctrl-C
* Add a new function xbt_dynar_to_array that transforms a dynar into a
NULL-terminated array. This may solve backward compatibility issues
due to the change to return type of SD_simulate. See also:
http://lists.gforge.inria.fr/pipermail/simgrid-user/2010-December/002206.html
* Add new macros with variable number of arguments.
- in xbt/log.h: XBT_DEBUG, XBT_VERB, XBT_INFO, etc.
- in xbt/asserts.h: xbt_assert
- in xbt/cunit.h: xbt_test_{add,fail,assert,log}
- in xbt/ex.h: THROWF and RETHROWF.
Define XBT_USE_DEPRECATED if you want to use the old numbered macros like
INFO1, INFO2, etc.
* Change xbt_die() to accept a format string with arguments, just like printf.
* New data structure: xbt_lib_t, like a dict but more general and with better
memory handling.
INSTR
* New configuration options
Options triva/categorized and triva/uncategorized can be used to generate
graph configuration files for Triva visualization tool.
* Configuration option tracing/platform is renamed to tracing/categorized
* XBT logging makes tracing error checks easier, new root log hierarchy: instr
* New TRACE_user_link_variable interface:
User provides the name of the link and the tracing variable to attach to it
* the declaration of tracing categories must be done after the environment
creation
* simpler tracing interface, just one way to declare categories
TRACE_category or TRACE_category_with_color, it is up to you
* links in the trace file are again identified by their names
* trace contains the full platform hierarchy exactly as declared using the ASes
* Options tracing/msg/[task|process]:1 groups the process by hosts
for both cases, tasks and processes must have names that are unique during the simulation
these options generate traces that are suited to gantt-charts, such as the space-time view of Paje
* The experimental option tracing/msg/volume is deprecated
its functionality may be reincorporated if needed
* Buffering
The tracing generates a trace file with unordered timestamped events,
because of the way the core simulator (surf) works. A script available
at the tools directory (fix-paje-trace.sh) can be used to put the events
in order. We have changed the tracing so it can generate ordered timestamped
events in the final trace, but depending on the simulator (and how much time
is simulated) that can lead to a huge memory utilization. It is deactivated
by default, but it can be activated using the --cfg=tracing/buffer:1 switch.
Build Infrastructure
* Define a SIMGRID_VERSION macro in simgrid_config.h.
- We are trying hard to keep the API stable, but it may happen that
some things change (we're a research project after all, not a
nuclear plant operating system). If such things should happen, you
could rely on that macro to adapt.
- current value: 30600 for 3.06.00, aka 3.6
* Define macro MAKE_SIMGRID_VERSION(major, minor, patch) to help building
a number that can be compared with SIMGRID_VERSION.
* Add a build option -Denable_debug (set to ON by default): when set to OFF,
assertions and verbose/debug logging events are disabled at compile time.
-- Tue Jun 21 08:57:43 CEST 2011 Da SimGrid team <[email protected]>
SimGrid (3.5) stable; urgency=medium
Model Checking
* New feature to any SimGrid-based simulator: Model-Checking
Check SIN#1 for more details.
SMPI
* New Model SMPI (three-interval linear regression for correction factors)
See RR-7426, available at http://hal.inria.fr/inria-00527150
* Ability to use FORTRAN MPI code (through f2c, automatically privatized)
* New MPI functions supported: MPI_Get_count(), MPI_Comm_split()
* New: RAM folding (see RR-7426 and examples/smpi/NAS/DT-folding)
* New: execution sampling (see RR-7426 and examples/smpi/NAS/EP-sampling)
* See also src/smpi/README
Tracing:
Tracing:
* Tracing system
- Tracing API changes: TRACE_start and TRACE_end should not be called
by user-code. They are automatically called by simulators created
with SimDAG, MSG and SMPI if the toolkit is compiled with
tracing_enabled=ON. Categories declaration and utilization remain the
same for MSG and SimDag.
- A function was added to the tracing API to declare categories with
colors:
- TRACE_category_with_color (char *category, char *color)
where color must be in the following format
"%f %f %f", red, green, blue
and red, green, blue are float values in the interval [0, 1]
- User can specify NULL as color parameter, or continue calling
TRACE_category (cat)
On that case, the tracing system will define random colors
- The following command-line options are supported:
--cfg=tracing/filename:msg.trace
--cfg=tracing:1 (activate tracing, needed to use others)
--cfg=tracing/platform:1 (categorized resource use)
--cfg=tracing/uncategorized:1 (uncategorized resource use)
--cfg=tracing/msg/task:1 (task creation)
--cfg=tracing/msg/process:1 (process creation, migration)
--cfg=tracing/msg/volume:1 (volume of MSG send/recv)
--cfg=tracing/smpi:1 (SMPI interface tracing)
--cfg=tracing/simdag:1 (allow SimDAG tasks receive categories)
- examples of examples/msg/tracing updated
* Tracing SimDag
- DAXLoader and DOTLoader functions can generate tasks with categories
- A new function to attribute a category to SD tasks:
TRACE_sd_set_task_category (SD_task_t task, char *category)
* Tracing the MPI interface implemented by SMPI
- Collective operations are traced with states
- Point-to-Point operations are traced with states/links
- Tracing activated by a parameter "-trace filename" passed
to smpirun during execution (considering that simgrid
is compiled with tracing enabled)
- To run the simulation with gdb, the simulator
accepts --cfg=tracing/smpi:1 to trace SMPI
- tesh files to check if smpi tracing is ok
- See examples/smpi/NAS/DT-trace
* GTNetS tracing re-worked
- adaptation to the tracing system of GTNets to cope
with modifications regarding the fullduplex mode
- new tesh files to check if gtnets tracing is ok
MSG
* Asynchronous communications through the functions:
MSG_task_isend/irecv and MSG_comm_test/wait/waitall
* New function: MSG_load_platform_script()
to make possible using a lua script instead of XML files to set up platforms
* New function: MSG_set_function
to associate functions to processes, used when bypassing the parser
* New functions: MSG_task_set_name(), MSG_task_set_compute_duration()
Platforms: Add some more examples in examples/platforms
* Grid'5000: see www.grid5000.fr
* *_30000_hosts.xml: various huge files [mainly scalability testing]
SURF
* Change the XML format. This is a very important modification. SimGrid
3.5 introduces a new hierarchical format based on the notion of
Autonomous Systems. Compatibility with old format is ensured
through the perl script provided in the install bin directory
bin/simgrid_update_xml.
It is now possible to build platforms with specific routing
mechanism (Full/Dijkstra/DijkstraCache/Floyd) and to easily
connect several platforms together. We will try to provide soon
set of realistic platforms exploiting these properties (have a
look at examples/platforms/ for the moment).
* Take the opportunity of the XML format change to be a good XML citizen:
rename link:ctn to link_ctn and similar changes (also dealt with by
simgrid_update_xml)
* Add a new routing scheme (rule-based) using regular expressions. It
enables to have an extremely low memory footprint when the
underlying routing is simple and can be compactly described. You
need to have libpcre4-dev (perl regular expressions) installed if
you want to use this routing scheme.
* Revive the cluster TAG and allow to easily and efficiently (both in
term of memory and speed) connect clusters together. Have a look
at teshsuite/simdag/platforms/ to see how this can be done. With
this tag, you can create clusters with thousands of tasks at no
cost (have a look at examples/platforms/).
Note: clusters are implemented as ASes, so there is no need for an
enclosing AS tag if you have only one cluster in your platform.
* Add new generic functions in the public interface that allows the user
to call SURF 'create_resource' methods from your code (same
functionality as the XML bypass mechanism but with a much lighter
burden).
* Add a new model (enabled through command line --cfg=network/model:SMPI)
that uses a piecewise linear approximation to produce better
results when exchanging small messages.
* Add a new parameter to handle correctly full duplex link and account
for interferences between uplink and downlink communications
(activate with --cfg=fullduplex:1).
SIMDAG
* Rename the SD_READY (all dependencies are satisfied and task is
scheduled) state in SD_RUNNABLE and define a new SD_SCHEDULABLE (all
dependencies are satisfied) state.
This prevents a confusion between the notion of "ready to schedule"
(SD_SCHEDULABLE) used in DAG scheduling and that of "ready to be
simulated" (SD_RUNNABLE) used by the simulation kernel.
* Change the way a task is considered as ready. Instead of removing
dependencies when a task is done, a counter is decreased. This way,
it is always possible to reach ancestors thanks to the
SD_taks_get_parents function (even after the end of the simulation.)
* Change the return type of SD_Simulate from (SD_task_t*) into
xbt_dynar_t. This function was in handling a dynar internally and
converted it into a NULL terminated array for historical reasons.
* New function SD_dotload(char*) to load a DAG described in dot
format. This loader and the corresponding examples require the
installation of the graphviz library.
* Fix a bug in the management of tasks of size 0 in the surf network
models. This problem was only visible with SIMDAG and you should
thus disregard results produced with earlier versions if you
relied on this feature (some tasks were blocked because of this).
* Fix a bunch of stuff that prevented to use classical models with SIMDAG
even though your applications were doing only point-to-point
communications and sequential computations. Now you can really use any
model you want (of course, if you create real parallel tasks, which are
not implemented in most models beside ptaskL07, this will abort).
* Add an example that schedules a DAX on an heterogeneous platform
using a Min-Min strategy.
* New function SD_workstation_get_current_task() that returns the kind
of task currently running on a workstation in the sequential access
mode.
* Raise some warnings when unexecuted tasks remains at the end of the
simulation. This is usually caused by cycles in the DAG.
SIMIX
* New function: SIMIX_process_set_function() called by MSG_set_function
* Change the underlying waiting queue in semaphores so that a process
can wait on several of them simultaneously (as in waitany).
* Fix the way to handle tokens in semaphores so that all access patterns
work: {acquire, acquire_timeout, waitany} / {release, release_forever}.
* kill the dirty pimple SIMIX_message_sizes_output()
Please use (proper) visualization instead
XBT
* New data container: setset (set of sets of elements)
* New module: mmalloc (mapped malloc, allowing to have several
independent segments of malloc)
* New function: xbt_dict_cursor_set_data()
* New functions: xbt_dynar_sort(), xbt_dynar_compare()
* New function: xbt_dynar_is_empty()
* New function: xbt_fifo_get_last_item()
* Fix xbt_dynar_shrink(): use the right element size.
* Fix xbt_dynar_set*(): allow index larger than current size and memset 0
uninitialized areas during expand.
* Fix semaphores: previous implementation was severely broken.
* Use library init/fini functions for our initialization.
- you can use logs and other feature as soon as you want in your
code (even before the xbt_init / MSG_init)
- xbt_exit is now a no-op and produce a warning when used.
GRAS:
* Port GRAS to new SIMIX mechanisms. This allows gras users to
benefit from the latest improvement to the simulation kernel.
* Kill measurement sockets for now. If you rely on them, sorry. This
release is not for you. This feature will be reintroduced in the
future, but we cannot delay the release any further.
* New function: gras_msgtype_get_name().
* Implement gras_agent_spawn in RL too (the prototype changed a bit)
* Fix (at last) the pmm example: it should not randomly fail anymore.
Build chain: bug fixes and overall polishing
* Cmake is now stable enough. Hence, we killed the autotools.
* Port to windows ( TM :)
* Fix the 'make install' target.
No need to use 'make install-simgrid' anymore
* Introduce a 'make dist' target compiling a *source* archive
'make package' compiles a binary archive
* Compile java files only on need
* Add --cd and --setenv command line options to tesh
* Out of source builds are not fully supported yet, but we are close
* Enable supernovae and optimization flags by default for our users
LUA Bindings
* Add layer to set up environment directly from lua, without XML.
* The effect of gras_stub_generator can be achieved through
lua too (check examples/gras/console/ping_generator.lua)
-- Wed, 01 Dec 2010 22:09:23 +0100 Da SimGrid team <[email protected]>
SimGrid (3.4.1) stable; urgency=low
The "Polishing easter eggs is probably a good idea" release.
This is a bug fixes release only.
Java Bindings
* Fix a bug preventing the tasks from begin garbage collected.
MSG
* Fix a bug occuring when a host involved in a communication fails.
This was not detected properly by the other peer involved in the
communication. Now, it's reported as a network error.
SimDag
* Warn the user about loop dependencies in data flow of DAX files
* Obey the control-flow dependencies of DAX files
Cmake
* Add option "enable_smpi" allowing to not compile SMPI.
Probably useful for the (Mac) users experiencing a build error here
* Improve the detection of lua5.1 and ruby1.8
-- Da SimGrid team <[email protected]> Tus, 04 May 2010 28 16:11:16 +0100
SimGrid (3.4) stable; urgency=low
The "Easter in Cargese" release. Also known as (major changes):
* the "se habla Java, Ruby 話せます, fala-se Lua (and deaf-friendly)"
~> bindings were greatly improved
~> new tracing infrastructure for better visualization introduced
* the "Welcome to configury modernity" release.
~> we switched from autotools to cmake, and improved our cdash
A more detailled list of changes follow (full detail in svn log).
Java Bindings: Various Cleanups
* (install java-gcj-compat-dev on debian-like to use them)
* Remove put/get: no need to export deprecated interface in Java
Use send/receive instead.
* Cleanup the examples and add a README per directory
* Remove example autoDestination (that's the only way to go now)
* Remove example explicitDestination (was a plain copy of basic)
* Make JniException a runtime exception, so that there is no need to
declare the fact that you may encounter such a beast. I guess that
nobody will ever want to survive such error.
* Create specific errors for each MSG case of failure:
host failure, transfer failure, timeout, task cancelled
* Cleanup the exceptions that may get thrown by each function
* Other internal cleanups in Java bindings. Performance still bad :/
Ruby and Lua Bindings: create them
* (install ruby1.8-dev/liblua5.1-0-dev on debian-like to use them)
* That's new and great, you should try them out.
Same functionalities than Java bindings, only even less polished
SimDag:
* Kill the useless "rate" argument of SD_task_get_execution_time()
Everyone used to provide -1 as a value, it was not used, and the
semantic of a possible use wasn't even clear.
* SD_SCHED_NO_COST: Constant to use as cost in SD_task_schedule()
either as comm costs or compute costs to mean that there is no
such thing for that specific task.
* Add a SD_task_set_name() function
* Fix SD_task_unschedule() on typed tasks
* Fix SD_task_get_execution_time() to return seconds, not flop*sec
* In DAX loader, accept useless 'level' attributes to <job> since
LIGO DAGs have them (seem to be to ease graphical representation).
MSG:
* Add an example masterslave_mailbox.c using send/receive and not
the deprecated put/get interface.
* Kill the MSG_paje_output() function. It's a noop since 2 years.
* Kill MSG_WARNING and MSG_FATAL return codes: they were not used
anywere in source.
* Rename MSG_TIMEOUT_FAILURE into MSG_TIMEOUT for sake of logic
(declare MSG_USE_DEPRECATED to still have the old name)
* Add a MSG_task_set_data() function
* About trace replay (see examples/msg/actions):
- implement barrier
- Allow to work with splitted trace files for each process
Give the specific trace file as argument of each process,
and call MSG_action_trace_run(NULL)
You can still have one merged file for all processes.
- Fix implementation of collective operations
* Allow task_execute() on 0-sized tasks (closes #10063)
SMPI:
* This is the first release of SimGrid where SMPI is not considered
beta anymore (even if some corners should still be improved)
* Port over the new SIMIX_network submodule (internal refactoring)
* Basic support to log events as with SMPE (use --cfg=SMPE:1)
* Implement more missing elements of the standard:
- MPI_COMM_SELF
- MPI_MAXLOC MPI_MINLOC + all associated datatype MPI_DOUBLE_INT,
MPI_FLOAT_INT, etc.
- MPI_Address() MPI_Get_count() MPI_Type_free() MPI_Type_extent()
MPI_Scan() MPI_Get_processor_name()
- Added implementation of missing case for Alltoall (warning: it's
*not* the bruck variant from OpenMPI; based on Alltoallv instead)
- SMPI_MPI_Gather() SMPI_MPI_Gatherv() SMPI_MPI_Scatterv()
SMPI_MPI_Reduce_scatter() SMPI_MPI_Allgather()
SMPI_MPI_Allgatherv()
* Bug fixes include:
- MPI_Waitsome() was broken
- Allow relative includes in smpicc
- Command line cfg argument 'reference_speed' was ignored...
- Some functions did not properly lead to auto-benching of user code
- smpicc passes -O2 by default (just like openmpi one)
SIMIX:
* add SIMIX_action_suspend() and SIMIX_action_resume() functions
* Bug fixes about timeouts during communications
* add SIMIX_message_sizes_output() as a pimple to write to file the
amount of messages per size. Use gnuplot to get histogram.
Pimple because that's the only user-visible function of simix,
defined directly in xbt.h (irk, sorry)
* About semaphores:
- Add a SIMIX_sem_get_capacity() function
- Fix interactions with processe resume/suspende
- release_forever() was stupidly broken
- Fix SIMIX_display_process_status() for processes in a semaphore
- Make SIMIX_sem_block_onto() user-visible
* Refactoring context stuff:
- Use pseudo-OOP for better modularity
- reimplement SIMIX_process_kill() without process_schedule() so
that the latter can take as invariant that it is called from
maestro.
- Merge context_start into context_new for sake of simplicity
SURF:
* Add a Vivaldi network model, coded live during SUD'10 ;)
* Rename configuration variables to start a hierarchy:
o cpu_model -> cpu/model
o network_model -> network/model
o workstation_model -> workstation/model
* New configuration variables:
o network/bandwidth_factor: correction to bandwith
o network/latency_factor: correction to latency
o netwotk/weight_S: correction to the weight of competing streams
* Add a long description to the models, that users can see with such
argument on the command line: --cfg=cpu/model:help
* --help-models display the long description of all known models
XBT:
* config: add the ability to set a default value after registration
Does not override any previously set value (e.g. from cmd line)
* dict: allow to have integer key and data.
When so, you need to use the following functions
void xbt_dicti_set(xbt_dict_t dict, uintptr_t key, uintptr_t data);
uintptr_t xbt_dicti_get(xbt_dict_t dict, uintptr_t key);
void xbt_dicti_remove(xbt_dict_t dict, uintptr_t key);
In contrary to regular dicts, the key is not malloced before copy.
Mixing scalar and regular elements in the same dict is not tested
(but may work).
* Allow to use xbt_dynar_shrink() to expend the dynar instead
Tracing for Visualization:
* SimGrid is now instrumented in order to generate a trace file for
visualization analysis: to use it, need to compile SimGrid with the
"tracing" option enabled, and instrument the program using SimGrid with
TRACE_start, TRACE_category, TRACE_msg_set_task_category and TRACE_end
(among other functions).
* The instrumentation only traces the platform utilization for now
* Documentation to use the tracing functions and how to analyze the
traces with the Triva tool is written.
* More information about: SimGrid FAQ (in the section Tracing Simulations
for Visualization)
Build system:
* We moved to cmake as default build system. Autotools support will
be dropped soon. Check the FAQ for more info about how to use it.
* 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
* Added code coverage tests.
Our coverage is still improvable, but at least we see it on cdash.
-- Da SimGrid team <[email protected]> Wed, 28 Apr 2010 28 17:11:16 +0100