X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d2465201310928e424c2d65c6300454ed7e962f2..4bc1b8a46fad46958e475b5bd38c402cc3b8bcfb:/teshsuite/msg/cloud-sharing/cloud-sharing.tesh diff --git a/teshsuite/msg/cloud-sharing/cloud-sharing.tesh b/teshsuite/msg/cloud-sharing/cloud-sharing.tesh index c6c2296313..052a489c28 100644 --- a/teshsuite/msg/cloud-sharing/cloud-sharing.tesh +++ b/teshsuite/msg/cloud-sharing/cloud-sharing.tesh @@ -1,6 +1,6 @@ -#! ./tesh +#!/usr/bin/env tesh -$ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir:=.}/../../../examples/platforms/cluster_backbone.xml +$ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${platfdir}/cluster_backbone.xml > # TEST ON SINGLE-CORE PMs > ## Check computation on regular PMs > ### Test '(o)1'. A task on a regular PM @@ -37,8 +37,8 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir: > Passed: (Xx)2 with 1 load (100000000flops) took 0.1s as expected > ### Test '( ooo )2'. 3 tasks on a bicore PM > Passed: (xxX)2 with 0.6667 load (66666666flops) took 0.1s as expected -> Passed: (Xxx)2 with 0.6667 load (66666666flops) took 0.1s as expected > Passed: (xXx)2 with 0.6667 load (66666666flops) took 0.1s as expected +> Passed: (Xxx)2 with 0.6667 load (66666666flops) took 0.1s as expected > # TEST ON TWO-CORE PMs AND SINGLE-CORE VMs > ## Check impact of a single VM (no degradation for the moment) > ### Test '( [o]1 )2'. A task in a VM on a bicore PM @@ -62,8 +62,8 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir: > Passed: ( [x]1 [X]1 [ ]1 )2 with 1 load (100000000flops) took 0.1s as expected > ### Put three VMs on a PM, and put a task to each VM > Passed: ( [X]1 [o]1 [o]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected -> Passed: ( [o]1 [o]1 [X]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected > Passed: ( [o]1 [X]1 [o]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected +> Passed: ( [o]1 [o]1 [X]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected > # TEST ON TWO-CORE PMs AND TWO-CORE VMs > ## Check impact of a single VM (there is no degradation for the moment) > ### Put a VM on a PM, and put a task to the VM @@ -73,8 +73,8 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir: > Passed: ( [Xo]2 )2 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, and put three tasks to the VM > Passed: ( [ooX]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected -> Passed: ( [Xoo]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected > Passed: ( [oXo]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected +> Passed: ( [Xoo]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected > ## Check impact of a single VM collocated with a task (there is no degradation for the moment) > ### Put a VM on a PM, and put a task to the PM > Passed: ( [ ]2 X )2 with 1 load (100000000flops) took 0.1s as expected @@ -88,26 +88,26 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir: > ### Put a VM on a PM, put one task to the PM and three tasks to the VM > Passed: ( [ooo]2 X )2 with 0.6667 load (66666666flops) took 0.1s as expected > Passed: ( [ooX]2 o )2 with 0.4444 load (44444444flops) took 0.1s as expected -> Passed: ( [Xoo]2 o )2 with 0.4444 load (44444444flops) took 0.1s as expected > Passed: ( [oXo]2 o )2 with 0.4444 load (44444444flops) took 0.1s as expected +> Passed: ( [Xoo]2 o )2 with 0.4444 load (44444444flops) took 0.1s as expected > ### Put a VM on a PM, and put two tasks to the PM > Passed: ( [ ]2 oX )2 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [ ]2 Xo )2 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, put one task to the PM and one task to the VM -> Passed: ( [o]2 Xo )2 with 0.6667 load (66666666flops) took 0.1s as expected > Passed: ( [o]2 oX )2 with 0.6667 load (66666666flops) took 0.1s as expected +> Passed: ( [o]2 Xo )2 with 0.6667 load (66666666flops) took 0.1s as expected > Passed: ( [X]2 oo )2 with 0.6667 load (66666666flops) took 0.1s as expected > ### Put a VM on a PM, put one task to the PM and two tasks to the VM -> Passed: ( [oo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected > Passed: ( [oo]2 oX )2 with 0.5 load (50000000flops) took 0.1s as expected +> Passed: ( [oo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected > Passed: ( [oX]2 oo )2 with 0.5 load (50000000flops) took 0.1s as expected > Passed: ( [Xo]2 oo )2 with 0.5 load (50000000flops) took 0.1s as expected > ### Put a VM on a PM, put one task to the PM and three tasks to the VM -> Passed: ( [ooo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected > Passed: ( [ooo]2 oX )2 with 0.5 load (50000000flops) took 0.1s as expected +> Passed: ( [ooo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected > Passed: ( [ooX]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected -> Passed: ( [Xoo]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected > Passed: ( [oXo]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected +> Passed: ( [Xoo]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected > # TEST ON FOUR-CORE PMs AND TWO-CORE VMs > ## Check impact of a single VM > ### Put a VM on a PM, and put a task to the VM @@ -117,8 +117,8 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir: > Passed: ( [Xo]2 )4 with 1 load (100000000flops) took 0.1s as expected > ### ( [ooo]2 )4: Put a VM on a PM, and put three tasks to the VM > Passed: ( [ooX]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected -> Passed: ( [Xoo]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected > Passed: ( [oXo]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected +> Passed: ( [Xoo]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected > ## Check impact of a single empty VM collocated with tasks > ### Put a VM on a PM, and put a task to the PM > Passed: ( [ ]2 X )4 with 1 load (100000000flops) took 0.1s as expected @@ -127,8 +127,8 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir: > Passed: ( [ ]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, and put three tasks to the PM > Passed: ( [ ]2 ooX )4 with 1 load (100000000flops) took 0.1s as expected -> Passed: ( [ ]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [ ]2 oXo )4 with 1 load (100000000flops) took 0.1s as expected +> Passed: ( [ ]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, and put four tasks to the PM > Passed: ( [ ]2 oooX )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [ ]2 ooXo )4 with 1 load (100000000flops) took 0.1s as expected @@ -139,32 +139,32 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir: > Passed: ( [o]2 X )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [X]2 o )4 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, and put two tasks to the PM and one task to the VM -> Passed: ( [o]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [o]2 oX )4 with 1 load (100000000flops) took 0.1s as expected +> Passed: ( [o]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [X]2 oo )4 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, and put two tasks to the PM and two tasks to the VM -> Passed: ( [oo]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [oo]2 oX )4 with 1 load (100000000flops) took 0.1s as expected +> Passed: ( [oo]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [oX]2 oo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [Xo]2 oo )4 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, and put three tasks to the PM and one tasks to the VM > Passed: ( [o]2 ooX )4 with 1 load (100000000flops) took 0.1s as expected -> Passed: ( [o]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [o]2 oXo )4 with 1 load (100000000flops) took 0.1s as expected +> Passed: ( [o]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected > Passed: ( [X]2 ooo )4 with 1 load (100000000flops) took 0.1s as expected > ### Put a VM on a PM, and put three tasks to the PM and two tasks to the VM > Passed: ( [oo]2 ooX )4 with 0.8 load (80000000flops) took 0.1s as expected -> Passed: ( [oo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected > Passed: ( [oo]2 oXo )4 with 0.8 load (80000000flops) took 0.1s as expected +> Passed: ( [oo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected > Passed: ( [oX]2 ooo )4 with 0.8 load (80000000flops) took 0.1s as expected > Passed: ( [Xo]2 ooo )4 with 0.8 load (80000000flops) took 0.1s as expected > ### Put a VM on a PM, and put three tasks to the PM and three tasks to the VM > Passed: ( [ooo]2 ooX )4 with 0.8 load (80000000flops) took 0.1s as expected -> Passed: ( [ooo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected > Passed: ( [ooo]2 oXo )4 with 0.8 load (80000000flops) took 0.1s as expected +> Passed: ( [ooo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected > Passed: ( [ooX]2 ooo )4 with 0.5333 load (53333333flops) took 0.1s as expected -> Passed: ( [Xoo]2 ooo )4 with 0.5333 load (53333333flops) took 0.1s as expected > Passed: ( [oXo]2 ooo )4 with 0.5333 load (53333333flops) took 0.1s as expected +> Passed: ( [Xoo]2 ooo )4 with 0.5333 load (53333333flops) took 0.1s as expected > > > ## 0 test failed