Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
[simgrid.git] / teshsuite / s4u / io-stream / io-stream.tesh
diff --git a/teshsuite/s4u/io-stream/io-stream.tesh b/teshsuite/s4u/io-stream/io-stream.tesh
new file mode 100644 (file)
index 0000000..f2dbda3
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/env tesh
+
+$ ${bindir:=.}/io-stream  --cfg=host/model:sio_S22 "--log=root.fmt:[%10.6r]%e[%i:%a@%h]%e%m%n"
+> [  0.000000] [0:maestro@] Configuration change: Set 'host/model' to 'sio_S22'
+> [  0.000000] [0:maestro@] Switching to the S22 model to handle streaming I/Os.
+> [  0.000000] [1:streamer@bob] [Bob -> Alice] Store and Forward (1 block)
+> [  4.000000] [1:streamer@bob]     Read  : 4.000000 seconds
+> [  6.000050] [1:streamer@bob]     Send  : 2.000050 seconds
+> [  7.000050] [1:streamer@bob]     Write : 1.000000 seconds
+> [  7.000050] [1:streamer@bob]     Total : 7.000050 seconds
+> [  7.000050] [1:streamer@bob] [Bob -> Alice] Store and Forward (100 blocks)
+> [ 11.000050] [1:streamer@bob]     Total : 4.000000 seconds
+> [ 11.000050] [1:streamer@bob] [Bob -> Alice] Streaming (Read bottleneck)
+> [ 15.000100] [1:streamer@bob]     Total : 4.000050 seconds
+> [ 15.000100] [1:streamer@bob] [Bob -> Alice] Streaming (Write bottleneck)
+> [ 23.000150] [1:streamer@bob]     Total : 8.000050 seconds
+> [ 23.000150] [1:streamer@bob] Start two 10-second background traffic between Bob and Alice
+> [ 23.000150] [1:streamer@bob] [Bob -> Alice] Streaming (Transfer bottleneck)
+> [ 29.000200] [1:streamer@bob]     Total : 6.000050 seconds
+> [ 45.000200] [1:streamer@bob] [Bob -> Alice] Streaming "from disk to memory" (no write)
+> [ 49.000250] [1:streamer@bob]     Total : 4.000050 seconds
+> [ 49.000250] [1:streamer@bob] [Bob -> Alice] Streaming "from memory to disk" (no read)
+> [ 51.000300] [1:streamer@bob]     Total : 2.000050 seconds
+> [ 51.000300] [1:streamer@bob] [Bob -> Bob] Disk to disk (no transfer)
+> [ 59.000300] [1:streamer@bob]     Total : 8.000000 seconds
\ No newline at end of file