Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
10 years agoMerge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
Takahiro Hirofuchi [Tue, 22 Oct 2013 11:06:47 +0000 (13:06 +0200)]
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor

10 years agoAdd a test program to see multicore behaviors.
Takahiro Hirofuchi [Tue, 22 Oct 2013 10:45:30 +0000 (12:45 +0200)]
Add a test program to see multicore behaviors.

As far as tested through this test program, it looks that the current
support of multicore in SimGrid correctly works for physical and virtual
machines. The CPU share of a task or a VM never exceeds the capacity of
one of the CPU cores. The total CPU share of all tasks and VMs on a PM
never exceeds the product of the number of cores and the capacity of a core.
(But, it is not possible to pin a task to a specific core.)

TODO: use this program for regression test.

10 years agoFix miscalculation of CPU shares on a multicore PM.
Takahiro Hirofuchi [Tue, 22 Oct 2013 09:14:18 +0000 (11:14 +0200)]
Fix miscalculation of CPU shares on a multicore PM.

The recent commit adding the load capping feature broke CPU share
calculation on a multicore PM. This patch fixes the problem.

The bound value "0" means that there is no CPU bound for that task or
VM. On a single-core PM, this is true. The task can use all CPU resource
on that PM. On a multicore PM, the task can use the resource of
only a CPU core.

Even MSG_{task/vm}_set_bound() is not used in a simulation program,
simulation results will be wrong for multicore PMs. This is because
the bound value "0" is used internally.

10 years agoFix private host variable after a migration - Adrien
alebre [Tue, 8 Oct 2013 12:50:29 +0000 (14:50 +0200)]
Fix private host variable after a migration - Adrien

10 years agoMinor typo in documentation (bad _ position in platform/cluster/router name)
Julien [Sun, 6 Oct 2013 08:53:14 +0000 (10:53 +0200)]
Minor typo in documentation (bad _ position in platform/cluster/router name)

10 years agoFix silly bug in msg process sleep bindings - Adrien
alebre [Thu, 12 Sep 2013 15:13:31 +0000 (17:13 +0200)]
Fix silly bug in msg process sleep bindings - Adrien

10 years agoremove a nasty iteration causing big slow down
Takahiro Hirofuchi [Fri, 19 Jul 2013 09:52:41 +0000 (11:52 +0200)]
remove a nasty iteration causing big slow down

Oh, I found lmm_constraint_used(). Now we use this function instead of
nasty iteration.

$ ./examples/msg/cloud/scale ../examples/platforms/g5k.xml

The output of the old code:
duration 1.835514
duration 1.934927
duration 2.011892
duration 1.906476
duration 1.944293
duration 1.922941
duration 2.000016
duration 1.944532
duration 1.978881
duration 1.901449

The output of the new code:
duration 0.294958
duration 0.298755
duration 0.304680
duration 0.296415
duration 0.301704
duration 0.310724
duration 0.303856
duration 0.304807
duration 0.311928
duration 0.303926

10 years agoadd a test program to see scalability issue.
Takahiro Hirofuchi [Fri, 19 Jul 2013 07:44:20 +0000 (09:44 +0200)]
add a test program to see scalability issue.

Use this with a profiler (e.g., valgrind).

TODO:
- clean up code.
- cover more possible combinations.

10 years agoMerge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
Takahiro Hirofuchi [Wed, 10 Jul 2013 15:13:22 +0000 (17:13 +0200)]
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor

10 years agoEstimate actual migration bandwidth
Takahiro Hirofuchi [Wed, 10 Jul 2013 15:12:28 +0000 (17:12 +0200)]
Estimate actual migration bandwidth

10 years agomore cosmectic changes - Adrien
alebre [Thu, 4 Jul 2013 17:59:14 +0000 (19:59 +0200)]
more cosmectic changes - Adrien

10 years agocosmetic changes - Adrien
alebre [Thu, 4 Jul 2013 09:27:00 +0000 (11:27 +0200)]
cosmetic changes - Adrien

10 years agoAdd VM.setBound() and cosmetics changes - Adrien
alebre [Wed, 3 Jul 2013 17:24:34 +0000 (19:24 +0200)]
Add VM.setBound() and cosmetics changes - Adrien

10 years agoMinor changes for fixing dp_intensity at java level - Lucas, don't waste your time...
alebre [Tue, 2 Jul 2013 16:52:04 +0000 (18:52 +0200)]
Minor changes for fixing dp_intensity at java level - Lucas, don't waste your time to read all commits ;)

10 years agoFix VM params once for all - Adrien
alebre [Mon, 1 Jul 2013 15:58:22 +0000 (17:58 +0200)]
Fix VM params once for all - Adrien

10 years agoMerge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
Takahiro Hirofuchi [Fri, 28 Jun 2013 15:47:17 +0000 (17:47 +0200)]
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor

10 years agoFix super slow and meaning less code
Takahiro Hirofuchi [Fri, 28 Jun 2013 15:39:07 +0000 (17:39 +0200)]
Fix super slow and meaning less code

The master process launches 10000 VMs on 1000 PMs.
Then, MSG_process_sleep() by the master process takes 0.3 seconds in the
real world. With this fix, the function returns in 0.01 seconds.

10 years agoFix problems on host on/off
Paul Bédaride [Wed, 26 Jun 2013 15:17:08 +0000 (17:17 +0200)]
Fix problems on host on/off

10 years agoMerge branch 'master' into hypervisor
Paul Bédaride [Wed, 19 Jun 2013 11:42:14 +0000 (13:42 +0200)]
Merge branch 'master' into hypervisor

Conflicts:
src/bindings/java/jmsg_synchro.c
src/bindings/java/org/simgrid/msg/Host.java
src/include/surf/surf.h
src/smpi/colls/allgather-RDB.c
src/smpi/colls/allgather-SMP-simple.c
src/surf/cpu_cas01.c
src/surf/surf.c
src/surf/surf_routing.c
src/surf/workstation.c

10 years agoAdd MSG_host_on and MSG_host_off
Paul Bédaride [Mon, 17 Jun 2013 15:43:08 +0000 (17:43 +0200)]
Add MSG_host_on and MSG_host_off

10 years agoFix of pastry
Paul Bédaride [Mon, 17 Jun 2013 09:07:18 +0000 (11:07 +0200)]
Fix of pastry

10 years agoAdd pastry msg example (First attempt)
Paul Bédaride [Fri, 14 Jun 2013 16:19:46 +0000 (18:19 +0200)]
Add pastry msg example (First attempt)

10 years agoChange xbt_os_timer interface to handle cpu time, thread time and
Guillaume Serrière [Fri, 14 Jun 2013 13:02:19 +0000 (15:02 +0200)]
Change xbt_os_timer interface to handle cpu time, thread time and
wall time distinctly.
Windows section isn't test.

Signed-off-by: Guillaume Serrière <guillaume.serriere@esial.net>
10 years agoUse HEAD as default reference for git archive.
Arnaud Giersch [Fri, 14 Jun 2013 10:58:39 +0000 (12:58 +0200)]
Use HEAD as default reference for git archive.

The default branch may be undefined.

10 years agoAdd a small value to avoid rounding differences between x86 and x86_64.
Arnaud Giersch [Fri, 14 Jun 2013 09:25:47 +0000 (11:25 +0200)]
Add a small value to avoid rounding differences between x86 and x86_64.

10 years agoChange type double for size_t.
Arnaud Giersch [Fri, 14 Jun 2013 09:25:16 +0000 (11:25 +0200)]
Change type double for size_t.

10 years agoRemove unused variables.
Arnaud Giersch [Fri, 14 Jun 2013 07:42:45 +0000 (09:42 +0200)]
Remove unused variables.

10 years agoComment out useless operation.
Arnaud Giersch [Fri, 14 Jun 2013 07:31:02 +0000 (09:31 +0200)]
Comment out useless operation.

10 years agoAdd missing dependency.
Arnaud Giersch [Thu, 13 Jun 2013 14:11:17 +0000 (16:11 +0200)]
Add missing dependency.

10 years agowrong file name in cmake file
Augustin Degomme [Fri, 14 Jun 2013 07:06:23 +0000 (09:06 +0200)]
wrong file name in cmake file

10 years agoadd missing prototype
Augustin Degomme [Fri, 14 Jun 2013 07:02:11 +0000 (09:02 +0200)]
add missing prototype

10 years agoopenmpi recently changed its decision for alltoallv algo
Augustin Degomme [Fri, 14 Jun 2013 06:57:24 +0000 (08:57 +0200)]
openmpi recently changed its decision for alltoallv algo

10 years agoadd missing replay files to dist
Augustin Degomme [Wed, 12 Jun 2013 12:34:41 +0000 (14:34 +0200)]
add missing replay files to dist

10 years agoforgot one file
degomme [Thu, 13 Jun 2013 22:56:09 +0000 (00:56 +0200)]
forgot one file

10 years agowe now have an mpich selector, and a bunch of new algorithms (--cfg=smpi/coll_selecto...
degomme [Thu, 13 Jun 2013 22:51:18 +0000 (00:51 +0200)]
we now have an mpich selector, and a bunch of new algorithms (--cfg=smpi/coll_selector:mpich)

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Jonathan Rouzaud-Cornabas [Thu, 13 Jun 2013 13:52:57 +0000 (15:52 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoSIMIX call + MSG function + Java binding for get_core
Jonathan Rouzaud-Cornabas [Thu, 13 Jun 2013 13:52:48 +0000 (15:52 +0200)]
SIMIX call + MSG function + Java binding for get_core

10 years agomodel-checker : restore while statement for bugged1_liveness example
Marion Guthmuller [Thu, 13 Jun 2013 13:00:53 +0000 (15:00 +0200)]
model-checker : restore while statement for bugged1_liveness example

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Jonathan Rouzaud-Cornabas [Thu, 13 Jun 2013 12:50:23 +0000 (14:50 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoProperties available for cluster tag
Jonathan Rouzaud-Cornabas [Thu, 13 Jun 2013 12:49:59 +0000 (14:49 +0200)]
Properties available for cluster tag

10 years agomodel-checker : update bugged1 and bugged2 tesh (different compilation flags)
Marion Guthmuller [Thu, 13 Jun 2013 10:45:47 +0000 (12:45 +0200)]
model-checker : update bugged1 and bugged2 tesh (different compilation flags)

10 years agomodel-checker : MC doesn't work with thread context
Marion Guthmuller [Thu, 13 Jun 2013 10:44:45 +0000 (12:44 +0200)]
model-checker : MC doesn't work with thread context

10 years agodisable optimizations for build MC in jenkins
Marion Guthmuller [Thu, 13 Jun 2013 10:30:47 +0000 (12:30 +0200)]
disable optimizations for build MC in jenkins

10 years agounused variable if tracing disabled
Marion Guthmuller [Thu, 13 Jun 2013 10:29:40 +0000 (12:29 +0200)]
unused variable if tracing disabled

10 years agomodel-checker : increase timeout in tesh
Marion Guthmuller [Thu, 13 Jun 2013 10:15:31 +0000 (12:15 +0200)]
model-checker : increase timeout in tesh

10 years agomodel-checker : missing #ifdef
Marion Guthmuller [Thu, 13 Jun 2013 10:08:21 +0000 (12:08 +0200)]
model-checker : missing #ifdef

10 years agomodel-checker : update bugged2 tesh
Marion Guthmuller [Thu, 13 Jun 2013 09:38:02 +0000 (11:38 +0200)]
model-checker : update bugged2 tesh

10 years agomodel-checker : fix (again ..) DPOR for iSend/iRecv and Wait communications
Marion Guthmuller [Thu, 13 Jun 2013 07:21:52 +0000 (09:21 +0200)]
model-checker : fix (again ..) DPOR for iSend/iRecv and Wait communications

- add rdv_cpy in s_smx_action_t structure. comm.rdv is used for
  garbage collection and set to NULL when the communication matches
  with another communication already pushed and waiting in the
  mailbox.
- iSend/iRecv and Wait communications are independant if the
  communications are not in the same mailbox. Otherwise, the
  iSend/iRecv communication process issuer must be different of the
  src_proc or dst_proc of the Wait communication, or, src_buff and
  dst_buff of the communications must be different.

10 years agomodel-checker : improve debug messages
Marion Guthmuller [Wed, 12 Jun 2013 16:30:23 +0000 (18:30 +0200)]
model-checker : improve debug messages

10 years agobarrier tests
degomme [Thu, 13 Jun 2013 09:36:43 +0000 (11:36 +0200)]
barrier tests

10 years agoend of ompi collectives addition, with barrier
degomme [Thu, 13 Jun 2013 09:36:27 +0000 (11:36 +0200)]
end of ompi collectives addition, with barrier

10 years agoadd tests for scatter
degomme [Thu, 13 Jun 2013 07:36:03 +0000 (09:36 +0200)]
add tests for scatter

10 years agoadd scatter algos from ompi
degomme [Thu, 13 Jun 2013 07:26:51 +0000 (09:26 +0200)]
add scatter algos from ompi

10 years agounused variable
degomme [Thu, 13 Jun 2013 00:08:58 +0000 (02:08 +0200)]
unused variable

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
degomme [Thu, 13 Jun 2013 00:03:47 +0000 (02:03 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoadd reduce scatter collectives from openmpi, and fix existing one
degomme [Wed, 12 Jun 2013 23:57:57 +0000 (01:57 +0200)]
add reduce scatter collectives from openmpi, and fix existing one
and add tests, without doing separate commits because it is 2AM

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Jonathan Rouzaud-Cornabas [Wed, 12 Jun 2013 15:13:46 +0000 (17:13 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agofix Node.java
Jonathan Rouzaud-Cornabas [Wed, 12 Jun 2013 15:13:37 +0000 (17:13 +0200)]
fix Node.java

10 years agoSimplify the link specifications for libSG_java on win32 (untested).
Arnaud Giersch [Wed, 12 Jun 2013 12:34:57 +0000 (14:34 +0200)]
Simplify the link specifications for libSG_java on win32 (untested).

The variable SIMGRID_LIB_NAME_NAME is never used, and probably gets an
undefined value here.  Remove its definition.

The variable SIMGRID_LIB_NAME is never set.  Remove reference to it.

Finally, use "target_link_libraries" for all platforms since I can't find any
reason to avoid it on win32.

Note that these changes are untested.

10 years agoPrototypes were changed by previous commit.
Arnaud Giersch [Wed, 12 Jun 2013 12:32:10 +0000 (14:32 +0200)]
Prototypes were changed by previous commit.

10 years agofurther simplification of the storage API, keep size only as nmemb was
suter [Wed, 12 Jun 2013 11:28:03 +0000 (13:28 +0200)]
further simplification of the storage API, keep size only as nmemb was
never really used.

10 years agoUse correct modifier, and don't lie about pointer type.
Arnaud Giersch [Wed, 12 Jun 2013 09:49:54 +0000 (11:49 +0200)]
Use correct modifier, and don't lie about pointer type.

10 years agoAddress compilation warnings.
Arnaud Giersch [Wed, 12 Jun 2013 09:42:08 +0000 (11:42 +0200)]
Address compilation warnings.

10 years agoAdd CMakeLists.txt for examples/msg/semaphores/.
Arnaud Giersch [Wed, 12 Jun 2013 09:26:31 +0000 (11:26 +0200)]
Add CMakeLists.txt for examples/msg/semaphores/.

10 years agoSort entries.
Arnaud Giersch [Wed, 12 Jun 2013 09:25:27 +0000 (11:25 +0200)]
Sort entries.

10 years agoAdd files to the dist archive.
Arnaud Giersch [Wed, 12 Jun 2013 09:25:13 +0000 (11:25 +0200)]
Add files to the dist archive.

10 years agoThis file doesn't belong to the dist archive.
Arnaud Giersch [Wed, 12 Jun 2013 09:24:37 +0000 (11:24 +0200)]
This file doesn't belong to the dist archive.

10 years agoUse real parameter name in comment.
Arnaud Giersch [Wed, 12 Jun 2013 09:13:52 +0000 (11:13 +0200)]
Use real parameter name in comment.

10 years agoAS access from MSG layer
Jonathan Rouzaud-Cornabas [Wed, 12 Jun 2013 06:37:41 +0000 (08:37 +0200)]
AS access from MSG layer

10 years agoremove warnings 2
Augustin Degomme [Tue, 11 Jun 2013 22:27:39 +0000 (00:27 +0200)]
remove warnings 2

10 years agoremove warnings
Augustin Degomme [Tue, 11 Jun 2013 22:07:48 +0000 (00:07 +0200)]
remove warnings

10 years agoRemove debuging printf
Paul Bédaride [Fri, 7 Jun 2013 07:21:37 +0000 (09:21 +0200)]
Remove debuging printf

10 years agoFix jmsg_as getSons
Jonathan Rouzaud-Cornabas [Fri, 7 Jun 2013 00:28:39 +0000 (02:28 +0200)]
Fix jmsg_as getSons

10 years agoAdd msg As getModel and GetHosts
Paul Bédaride [Thu, 6 Jun 2013 21:33:25 +0000 (23:33 +0200)]
Add msg As getModel and GetHosts

10 years agoAdd missing files
Paul Bédaride [Thu, 6 Jun 2013 19:51:32 +0000 (21:51 +0200)]
Add missing files

10 years agoAccess AS hierarchy at Msg layer
Paul Bédaride [Thu, 6 Jun 2013 16:57:26 +0000 (18:57 +0200)]
Access AS hierarchy at Msg layer

10 years agoadd test for gather collectives
Augustin Degomme [Tue, 11 Jun 2013 15:53:17 +0000 (17:53 +0200)]
add test for gather collectives

10 years agoadd gather collectives from ompi
Augustin Degomme [Tue, 11 Jun 2013 15:49:46 +0000 (17:49 +0200)]
add gather collectives from ompi

10 years agoFix bug happening with MPI_Datatypes
Augustin Degomme [Tue, 11 Jun 2013 14:14:10 +0000 (16:14 +0200)]
Fix bug happening with MPI_Datatypes
Provide better support for contiguous datatypes

10 years agoadd allgatherv algo from ompi
Augustin Degomme [Tue, 11 Jun 2013 13:26:33 +0000 (15:26 +0200)]
add allgatherv algo from ompi

10 years agoadd new allgather algo from ompi
Augustin Degomme [Tue, 11 Jun 2013 09:02:21 +0000 (11:02 +0200)]
add new allgather algo from ompi

10 years agosize_t instead of unsigned long for storage size and used_size
suter [Tue, 11 Jun 2013 13:21:42 +0000 (15:21 +0200)]
size_t instead of unsigned long for storage size and used_size

10 years agosimplify the simcall stack for file unlink
suter [Tue, 11 Jun 2013 12:59:53 +0000 (14:59 +0200)]
simplify the simcall stack for file unlink
there are still a few leaks: as unlink does not totally destroy the
data structures. If the same file descriptor is reopened (new file is
created), here comes the leak ...

10 years agothere is no stat on files anymore
suter [Tue, 11 Jun 2013 08:55:07 +0000 (10:55 +0200)]
there is no stat on files anymore

10 years agocleaning step: uniform naming (stream to fd) + some cuts at 80
suter [Tue, 11 Jun 2013 08:49:21 +0000 (10:49 +0200)]
cleaning step: uniform naming (stream to fd) + some cuts at 80
characters

10 years agoone parameter less for open
suter [Tue, 11 Jun 2013 08:47:06 +0000 (10:47 +0200)]
one parameter less for open

10 years agoget rid of mode for open in Java bindings too
suter [Tue, 11 Jun 2013 08:45:42 +0000 (10:45 +0200)]
get rid of mode for open in Java bindings too

10 years agoget rid of "mode" parameter in the open file function. It wasn't used
suter [Tue, 11 Jun 2013 08:28:09 +0000 (10:28 +0200)]
get rid of "mode" parameter in the open file function. It wasn't used
anyway.

10 years agoadd missing file in dist
Augustin Degomme [Tue, 11 Jun 2013 08:13:14 +0000 (10:13 +0200)]
add missing file in dist

10 years agoremove warning
Augustin Degomme [Tue, 11 Jun 2013 08:06:54 +0000 (10:06 +0200)]
remove warning

10 years agoremove warning
degomme [Tue, 11 Jun 2013 00:03:22 +0000 (02:03 +0200)]
remove warning

10 years agoadd new algos for reduce from ompi
degomme [Mon, 10 Jun 2013 23:59:42 +0000 (01:59 +0200)]
add new algos for reduce from ompi

10 years agoadd another ompi bcast algo
degomme [Mon, 10 Jun 2013 20:41:53 +0000 (22:41 +0200)]
add another ompi bcast algo

10 years agoadd one more bcast algo
Augustin Degomme [Mon, 10 Jun 2013 16:13:37 +0000 (18:13 +0200)]
add one more bcast algo

10 years agouseless line
Augustin Degomme [Mon, 10 Jun 2013 15:11:17 +0000 (17:11 +0200)]
useless line

10 years agoadd tests for ompi selector
Augustin Degomme [Mon, 10 Jun 2013 14:07:00 +0000 (16:07 +0200)]
add tests for ompi selector

10 years agoadd a new allreduce algorithm from openmpi
Augustin Degomme [Mon, 10 Jun 2013 14:06:13 +0000 (16:06 +0200)]
add a new allreduce algorithm from openmpi

10 years agoactivate commute flag for MPI_Op, adds smpi_op_is_commute to test it (-1 FIXME !)
Augustin Degomme [Mon, 10 Jun 2013 12:50:10 +0000 (14:50 +0200)]
activate commute flag for MPI_Op, adds smpi_op_is_commute to test it (-1 FIXME !)

10 years agoremove warnings in smpi selector
Augustin Degomme [Mon, 10 Jun 2013 12:49:26 +0000 (14:49 +0200)]
remove warnings in smpi selector

10 years agomodel-checker : update tesh for liveness example
Marion Guthmuller [Mon, 10 Jun 2013 13:11:27 +0000 (15:11 +0200)]
model-checker : update tesh for liveness example