Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simplify the I/O stream thing A LOT. Might be plunged in CLM03 afterall
[simgrid.git] / teshsuite / s4u / io-stream / io-stream.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/io-stream  --cfg=host/model:sio_S22 "--log=root.fmt:[%10.6r]%e[%i:%a@%h]%e%m%n"
4 > [  0.000000] [0:maestro@] Configuration change: Set 'host/model' to 'sio_S22'
5 > [  0.000000] [0:maestro@] Switching to the S22 model to handle streaming I/Os.
6 > [  0.000000] [1:streamer@bob] [Bob -> Alice] Store and Forward (1 block)
7 > [  4.000000] [1:streamer@bob]     Read  : 4.000000 seconds
8 > [  6.165599] [1:streamer@bob]     Send  : 2.165599 seconds
9 > [  7.165599] [1:streamer@bob]     Write : 1.000000 seconds
10 > [  7.165599] [1:streamer@bob]     Total : 7.165599 seconds
11 > [  7.165599] [1:streamer@bob] [Bob -> Alice] Store and Forward (100 blocks)
12 > [ 11.165518] [1:streamer@bob]     Total : 3.999919 seconds
13 > [ 11.165518] [1:streamer@bob] [Bob -> Alice] Streaming (Read bottleneck)
14 > [ 15.165568] [1:streamer@bob]     Total : 4.000050 seconds
15 > [ 15.165568] [1:streamer@bob] [Bob -> Alice] Streaming (Write bottleneck)
16 > [ 27.234930] [1:streamer@bob]     Total : 12.069362 seconds
17 > [ 27.234930] [1:streamer@bob] Start two 10-second background traffic between Bob and Alice
18 > [ 27.234930] [1:streamer@bob] [Bob -> Alice] Streaming (Transfer bottleneck)
19 > [ 45.285733] [1:streamer@bob]     Total : 18.050803 seconds
20 > [ 45.285733] [1:streamer@bob] [Bob -> Alice] Streaming "from disk to memory" (no write)
21 > [ 49.285783] [1:streamer@bob]     Total : 4.000050 seconds
22 > [ 49.285783] [1:streamer@bob] [Bob -> Alice] Streaming "from memory to disk" (no read)
23 > [ 51.285833] [1:streamer@bob]     Total : 2.000050 seconds
24 > [ 51.285833] [1:streamer@bob] [Bob -> Bob] Disk to disk (no transfer)
25 > [ 59.285833] [1:streamer@bob]     Total : 8.000000 seconds