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
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.
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.
alebre [Tue, 8 Oct 2013 12:50:29 +0000 (14:50 +0200)]
Fix private host variable after a migration - Adrien
Julien [Sun, 6 Oct 2013 08:53:14 +0000 (10:53 +0200)]
Minor typo in documentation (bad _ position in platform/cluster/router name)
alebre [Thu, 12 Sep 2013 15:13:31 +0000 (17:13 +0200)]
Fix silly bug in msg process sleep bindings - Adrien
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
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.
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
Takahiro Hirofuchi [Wed, 10 Jul 2013 15:12:28 +0000 (17:12 +0200)]
Estimate actual migration bandwidth
alebre [Thu, 4 Jul 2013 17:59:14 +0000 (19:59 +0200)]
more cosmectic changes - Adrien
alebre [Thu, 4 Jul 2013 09:27:00 +0000 (11:27 +0200)]
cosmetic changes - Adrien
alebre [Wed, 3 Jul 2013 17:24:34 +0000 (19:24 +0200)]
Add VM.setBound() and cosmetics changes - Adrien
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 ;)
alebre [Mon, 1 Jul 2013 15:58:22 +0000 (17:58 +0200)]
Fix VM params once for all - Adrien
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
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.
Paul Bédaride [Wed, 26 Jun 2013 15:17:08 +0000 (17:17 +0200)]
Fix problems on host on/off
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
Paul Bédaride [Mon, 17 Jun 2013 15:43:08 +0000 (17:43 +0200)]
Add MSG_host_on and MSG_host_off
Paul Bédaride [Mon, 17 Jun 2013 09:07:18 +0000 (11:07 +0200)]
Fix of pastry
Paul Bédaride [Fri, 14 Jun 2013 16:19:46 +0000 (18:19 +0200)]
Add pastry msg example (First attempt)
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>
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.
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.
Arnaud Giersch [Fri, 14 Jun 2013 09:25:16 +0000 (11:25 +0200)]
Change type double for size_t.
Arnaud Giersch [Fri, 14 Jun 2013 07:42:45 +0000 (09:42 +0200)]
Remove unused variables.
Arnaud Giersch [Fri, 14 Jun 2013 07:31:02 +0000 (09:31 +0200)]
Comment out useless operation.
Arnaud Giersch [Thu, 13 Jun 2013 14:11:17 +0000 (16:11 +0200)]
Add missing dependency.
Augustin Degomme [Fri, 14 Jun 2013 07:06:23 +0000 (09:06 +0200)]
wrong file name in cmake file
Augustin Degomme [Fri, 14 Jun 2013 07:02:11 +0000 (09:02 +0200)]
add missing prototype
Augustin Degomme [Fri, 14 Jun 2013 06:57:24 +0000 (08:57 +0200)]
openmpi recently changed its decision for alltoallv algo
Augustin Degomme [Wed, 12 Jun 2013 12:34:41 +0000 (14:34 +0200)]
add missing replay files to dist
degomme [Thu, 13 Jun 2013 22:56:09 +0000 (00:56 +0200)]
forgot one file
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)
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
Jonathan Rouzaud-Cornabas [Thu, 13 Jun 2013 13:52:48 +0000 (15:52 +0200)]
SIMIX call + MSG function + Java binding for get_core
Marion Guthmuller [Thu, 13 Jun 2013 13:00:53 +0000 (15:00 +0200)]
model-checker : restore while statement for bugged1_liveness example
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
Jonathan Rouzaud-Cornabas [Thu, 13 Jun 2013 12:49:59 +0000 (14:49 +0200)]
Properties available for cluster tag
Marion Guthmuller [Thu, 13 Jun 2013 10:45:47 +0000 (12:45 +0200)]
model-checker : update bugged1 and bugged2 tesh (different compilation flags)
Marion Guthmuller [Thu, 13 Jun 2013 10:44:45 +0000 (12:44 +0200)]
model-checker : MC doesn't work with thread context
Marion Guthmuller [Thu, 13 Jun 2013 10:30:47 +0000 (12:30 +0200)]
disable optimizations for build MC in jenkins
Marion Guthmuller [Thu, 13 Jun 2013 10:29:40 +0000 (12:29 +0200)]
unused variable if tracing disabled
Marion Guthmuller [Thu, 13 Jun 2013 10:15:31 +0000 (12:15 +0200)]
model-checker : increase timeout in tesh
Marion Guthmuller [Thu, 13 Jun 2013 10:08:21 +0000 (12:08 +0200)]
model-checker : missing #ifdef
Marion Guthmuller [Thu, 13 Jun 2013 09:38:02 +0000 (11:38 +0200)]
model-checker : update bugged2 tesh
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.
Marion Guthmuller [Wed, 12 Jun 2013 16:30:23 +0000 (18:30 +0200)]
model-checker : improve debug messages
degomme [Thu, 13 Jun 2013 09:36:43 +0000 (11:36 +0200)]
barrier tests
degomme [Thu, 13 Jun 2013 09:36:27 +0000 (11:36 +0200)]
end of ompi collectives addition, with barrier
degomme [Thu, 13 Jun 2013 07:36:03 +0000 (09:36 +0200)]
add tests for scatter
degomme [Thu, 13 Jun 2013 07:26:51 +0000 (09:26 +0200)]
add scatter algos from ompi
degomme [Thu, 13 Jun 2013 00:08:58 +0000 (02:08 +0200)]
unused variable
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
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
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
Jonathan Rouzaud-Cornabas [Wed, 12 Jun 2013 15:13:37 +0000 (17:13 +0200)]
fix Node.java
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.
Arnaud Giersch [Wed, 12 Jun 2013 12:32:10 +0000 (14:32 +0200)]
Prototypes were changed by previous commit.
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.
Arnaud Giersch [Wed, 12 Jun 2013 09:49:54 +0000 (11:49 +0200)]
Use correct modifier, and don't lie about pointer type.
Arnaud Giersch [Wed, 12 Jun 2013 09:42:08 +0000 (11:42 +0200)]
Address compilation warnings.
Arnaud Giersch [Wed, 12 Jun 2013 09:26:31 +0000 (11:26 +0200)]
Add CMakeLists.txt for examples/msg/semaphores/.
Arnaud Giersch [Wed, 12 Jun 2013 09:25:27 +0000 (11:25 +0200)]
Sort entries.
Arnaud Giersch [Wed, 12 Jun 2013 09:25:13 +0000 (11:25 +0200)]
Add files 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.
Arnaud Giersch [Wed, 12 Jun 2013 09:13:52 +0000 (11:13 +0200)]
Use real parameter name in comment.
Jonathan Rouzaud-Cornabas [Wed, 12 Jun 2013 06:37:41 +0000 (08:37 +0200)]
AS access from MSG layer
Augustin Degomme [Tue, 11 Jun 2013 22:27:39 +0000 (00:27 +0200)]
remove warnings 2
Augustin Degomme [Tue, 11 Jun 2013 22:07:48 +0000 (00:07 +0200)]
remove warnings
Paul Bédaride [Fri, 7 Jun 2013 07:21:37 +0000 (09:21 +0200)]
Remove debuging printf
Jonathan Rouzaud-Cornabas [Fri, 7 Jun 2013 00:28:39 +0000 (02:28 +0200)]
Fix jmsg_as getSons
Paul Bédaride [Thu, 6 Jun 2013 21:33:25 +0000 (23:33 +0200)]
Add msg As getModel and GetHosts
Paul Bédaride [Thu, 6 Jun 2013 19:51:32 +0000 (21:51 +0200)]
Add missing files
Paul Bédaride [Thu, 6 Jun 2013 16:57:26 +0000 (18:57 +0200)]
Access AS hierarchy at Msg layer
Augustin Degomme [Tue, 11 Jun 2013 15:53:17 +0000 (17:53 +0200)]
add test for gather collectives
Augustin Degomme [Tue, 11 Jun 2013 15:49:46 +0000 (17:49 +0200)]
add gather collectives from ompi
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
Augustin Degomme [Tue, 11 Jun 2013 13:26:33 +0000 (15:26 +0200)]
add allgatherv algo from ompi
Augustin Degomme [Tue, 11 Jun 2013 09:02:21 +0000 (11:02 +0200)]
add new allgather algo from ompi
suter [Tue, 11 Jun 2013 13:21:42 +0000 (15:21 +0200)]
size_t instead of unsigned long for storage size and used_size
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 ...
suter [Tue, 11 Jun 2013 08:55:07 +0000 (10:55 +0200)]
there is no stat on files anymore
suter [Tue, 11 Jun 2013 08:49:21 +0000 (10:49 +0200)]
cleaning step: uniform naming (stream to fd) + some cuts at 80
characters
suter [Tue, 11 Jun 2013 08:47:06 +0000 (10:47 +0200)]
one parameter less for open
suter [Tue, 11 Jun 2013 08:45:42 +0000 (10:45 +0200)]
get rid of mode for open in Java bindings too
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.
Augustin Degomme [Tue, 11 Jun 2013 08:13:14 +0000 (10:13 +0200)]
add missing file in dist
Augustin Degomme [Tue, 11 Jun 2013 08:06:54 +0000 (10:06 +0200)]
remove warning
degomme [Tue, 11 Jun 2013 00:03:22 +0000 (02:03 +0200)]
remove warning
degomme [Mon, 10 Jun 2013 23:59:42 +0000 (01:59 +0200)]
add new algos for reduce from ompi
degomme [Mon, 10 Jun 2013 20:41:53 +0000 (22:41 +0200)]
add another ompi bcast algo
Augustin Degomme [Mon, 10 Jun 2013 16:13:37 +0000 (18:13 +0200)]
add one more bcast algo
Augustin Degomme [Mon, 10 Jun 2013 15:11:17 +0000 (17:11 +0200)]
useless line
Augustin Degomme [Mon, 10 Jun 2013 14:07:00 +0000 (16:07 +0200)]
add tests for ompi selector
Augustin Degomme [Mon, 10 Jun 2013 14:06:13 +0000 (16:06 +0200)]
add a new allreduce algorithm from openmpi
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 !)
Augustin Degomme [Mon, 10 Jun 2013 12:49:26 +0000 (14:49 +0200)]
remove warnings in smpi selector
Marion Guthmuller [Mon, 10 Jun 2013 13:11:27 +0000 (15:11 +0200)]
model-checker : update tesh for liveness example