From a44c5845bc307c02b529e823c18abd1996fb281d Mon Sep 17 00:00:00 2001 From: bcamus Date: Wed, 7 Jun 2017 11:56:35 +0200 Subject: [PATCH] add test for multicore vm --- examples/platforms/cluster.xml | 9 +- teshsuite/msg/cloud-sharing/cloud-sharing.c | 351 +++++++++++++++++- .../msg/cloud-sharing/cloud-sharing.tesh | 159 +++++++- 3 files changed, 490 insertions(+), 29 deletions(-) diff --git a/examples/platforms/cluster.xml b/examples/platforms/cluster.xml index 628427b129..91a10e1dec 100644 --- a/examples/platforms/cluster.xml +++ b/examples/platforms/cluster.xml @@ -11,6 +11,11 @@ | | node-0.acme.org node-99.acme.org --> - + + + + + + + diff --git a/teshsuite/msg/cloud-sharing/cloud-sharing.c b/teshsuite/msg/cloud-sharing/cloud-sharing.c index da63459bf1..e44126a908 100644 --- a/teshsuite/msg/cloud-sharing/cloud-sharing.c +++ b/teshsuite/msg/cloud-sharing/cloud-sharing.c @@ -24,10 +24,13 @@ static int computation_fun(int argc, char* argv[]) static int master_main(int argc, char* argv[]) { + + XBT_INFO("# TEST ON SINGLE-CORE PMs"); + msg_host_t pm0 = MSG_host_by_name("node-0.acme.org"); msg_host_t pm1 = MSG_host_by_name("node-1.acme.org"); xbt_assert(pm0, "Host node-0.acme.org does not seem to exist"); - + XBT_INFO("## Test 1 (started): check computation on normal PMs"); XBT_INFO("### Put a task on a PM"); @@ -45,8 +48,10 @@ static int master_main(int argc, char* argv[]) MSG_process_sleep(2); XBT_INFO("## Test 1 (ended)"); + + XBT_INFO("# TEST ON SINGLE-CORE PMs AND SINGLE-CORE VMs"); - XBT_INFO("## Test 2 (started): check impact of running a task inside a VM (there is no degradation for the moment)"); + XBT_INFO("## Test 2 (started): check impact of running tasks inside a VM (there is no degradation for the moment)"); XBT_INFO("### Put a VM on a PM, and put a task to the VM"); msg_vm_t vm0 = MSG_vm_create_core(pm0, "VM0"); @@ -54,46 +59,366 @@ static int master_main(int argc, char* argv[]) MSG_process_create("compute", computation_fun, NULL, vm0); MSG_process_sleep(2); MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put two task to the VM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); XBT_INFO("## Test 2 (ended)"); + + XBT_INFO("## Test 3 (started): check impact of running tasks collocated with VMs (there is no VM noise for the moment)"); - XBT_INFO( - "## Test 3 (started): check impact of running a task collocated with a VM (there is no VM noise for the moment)"); + XBT_INFO("### Put a task on a PM collocated with an empty VM"); + + vm0 = MSG_vm_create_core(pm0, "VM0"); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, put a task to the PM and a task to the VM"); - XBT_INFO("### Put a VM on a PM, and put a task to the PM"); vm0 = MSG_vm_create_core(pm0, "VM0"); MSG_vm_start(vm0); MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, put a task to the PM and two tasks to the VM"); + + vm0 = MSG_vm_create_core(pm0, "VM0"); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); MSG_process_sleep(2); MSG_vm_destroy(vm0); XBT_INFO("## Test 3 (ended)"); + + XBT_INFO("# TEST ON TWO-CORE PMs"); + + pm0 = MSG_host_by_name("node-0.acme2.org"); + pm1 = MSG_host_by_name("node-1.acme2.org"); + xbt_assert(pm0, "Host node-0.acme2.org does not seem to exist"); + + XBT_INFO("## Test 4 (started): check computation on 2 cores PMs"); - XBT_INFO("## Test 4 (started): compare the cost of running two tasks inside two different VMs collocated or not (for" - " the moment, there is no degradation for the VMs. Hence, the time should be equals to the time of test 1"); + XBT_INFO("### Put a task on a PM"); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); - XBT_INFO("### Put two VMs on a PM, and put a task to each VM"); - vm0 = MSG_vm_create_core(pm0, "VM0"); + XBT_INFO("### Put two tasks on a PM"); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + + XBT_INFO("### Put three tasks on a PM"); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + + XBT_INFO("## Test 4 (ended)"); + + XBT_INFO("# TEST ON TWO-CORE PMs AND SINGLE-CORE VMs"); + + XBT_INFO("## Test 5 (started): check impact of a single VM (there is no degradation for the moment)"); + + XBT_INFO("### Put a VM on a PM, and put a task to the VM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put two tasks to the VM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put a task to the PM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, put a task to the PM and a task to the VM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("## Test 5 (ended)"); + + XBT_INFO("## Test 6 (started): check impact of a several VMs (there is no degradation for the moment)"); + + XBT_INFO("### Put two VMs on a PM, and put a task to one VM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); msg_vm_t vm1 = MSG_vm_create_core(pm0, "VM1"); MSG_vm_start(vm0); MSG_vm_start(vm1); MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + MSG_vm_destroy(vm1); + + XBT_INFO("### Put two VMs on a PM, and put a task to each VM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); + vm1 = MSG_vm_create_core(pm0, "VM1"); + MSG_vm_start(vm0); + MSG_vm_start(vm1); + MSG_process_create("compute", computation_fun, NULL, vm0); MSG_process_create("compute", computation_fun, NULL, vm1); MSG_process_sleep(2); MSG_vm_destroy(vm0); MSG_vm_destroy(vm1); - - XBT_INFO("### Put a VM on each PM, and put a task to each VM"); + + XBT_INFO("### Put three VMs on a PM, and put a task to two VMs"); vm0 = MSG_vm_create_core(pm0, "VM0"); - vm1 = MSG_vm_create_core(pm1, "VM1"); + vm1 = MSG_vm_create_core(pm0, "VM1"); + msg_vm_t vm2 = MSG_vm_create_core(pm0, "VM2"); MSG_vm_start(vm0); MSG_vm_start(vm1); + MSG_vm_start(vm2); MSG_process_create("compute", computation_fun, NULL, vm0); MSG_process_create("compute", computation_fun, NULL, vm1); MSG_process_sleep(2); MSG_vm_destroy(vm0); MSG_vm_destroy(vm1); - XBT_INFO("## Test 4 (ended)"); + MSG_vm_destroy(vm2); + + XBT_INFO("### Put three VMs on a PM, and put a task to each VM"); + vm0 = MSG_vm_create_core(pm0, "VM0"); + vm1 = MSG_vm_create_core(pm0, "VM1"); + vm2 = MSG_vm_create_core(pm0, "VM2"); + MSG_vm_start(vm0); + MSG_vm_start(vm1); + MSG_vm_start(vm2); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm1); + MSG_process_create("compute", computation_fun, NULL, vm2); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + MSG_vm_destroy(vm1); + MSG_vm_destroy(vm2); + + XBT_INFO("## Test 6 (ended)"); + + XBT_INFO("# TEST ON TWO-CORE PMs AND TWO-CORE VMs"); + + XBT_INFO("## Test 7 (started): check impact of a single VM (there is no degradation for the moment)"); + + XBT_INFO("### Put a VM on a PM, and put a task to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put two tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put three tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("## Test 7 (ended)"); + + XBT_INFO("## Test 8 (started): check impact of a single VM collocated with a task (there is no degradation for the moment)"); + + XBT_INFO("### Put a VM on a PM, and put a task to the PM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, put one task to the PM and one task to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, put one task to the PM and two tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, put one task to the PM and three tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("## Test 8 (ended)"); + + XBT_INFO("# TEST ON FOUR-CORE PMs AND TWO-CORE VMs"); + + pm0 = MSG_host_by_name("node-0.acme4.org"); + pm1 = MSG_host_by_name("node-1.acme4.org"); + xbt_assert(pm0, "Host node-0.acme4.org does not seem to exist"); + + XBT_INFO("## Test 9 (started): check impact of a single VM"); + + XBT_INFO("### Put a VM on a PM, and put a task to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put two tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put three tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("## Test 9 (ended)"); + + XBT_INFO("## Test 10 (started): check impact of a single emtpy VM collocated with tasks"); + + XBT_INFO("### Put a VM on a PM, and put a task to the PM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put two tasks to the PM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put three tasks to the PM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put four tasks to the PM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("## Test 10 (ended)"); + + XBT_INFO("## Test 11 (started): check impact of a single working VM collocated with tasks"); + + XBT_INFO("### Put a VM on a PM, and put one task to the PM and one task to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put two tasks to the PM and one task to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put two tasks to the PM and two tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put three tasks to the PM and one tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put three tasks to the PM and two tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("### Put a VM on a PM, and put three tasks to the PM and three tasks to the VM"); + vm0 = MSG_vm_create_multicore(pm0, "VM0",2); + MSG_vm_start(vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, vm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_create("compute", computation_fun, NULL, pm0); + MSG_process_sleep(2); + MSG_vm_destroy(vm0); + + XBT_INFO("## Test 11 (ended)"); return 0; } diff --git a/teshsuite/msg/cloud-sharing/cloud-sharing.tesh b/teshsuite/msg/cloud-sharing/cloud-sharing.tesh index beb39ace2a..c2e6a27607 100644 --- a/teshsuite/msg/cloud-sharing/cloud-sharing.tesh +++ b/teshsuite/msg/cloud-sharing/cloud-sharing.tesh @@ -1,6 +1,7 @@ #! ./tesh $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=no_loc ${srcdir:=.}/../../../examples/platforms/cluster.xml +> [node-0.acme.org:master:(1) 0.000000] [msg_test/INFO] # TEST ON SINGLE-CORE PMs > [node-0.acme.org:master:(1) 0.000000] [msg_test/INFO] ## Test 1 (started): check computation on normal PMs > [node-0.acme.org:master:(1) 0.000000] [msg_test/INFO] ### Put a task on a PM > [node-0.acme.org:compute:(2) 0.100000] [msg_test/INFO] Task took 0.1s to execute @@ -11,19 +12,149 @@ $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=no_loc ${srcdir:=.}/../ > [node-0.acme.org:compute:(5) 4.100000] [msg_test/INFO] Task took 0.1s to execute > [node-1.acme.org:compute:(6) 4.100000] [msg_test/INFO] Task took 0.1s to execute > [node-0.acme.org:master:(1) 6.000000] [msg_test/INFO] ## Test 1 (ended) -> [node-0.acme.org:master:(1) 6.000000] [msg_test/INFO] ## Test 2 (started): check impact of running a task inside a VM (there is no degradation for the moment) +> [node-0.acme.org:master:(1) 6.000000] [msg_test/INFO] # TEST ON SINGLE-CORE PMs AND SINGLE-CORE VMs +> [node-0.acme.org:master:(1) 6.000000] [msg_test/INFO] ## Test 2 (started): check impact of running tasks inside a VM (there is no degradation for the moment) > [node-0.acme.org:master:(1) 6.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the VM > [VM0:compute:(7) 6.100000] [msg_test/INFO] Task took 0.1s to execute -> [node-0.acme.org:master:(1) 8.000000] [msg_test/INFO] ## Test 2 (ended) -> [node-0.acme.org:master:(1) 8.000000] [msg_test/INFO] ## Test 3 (started): check impact of running a task collocated with a VM (there is no VM noise for the moment) -> [node-0.acme.org:master:(1) 8.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the PM -> [node-0.acme.org:compute:(8) 8.100000] [msg_test/INFO] Task took 0.1s to execute -> [node-0.acme.org:master:(1) 10.000000] [msg_test/INFO] ## Test 3 (ended) -> [node-0.acme.org:master:(1) 10.000000] [msg_test/INFO] ## Test 4 (started): compare the cost of running two tasks inside two different VMs collocated or not (for the moment, there is no degradation for the VMs. Hence, the time should be equals to the time of test 1 -> [node-0.acme.org:master:(1) 10.000000] [msg_test/INFO] ### Put two VMs on a PM, and put a task to each VM -> [VM0:compute:(9) 10.200000] [msg_test/INFO] Task took 0.2s to execute -> [VM1:compute:(10) 10.200000] [msg_test/INFO] Task took 0.2s to execute -> [node-0.acme.org:master:(1) 12.000000] [msg_test/INFO] ### Put a VM on each PM, and put a task to each VM -> [VM0:compute:(11) 12.100000] [msg_test/INFO] Task took 0.1s to execute -> [VM1:compute:(12) 12.100000] [msg_test/INFO] Task took 0.1s to execute -> [node-0.acme.org:master:(1) 14.000000] [msg_test/INFO] ## Test 4 (ended) +> [node-0.acme.org:master:(1) 8.000000] [msg_test/INFO] ### Put a VM on a PM, and put two task to the VM +> [VM0:compute:(9) 8.200000] [msg_test/INFO] Task took 0.2s to execute +> [VM0:compute:(8) 8.200000] [msg_test/INFO] Task took 0.2s to execute +> [node-0.acme.org:master:(1) 10.000000] [msg_test/INFO] ## Test 2 (ended) +> [node-0.acme.org:master:(1) 10.000000] [msg_test/INFO] ## Test 3 (started): check impact of running tasks collocated with VMs (there is no VM noise for the moment) +> [node-0.acme.org:master:(1) 10.000000] [msg_test/INFO] ### Put a task on a PM collocated with an empty VM +> [node-0.acme.org:compute:(10) 10.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 12.000000] [msg_test/INFO] ### Put a VM on a PM, put a task to the PM and a task to the VM +> [node-0.acme.org:compute:(11) 12.200000] [msg_test/INFO] Task took 0.2s to execute +> [VM0:compute:(12) 12.200000] [msg_test/INFO] Task took 0.2s to execute +> [node-0.acme.org:master:(1) 14.000000] [msg_test/INFO] ### Put a VM on a PM, put a task to the PM and two tasks to the VM +> [node-0.acme.org:compute:(13) 14.200000] [msg_test/INFO] Task took 0.2s to execute +> [VM0:compute:(15) 14.400000] [msg_test/INFO] Task took 0.4s to execute +> [VM0:compute:(14) 14.400000] [msg_test/INFO] Task took 0.4s to execute +> [node-0.acme.org:master:(1) 16.000000] [msg_test/INFO] ## Test 3 (ended) +> [node-0.acme.org:master:(1) 16.000000] [msg_test/INFO] # TEST ON TWO-CORE PMs +> [node-0.acme.org:master:(1) 16.000000] [msg_test/INFO] ## Test 4 (started): check computation on 2 cores PMs +> [node-0.acme.org:master:(1) 16.000000] [msg_test/INFO] ### Put a task on a PM +> [node-0.acme2.org:compute:(16) 16.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 18.000000] [msg_test/INFO] ### Put two tasks on a PM +> [node-0.acme2.org:compute:(18) 18.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme2.org:compute:(17) 18.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 20.000000] [msg_test/INFO] ### Put three tasks on a PM +> [node-0.acme2.org:compute:(21) 20.150000] [msg_test/INFO] Task took 0.15s to execute +> [node-0.acme2.org:compute:(19) 20.150000] [msg_test/INFO] Task took 0.15s to execute +> [node-0.acme2.org:compute:(20) 20.150000] [msg_test/INFO] Task took 0.15s to execute +> [node-0.acme.org:master:(1) 22.000000] [msg_test/INFO] ## Test 4 (ended) +> [node-0.acme.org:master:(1) 22.000000] [msg_test/INFO] # TEST ON TWO-CORE PMs AND SINGLE-CORE VMs +> [node-0.acme.org:master:(1) 22.000000] [msg_test/INFO] ## Test 5 (started): check impact of a single VM (there is no degradation for the moment) +> [node-0.acme.org:master:(1) 22.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the VM +> [VM0:compute:(22) 22.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 24.000000] [msg_test/INFO] ### Put a VM on a PM, and put two tasks to the VM +> [VM0:compute:(24) 24.200000] [msg_test/INFO] Task took 0.2s to execute +> [VM0:compute:(23) 24.200000] [msg_test/INFO] Task took 0.2s to execute +> [node-0.acme.org:master:(1) 26.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the PM +> [node-0.acme2.org:compute:(25) 26.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 28.000000] [msg_test/INFO] ### Put a VM on a PM, put a task to the PM and a task to the VM +> [node-0.acme2.org:compute:(26) 28.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(27) 28.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 30.000000] [msg_test/INFO] ## Test 5 (ended) +> [node-0.acme.org:master:(1) 30.000000] [msg_test/INFO] ## Test 6 (started): check impact of a several VMs (there is no degradation for the moment) +> [node-0.acme.org:master:(1) 30.000000] [msg_test/INFO] ### Put two VMs on a PM, and put a task to one VM +> [VM0:compute:(28) 30.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 32.000000] [msg_test/INFO] ### Put two VMs on a PM, and put a task to each VM +> [VM0:compute:(29) 32.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM1:compute:(30) 32.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 34.000000] [msg_test/INFO] ### Put three VMs on a PM, and put a task to two VMs +> [VM0:compute:(31) 34.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM1:compute:(32) 34.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 36.000000] [msg_test/INFO] ### Put three VMs on a PM, and put a task to each VM +> [VM0:compute:(33) 36.150000] [msg_test/INFO] Task took 0.15s to execute +> [VM2:compute:(35) 36.150000] [msg_test/INFO] Task took 0.15s to execute +> [VM1:compute:(34) 36.150000] [msg_test/INFO] Task took 0.15s to execute +> [node-0.acme.org:master:(1) 38.000000] [msg_test/INFO] ## Test 6 (ended) +> [node-0.acme.org:master:(1) 38.000000] [msg_test/INFO] # TEST ON TWO-CORE PMs AND TWO-CORE VMs +> [node-0.acme.org:master:(1) 38.000000] [msg_test/INFO] ## Test 7 (started): check impact of a single VM (there is no degradation for the moment) +> [node-0.acme.org:master:(1) 38.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the VM +> [VM0:compute:(36) 38.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 40.000000] [msg_test/INFO] ### Put a VM on a PM, and put two tasks to the VM +> [VM0:compute:(38) 40.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(37) 40.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 42.000000] [msg_test/INFO] ### Put a VM on a PM, and put three tasks to the VM +> [VM0:compute:(41) 42.150000] [msg_test/INFO] Task took 0.15s to execute +> [VM0:compute:(39) 42.150000] [msg_test/INFO] Task took 0.15s to execute +> [VM0:compute:(40) 42.150000] [msg_test/INFO] Task took 0.15s to execute +> [node-0.acme.org:master:(1) 44.000000] [msg_test/INFO] ## Test 7 (ended) +> [node-0.acme.org:master:(1) 44.000000] [msg_test/INFO] ## Test 8 (started): check impact of a single VM collocated with a task (there is no degradation for the moment) +> [node-0.acme.org:master:(1) 44.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the PM +> [node-0.acme2.org:compute:(42) 44.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 46.000000] [msg_test/INFO] ### Put a VM on a PM, put one task to the PM and one task to the VM +> [node-0.acme2.org:compute:(43) 46.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(44) 46.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 48.000000] [msg_test/INFO] ### Put a VM on a PM, put one task to the PM and two tasks to the VM +> [node-0.acme2.org:compute:(45) 48.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(47) 48.200000] [msg_test/INFO] Task took 0.2s to execute +> [VM0:compute:(46) 48.200000] [msg_test/INFO] Task took 0.2s to execute +> [node-0.acme.org:master:(1) 50.000000] [msg_test/INFO] ### Put a VM on a PM, put one task to the PM and three tasks to the VM +> [node-0.acme2.org:compute:(48) 50.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(51) 50.300000] [msg_test/INFO] Task took 0.3s to execute +> [VM0:compute:(49) 50.300000] [msg_test/INFO] Task took 0.3s to execute +> [VM0:compute:(50) 50.300000] [msg_test/INFO] Task took 0.3s to execute +> [node-0.acme.org:master:(1) 52.000000] [msg_test/INFO] ## Test 8 (ended) +> [node-0.acme.org:master:(1) 52.000000] [msg_test/INFO] # TEST ON FOUR-CORE PMs AND TWO-CORE VMs +> [node-0.acme.org:master:(1) 52.000000] [msg_test/INFO] ## Test 9 (started): check impact of a single VM +> [node-0.acme.org:master:(1) 52.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the VM +> [VM0:compute:(52) 52.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 54.000000] [msg_test/INFO] ### Put a VM on a PM, and put two tasks to the VM +> [VM0:compute:(54) 54.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(53) 54.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 56.000000] [msg_test/INFO] ### Put a VM on a PM, and put three tasks to the VM +> [VM0:compute:(57) 56.150000] [msg_test/INFO] Task took 0.15s to execute +> [VM0:compute:(55) 56.150000] [msg_test/INFO] Task took 0.15s to execute +> [VM0:compute:(56) 56.150000] [msg_test/INFO] Task took 0.15s to execute +> [node-0.acme.org:master:(1) 58.000000] [msg_test/INFO] ## Test 9 (ended) +> [node-0.acme.org:master:(1) 58.000000] [msg_test/INFO] ## Test 10 (started): check impact of a single emtpy VM collocated with tasks +> [node-0.acme.org:master:(1) 58.000000] [msg_test/INFO] ### Put a VM on a PM, and put a task to the PM +> [node-0.acme4.org:compute:(58) 58.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 60.000000] [msg_test/INFO] ### Put a VM on a PM, and put two tasks to the PM +> [node-0.acme4.org:compute:(60) 60.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(59) 60.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 62.000000] [msg_test/INFO] ### Put a VM on a PM, and put three tasks to the PM +> [node-0.acme4.org:compute:(63) 62.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(61) 62.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(62) 62.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 64.000000] [msg_test/INFO] ### Put a VM on a PM, and put four tasks to the PM +> [node-0.acme4.org:compute:(67) 64.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(66) 64.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(65) 64.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(64) 64.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 66.000000] [msg_test/INFO] ## Test 10 (ended) +> [node-0.acme.org:master:(1) 66.000000] [msg_test/INFO] ## Test 11 (started): check impact of a single working VM collocated with tasks +> [node-0.acme.org:master:(1) 66.000000] [msg_test/INFO] ### Put a VM on a PM, and put one task to the PM and one task to the VM +> [node-0.acme4.org:compute:(69) 66.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(68) 66.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 68.000000] [msg_test/INFO] ### Put a VM on a PM, and put two tasks to the PM and one task to the VM +> [node-0.acme4.org:compute:(71) 68.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(72) 68.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(70) 68.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 70.000000] [msg_test/INFO] ### Put a VM on a PM, and put two tasks to the PM and two tasks to the VM +> [node-0.acme4.org:compute:(75) 70.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(76) 70.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(74) 70.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(73) 70.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 72.000000] [msg_test/INFO] ### Put a VM on a PM, and put three tasks to the PM and one tasks to the VM +> [node-0.acme4.org:compute:(80) 72.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(78) 72.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(79) 72.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(77) 72.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme.org:master:(1) 74.000000] [msg_test/INFO] ### Put a VM on a PM, and put three tasks to the PM and two tasks to the VM +> [node-0.acme4.org:compute:(85) 74.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(83) 74.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(84) 74.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(82) 74.200000] [msg_test/INFO] Task took 0.2s to execute +> [VM0:compute:(81) 74.200000] [msg_test/INFO] Task took 0.2s to execute +> [node-0.acme.org:master:(1) 76.000000] [msg_test/INFO] ### Put a VM on a PM, and put three tasks to the PM and three tasks to the VM +> [node-0.acme4.org:compute:(91) 76.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(89) 76.100000] [msg_test/INFO] Task took 0.1s to execute +> [node-0.acme4.org:compute:(90) 76.100000] [msg_test/INFO] Task took 0.1s to execute +> [VM0:compute:(88) 76.300000] [msg_test/INFO] Task took 0.3s to execute +> [VM0:compute:(86) 76.300000] [msg_test/INFO] Task took 0.3s to execute +> [VM0:compute:(87) 76.300000] [msg_test/INFO] Task took 0.3s to execute +> [node-0.acme.org:master:(1) 78.000000] [msg_test/INFO] ## Test 11 (ended) \ No newline at end of file -- 2.20.1