Takahiro Hirofuchi [Thu, 14 Mar 2013 15:10:27 +0000 (16:10 +0100)]
Add the precopy migration model
Takahiro Hirofuchi [Mon, 11 Mar 2013 14:44:54 +0000 (15:44 +0100)]
Add the ramsize check when launching a VM
Takahiro Hirofuchi [Mon, 11 Mar 2013 14:39:55 +0000 (15:39 +0100)]
Use SIMIX_host_create also for a VM
Takahiro Hirofuchi [Mon, 11 Mar 2013 12:48:52 +0000 (13:48 +0100)]
Add migrate_vm example.
Takahiro Hirofuchi [Mon, 11 Mar 2013 11:30:32 +0000 (12:30 +0100)]
Use the bandwidth 100Mbps in VM's platform xml
Takahiro Hirofuchi [Mon, 11 Mar 2013 11:30:04 +0000 (12:30 +0100)]
just a cosmetic
Takahiro Hirofuchi [Mon, 11 Mar 2013 11:26:19 +0000 (12:26 +0100)]
Create the dummy cpu action at destination
Takahiro Hirofuchi [Mon, 11 Mar 2013 11:23:16 +0000 (12:23 +0100)]
Add the first basic model of a migration
Takahiro Hirofuchi [Mon, 11 Mar 2013 10:35:45 +0000 (11:35 +0100)]
add MSG_vm_get_pm
Takahiro Hirofuchi [Mon, 11 Mar 2013 10:31:24 +0000 (11:31 +0100)]
add the {set/get}_params operations to a host object
Arnaud Giersch [Fri, 22 Feb 2013 15:29:01 +0000 (16:29 +0100)]
Avoid to run the smpirun script through valgrind on memcheck.
Arnaud Giersch [Fri, 22 Feb 2013 15:28:11 +0000 (16:28 +0100)]
Add new option to smpirun, for running valgrind/gdb/whatever...
Arnaud Giersch [Fri, 8 Mar 2013 16:35:14 +0000 (17:35 +0100)]
Improve the printing of default values when size != 1.
Arnaud Giersch [Fri, 8 Mar 2013 16:13:57 +0000 (17:13 +0100)]
Cosmetics: add space before opening parenthesis.
Takahiro Hirofuchi [Fri, 8 Mar 2013 11:27:40 +0000 (12:27 +0100)]
Add the virt_overhead parameter
Takahiro Hirofuchi [Fri, 8 Mar 2013 11:25:48 +0000 (12:25 +0100)]
Comment out the line deleting a SURF_STORAGE object
A VM does not have a storage object at now.
Takahiro Hirofuchi [Fri, 8 Mar 2013 10:28:03 +0000 (11:28 +0100)]
Fix formating
Takahiro Hirofuchi [Fri, 8 Mar 2013 09:57:06 +0000 (10:57 +0100)]
Fix the dummy cpu action when no tasks are on a VM
Arnaud Giersch [Wed, 6 Mar 2013 12:18:39 +0000 (13:18 +0100)]
Check return code, and report errors.
Avoids to call MPI_Get_count with an invalid status.
Arnaud Giersch [Wed, 6 Mar 2013 10:59:29 +0000 (11:59 +0100)]
Use simple arrays, instead of dynars.
Also fix the use of uninitialized values in PMPI_Waitall.
Arnaud Giersch [Wed, 6 Mar 2013 10:02:20 +0000 (11:02 +0100)]
Really copy only when recvbuf != sendbuf.
And avoid to call memcpy with overlapping regions.
alebre [Tue, 5 Mar 2013 08:12:33 +0000 (09:12 +0100)]
Add few comments - Adrien
Lucas Schnorr [Fri, 1 Mar 2013 19:49:25 +0000 (16:49 -0300)]
[doc] general update on tracing doc
Takahiro Hirofuchi [Thu, 28 Feb 2013 16:11:20 +0000 (17:11 +0100)]
Add a simpler example for the VM API
FIXME: It might be better that we move this example to the test
directory.
Takahiro Hirofuchi [Thu, 28 Feb 2013 13:26:56 +0000 (14:26 +0100)]
Delete an used key correctly
Takahiro Hirofuchi [Thu, 28 Feb 2013 13:25:00 +0000 (14:25 +0100)]
Correctly destroy the MSG_host object of a VM
Takahiro Hirofuchi [Thu, 28 Feb 2013 11:26:17 +0000 (12:26 +0100)]
Update the VM example for the new VM support
Takahiro Hirofuchi [Thu, 28 Feb 2013 11:24:44 +0000 (12:24 +0100)]
Fix problems so that the VM example works
Takahiro Hirofuchi [Tue, 26 Feb 2013 15:41:41 +0000 (16:41 +0100)]
Now VM operations workig!
- Fix the resource deallocation on exit, i.e., delete VM-related objects
from host_lib without calling the callbacks.
- Implement vm_{suspend/resume, save/restore, shutdown}
- Call SIMIX_simcall_answer() at the end of some SIMIX_functions, so
that avoid the bug that these functions never return to the userland.
- Delete the use of some simcalls at the SIMIX layer.
- Implement vm_migrate. It updates the net_elm and PM of the VM.
- Add vm_ws_execute() to add action cost to the vcpu's dummy execution
action.
- Delete the code around GUESTOS_NOISE. we need to add something like a
task periodically.
Takahiro Hirofuchi [Tue, 26 Feb 2013 15:26:41 +0000 (16:26 +0100)]
fix the segfault caused by null smx_action
A surf VM object has the dummy action that wraps all the execution tasks
on the VM. This dummy action has its object only in the surf layer and
not in the SIMIX layer. There may be a better solution. But, at now we
simply skip touching the null action object at the SIMIX layer.
Takahiro Hirofuchi [Tue, 26 Feb 2013 15:18:43 +0000 (16:18 +0100)]
delete the use of surf_workstation_model more
Takahiro Hirofuchi [Fri, 22 Feb 2013 15:06:21 +0000 (16:06 +0100)]
Fix the segfault upon exit
Takahiro Hirofuchi [Fri, 22 Feb 2013 12:38:14 +0000 (13:38 +0100)]
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
resync
alebre [Fri, 22 Feb 2013 12:20:56 +0000 (13:20 +0100)]
Add minor changes - Adrien
Takahiro Hirofuchi [Fri, 22 Feb 2013 08:23:30 +0000 (09:23 +0100)]
add debug code
Arnaud Giersch [Thu, 21 Feb 2013 17:28:27 +0000 (18:28 +0100)]
Define missing function.
Arnaud Giersch [Thu, 21 Feb 2013 17:01:45 +0000 (18:01 +0100)]
Remove useless statements.
Arnaud Giersch [Thu, 21 Feb 2013 17:01:23 +0000 (18:01 +0100)]
Try to fix const madness.
See http://c-faq.com/ansi/constmismatch.html for a related FAQ.
Arnaud Giersch [Thu, 21 Feb 2013 13:41:40 +0000 (14:41 +0100)]
Fix memory leaks in smpi.
Takahiro Hirofuchi [Thu, 21 Feb 2013 14:36:47 +0000 (15:36 +0100)]
add missing declarations to fix compile warnings
Takahiro Hirofuchi [Thu, 21 Feb 2013 14:20:00 +0000 (15:20 +0100)]
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
merge again
alebre [Thu, 21 Feb 2013 14:18:53 +0000 (15:18 +0100)]
additional minors changes - Adrien
Takahiro Hirofuchi [Thu, 21 Feb 2013 14:10:11 +0000 (15:10 +0100)]
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
sync again
alebre [Thu, 21 Feb 2013 14:09:44 +0000 (15:09 +0100)]
minor changes - Adrien /Takahiro
Takahiro Hirofuchi [Thu, 21 Feb 2013 13:59:28 +0000 (14:59 +0100)]
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
merge from the last discussion
Takahiro Hirofuchi [Thu, 21 Feb 2013 13:58:38 +0000 (14:58 +0100)]
fix compile warnings
Arnaud Giersch [Thu, 21 Feb 2013 13:41:07 +0000 (14:41 +0100)]
Extend smpi_register_static to accept any free function.
alebre [Thu, 21 Feb 2013 12:02:15 +0000 (13:02 +0100)]
Merge with master and fix conflicts
alebre [Thu, 21 Feb 2013 09:57:15 +0000 (10:57 +0100)]
minor fixes - Adrien / Takahiro
Takahiro Hirofuchi [Thu, 21 Feb 2013 08:45:03 +0000 (09:45 +0100)]
To share with Adrien. We have to revisit this commit.
Arnaud Giersch [Wed, 20 Feb 2013 22:09:03 +0000 (23:09 +0100)]
Fix a few more memory leaks.
Arnaud Giersch [Wed, 20 Feb 2013 20:26:05 +0000 (21:26 +0100)]
Avoid to export internal variables.
Arnaud Giersch [Wed, 20 Feb 2013 17:41:04 +0000 (18:41 +0100)]
Free timer after it's been used.
Arnaud Giersch [Wed, 20 Feb 2013 17:27:18 +0000 (18:27 +0100)]
Use splitted xml files, and avoid memory leaks in the parser.
Arnaud Giersch [Wed, 20 Feb 2013 16:49:48 +0000 (17:49 +0100)]
Split the xml file, and destroy task, to fix memory leaks.
Arnaud Giersch [Wed, 20 Feb 2013 12:51:46 +0000 (13:51 +0100)]
Fix a few memory leaks.
Takahiro Hirofuchi [Wed, 20 Feb 2013 11:23:47 +0000 (12:23 +0100)]
remove the use of surf_workstation_model at smx_host.c
Augustin Degomme [Tue, 19 Feb 2013 16:35:22 +0000 (17:35 +0100)]
remove forgotten debug println
Augustin Degomme [Tue, 19 Feb 2013 16:24:33 +0000 (17:24 +0100)]
Java didn't report the same OS name as Cmake for Windows platform, force it to be "Windows"
Augustin Degomme [Tue, 19 Feb 2013 15:55:03 +0000 (16:55 +0100)]
change an include, to avoid linking from simgrid to smpi
Augustin Degomme [Tue, 19 Feb 2013 15:54:26 +0000 (16:54 +0100)]
change name of the real executed main function to a windows specific one
Augustin Degomme [Tue, 19 Feb 2013 15:51:59 +0000 (16:51 +0100)]
add smpi to windows installer
Augustin Degomme [Tue, 19 Feb 2013 15:51:29 +0000 (16:51 +0100)]
force lib names to stop changing when activating smpi on windows
Takahiro Hirofuchi [Tue, 19 Feb 2013 15:14:40 +0000 (16:14 +0100)]
Fix segmentation faults
Augustin Degomme [Tue, 19 Feb 2013 15:13:26 +0000 (16:13 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Takahiro Hirofuchi [Tue, 19 Feb 2013 12:18:17 +0000 (13:18 +0100)]
Move VM state definition to a common header file
alebre [Tue, 19 Feb 2013 11:55:31 +0000 (12:55 +0100)]
Working session (nothing really news) - Takahiro/Adrien
Arnaud Giersch [Tue, 19 Feb 2013 10:17:27 +0000 (11:17 +0100)]
Use correct log category.
Arnaud Giersch [Mon, 18 Feb 2013 21:38:16 +0000 (22:38 +0100)]
File was removed.
Arnaud Giersch [Mon, 18 Feb 2013 21:24:34 +0000 (22:24 +0100)]
Kill old commented line.
Arnaud Giersch [Mon, 18 Feb 2013 20:39:29 +0000 (21:39 +0100)]
Check status also with MC.
Arnaud Giersch [Mon, 18 Feb 2013 20:34:33 +0000 (21:34 +0100)]
Move test outside the loop.
Arnaud Giersch [Mon, 18 Feb 2013 20:31:42 +0000 (21:31 +0100)]
Set status in any case.
Takahiro Hirofuchi [Mon, 18 Feb 2013 18:06:41 +0000 (19:06 +0100)]
Add share_resource code to the VM layer
Takahiro Hirofuchi [Mon, 18 Feb 2013 18:04:15 +0000 (19:04 +0100)]
Recover a wrongly removed line
Takahiro Hirofuchi [Mon, 18 Feb 2013 18:02:07 +0000 (19:02 +0100)]
Add minor cleanup around model initialization
Takahiro Hirofuchi [Mon, 18 Feb 2013 17:52:59 +0000 (18:52 +0100)]
Prepare the model_private callbacks of ws
Takahiro Hirofuchi [Mon, 18 Feb 2013 17:41:52 +0000 (18:41 +0100)]
Create a cpu resource object for a virtual machine
Arnaud Giersch [Mon, 18 Feb 2013 16:28:36 +0000 (17:28 +0100)]
Remove declarations for nonexistent functions or variables.
Arnaud Giersch [Mon, 18 Feb 2013 15:03:07 +0000 (16:03 +0100)]
Remove duplicated declaration for xbt_time().
Arnaud Giersch [Mon, 18 Feb 2013 11:25:07 +0000 (12:25 +0100)]
Change regexp to correctly handle types like "short int".
Arnaud Giersch [Mon, 18 Feb 2013 11:16:01 +0000 (12:16 +0100)]
Remove duplicated strings.
Arnaud Giersch [Mon, 18 Feb 2013 11:12:47 +0000 (12:12 +0100)]
Cosmetics: add space.
Arnaud Giersch [Mon, 18 Feb 2013 10:16:53 +0000 (11:16 +0100)]
Also set MPI_ERROR in smpi_empty_status.
Arnaud Giersch [Fri, 15 Feb 2013 16:17:44 +0000 (17:17 +0100)]
Remove unused script.
Takahiro Hirofuchi [Fri, 15 Feb 2013 12:48:01 +0000 (13:48 +0100)]
add the definition of VM state to the surf layer
FIXME: Where should the VM state be defined? Only in the surf layer, or
also in the msg layer?
Takahiro Hirofuchi [Fri, 15 Feb 2013 12:34:21 +0000 (13:34 +0100)]
add the cpu model object in the workstation model object
Takahiro Hirofuchi [Fri, 15 Feb 2013 12:17:45 +0000 (13:17 +0100)]
fix minor issues aroud the msg layer
Takahiro Hirofuchi [Fri, 15 Feb 2013 11:51:53 +0000 (12:51 +0100)]
refine code around model types and objects
The model_type member of an action object is renamed model_obj. This
change makes it clear that this member points to a surf model objet, not
the type of a model.
The model type member is added to a surf model object. This allows us to
know what type a model object is and what extension field is accessible.
Takahiro Hirofuchi [Thu, 14 Feb 2013 17:28:14 +0000 (18:28 +0100)]
add two cpu model objects for physical and virtual
We delete surf_cpu_model, which was only one cpu model object on the
system. Now, we add surf_cpu_model_pm and surf_cpu_model_vm for the
physical and virtual machine layers, respectively.
FIXME: cpu_ti will not work correctly because using global variables. We
have to update cpu_ti to support multiple cpu model objects.
Augustin Degomme [Fri, 15 Feb 2013 09:39:44 +0000 (10:39 +0100)]
be case insensitive when trying to change main name in F90 files
Augustin Degomme [Fri, 15 Feb 2013 09:31:14 +0000 (10:31 +0100)]
add mpi_testall binding for fortran
Arnaud Giersch [Fri, 15 Feb 2013 08:55:37 +0000 (09:55 +0100)]
Cosmetics: add space before dot.
Arnaud Giersch [Thu, 14 Feb 2013 22:49:39 +0000 (23:49 +0100)]
Using memcpy looks a bit overkill here.
Arnaud Giersch [Thu, 14 Feb 2013 22:45:29 +0000 (23:45 +0100)]
Remove spurious brace from error message.
Takahiro Hirofuchi [Thu, 14 Feb 2013 16:49:55 +0000 (17:49 +0100)]
add a model object to the arguments of callbacks
For VM support, we have multiple cpu model objects on the system. The
object of a surf model may not be only one on the system. Thus, we have
to modify the code that assumes the system has only one global object of
each surf model.
We add a model object to the first argument of the callbacks of struct
surf_model_private; i.e., share_resources(), update_actions_state(), and
finalize(). In each callbacks, we delete the use of the global model
object.
Arnaud Giersch [Thu, 14 Feb 2013 16:28:13 +0000 (17:28 +0100)]
Remove remaining traces from synchronized dynars.
Had to add some #include "xbt/synchro_core.h".
Arnaud Giersch [Thu, 14 Feb 2013 16:05:41 +0000 (17:05 +0100)]
Increase tesh timeouts for slow machines.
Arnaud Giersch [Thu, 14 Feb 2013 16:05:08 +0000 (17:05 +0100)]
Make test reproducible on slow machines.
Takahiro Hirofuchi [Thu, 14 Feb 2013 15:54:35 +0000 (16:54 +0100)]
add model_list_invoke used for solving a problem
The callback function (i.e., share_resouces) of cpu_model and
network_model is now called from those of these workstation models.
They are not directly called from surf_solve(). model_list_invoke will
contain only surf_workstation and surf_vm_workstation.
- xbt_dynar_t model_list: for destroying all models correctly
- xbt_dynar_t model_list_invoke: for invoking the callback
FIXME: There might be other callbacks that should be called in the
iteration of model_list_invoke, not model_list. Update code if
neccessary.