X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/02fbf5e463830a439464adae8626cd4f2dad27fd..e94c2a7fc81a82998524aa55db075be69990d4ea:/examples/s4u/actor-migration/s4u-actor-migration.tesh diff --git a/examples/s4u/actor-migration/s4u-actor-migration.tesh b/examples/s4u/actor-migration/s4u-actor-migration.tesh index 3d54d91740..5e6e383e0e 100644 --- a/examples/s4u/actor-migration/s4u-actor-migration.tesh +++ b/examples/s4u/actor-migration/s4u-actor-migration.tesh @@ -1,14 +1,11 @@ -#! ./tesh +#!/usr/bin/env tesh -p Testing the migration feature of MSG +p Testing the actor migration feature -! output sort 19 $ $SG_TEST_EXENV ${bindir:=.}/s4u-actor-migration ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n" -> [ 0.000000] (emigrant@Jacquelin) I'll look for a new job on another machine ('Boivin') where the grass is greener. -> [ 0.000000] (emigrant@Boivin) Yeah, found something to do -> [ 0.000000] (policeman@Boivin) Wait at the checkpoint. -> [ 3.000000] (emigrant@Boivin) Moving back home after work -> [ 7.000000] (maestro@) Simulation time 7 -> [ 7.000000] (emigrant@Jacquelin) I've been moved on this new host: Jacquelin -> [ 7.000000] (emigrant@Jacquelin) Uh, nothing to do here. Stopping now -> [ 7.000000] (policeman@Boivin) I moved the emigrant +> [ 0.000000] (worker@Fafard) Let's move to Boivin to execute 1177.14 Mflops (5sec on Boivin and 5sec on Jacquelin) +> [ 5.000000] (monitor@Boivin) After 5 seconds, move the process to Jacquelin +> [ 10.000000] (worker@Jacquelin) I wake up on Jacquelin. Let's suspend a bit +> [ 15.000000] (monitor@Boivin) At t=15, move the process to Fafard and resume it. +> [ 15.000000] (worker@Fafard) I wake up on Fafard +> [ 15.000000] (worker@Fafard) Done