File: cloud-migration.tesh

package info (click to toggle)
simgrid 3.21%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,972 kB
  • sloc: cpp: 88,193; ansic: 69,244; fortran: 6,089; f90: 5,162; xml: 4,861; java: 4,250; perl: 2,056; python: 1,193; sh: 1,159; makefile: 57; sed: 6
file content (33 lines) | stat: -rw-r--r-- 2,867 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env tesh

$ java -classpath ${classpath:=.} cloud/migration/Main ${srcdir:=.}/../platforms/three_multicore_hosts.xml
> [0.000000] [java/INFO] Using regular java threads.
> [PM0:Test:(1) 0.000000] [java/INFO] This example evaluates the migration time of a VM in presence of collocated VMs on the source and the dest nodes
> [PM0:Test:(1) 0.000000] [java/INFO] The migrated VM has a memory intensity rate of 70% of the network BW and a cpu load of 90% " (see cloudcom 2013 paper "Adding a Live Migration Model Into SimGrid" for further information) 
> [PM0:Test:(1) 0.000000] [java/INFO] Load of collocated VMs fluctuate between 0 and 90% in order to create a starvation issue and see whether it impacts or not the migration time
> [PM0:Test:(1) 0.000000] [java/INFO] Round trip of VM1 (load 90%)
> [PM0:Test:(1) 0.000000] [java/INFO]      - Launch migration from PM0 to PM1
> [PM0:Test:(1) 0.000000] [java/INFO] Start migration of VM vm0 to PM1
> [PM0:Test:(1) 0.000000] [java/INFO]     currentLoad:90/ramSize:2048/dpIntensity:70/remaining:8.10E+11
> [PM0:Test:(1) 45.731913] [java/INFO] End of migration of VM vm0 to node PM1
> [PM0:Test:(1) 45.731913] [java/INFO]      - End of Migration from PM0 to PM1 (duration:45.73191265731957)
> [PM0:Test:(1) 45.731913] [java/INFO]      - Launch migration from PM1 to PM0
> [PM0:Test:(1) 45.731913] [java/INFO] Start migration of VM vm0 to PM0
> [PM0:Test:(1) 45.731913] [java/INFO]     currentLoad:90/ramSize:2048/dpIntensity:70/remaining:5.01E+11
> [PM0:Test:(1) 97.502571] [java/INFO] End of migration of VM vm0 to node PM0
> [PM0:Test:(1) 97.502571] [java/INFO]      - End of Migration from PM1 to PM0 (duration:51.770657959072125)
> [PM0:Test:(1) 97.502571] [java/INFO] 
> [PM0:Test:(1) 97.502571] [java/INFO] 
> [PM0:Test:(1) 97.502571] [java/INFO] Round trip of VM1 (load 80%)
> [PM0:Test:(1) 97.502571] [java/INFO]      - Launch migration from PM0 to PM1
> [PM0:Test:(1) 97.502571] [java/INFO] Start migration of VM vm0 to PM1
> [PM0:Test:(1) 97.502571] [java/INFO]     currentLoad:80/ramSize:2048/dpIntensity:70/remaining:1.24E+11
> [PM0:Test:(1) 140.711178] [java/INFO] End of migration of VM vm0 to node PM1
> [PM0:Test:(1) 140.711178] [java/INFO]      - End of Migration from PM0 to PM1 (duration:43.20860711422699)
> [PM0:Test:(1) 140.711178] [java/INFO]      - Launch migration from PM1 to PM0
> [PM0:Test:(1) 140.711178] [java/INFO] Start migration of VM vm0 to PM0
> [PM0:Test:(1) 140.711178] [java/INFO]     currentLoad:80/ramSize:2048/dpIntensity:70/remaining:6.54E+11
> [PM0:Test:(1) 183.918679] [java/INFO] End of migration of VM vm0 to node PM0
> [PM0:Test:(1) 183.918679] [java/INFO]      - End of Migration from PM1 to PM0 (duration:43.207501264227034)
> [PM0:Test:(1) 183.918679] [java/INFO] Forcefully destroy VMs
> [183.918679] [java/INFO] MSG_main finished; Terminating the simulation...