File: s4u-exec-ptask-multicore.tesh

package info (click to toggle)
simgrid 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,192 kB
  • sloc: cpp: 124,913; ansic: 66,744; python: 8,560; java: 6,773; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,194; perl: 1,436; makefile: 111; lisp: 49; javascript: 7; sed: 6
file content (21 lines) | stat: -rw-r--r-- 1,342 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env tesh

$ ${bindir:=.}/s4u-exec-ptask-multicore ${platfdir}/energy_platform.xml --cfg=host/model:ptask_L07 --log=no_loc "--log=root.fmt:[%10.6r]%e%m%n"
> [  0.000000] Configuration change: Set 'host/model' to 'ptask_L07'
> [  0.000000] Switching to the L07 model to handle parallel tasks.
> [ 10.000000] Computed 2-core activity on two different hosts. Took 10 s
> [ 30.000000] Computed 2-core activity a 1-core host. Took 20 s
> [ 40.000000] Computed 2-core activity on a 4-core host. Took 10 s
> [ 55.000000] Computed 6-core activity on a 4-core host. Took 15 s
> [ 65.000000] Computed 2-core activity on a 4-core host with some communication. Took 10 s
> [ 65.000000] Switching machine multicore to pstate 1.
> [ 65.000000] Switching back to pstate 0.
> [ 75.000000] Computed 2-core activity on a 4-core host. Took 10 s
> [ 85.000000] Computed 2-core activity on two different hosts. Took 10 s
> [ 85.000000] Start a 1-core background task on the 4-core host.
> [ 95.000000] Computed 2-core activity on the 4-core host. Took 10 s
> [ 95.000000] Remaining amount of work for the background task: 80%
> [ 95.000000] Switching to pstate 1 while background task is still running.
> [115.000000] Computed again the same 2-core activity on it. Took 20 s
> [175.000000] The background task has ended.
> [175.000000] Simulation done.