X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d3a0eace95a0fe3c152dc0376adde401d609a3ed..093776b9da6272771c04f848d9bd5ee28f5e06e3:/examples/s4u/io-file-remote/s4u-io-file-remote.tesh diff --git a/examples/s4u/io-file-remote/s4u-io-file-remote.tesh b/examples/s4u/io-file-remote/s4u-io-file-remote.tesh index 803a1e011b..180ba09971 100644 --- a/examples/s4u/io-file-remote/s4u-io-file-remote.tesh +++ b/examples/s4u/io-file-remote/s4u-io-file-remote.tesh @@ -1,64 +1,43 @@ -#! ./tesh +#!/usr/bin/env tesh -$ ${bindir:=.}/s4u-io-file-remote$EXEEXT ${platfdir}/storage/remote_io.xml s4u-io-file-remote_d.xml "--log=root.fmt:[%10.6r]%e(%i@%5h)%e%m%n" -> [ 0.000000] (0@ ) Init: 12/476824 MiB used/free on 'Disk1' -> [ 0.000000] (0@ ) Init: 2280/474556 MiB used/free on 'Disk2' -> [ 0.000000] (1@alice) Opened file 'c:\Windows\setupact.log' +$ ${bindir:=.}/s4u-io-file-remote ${platfdir}/hosts_with_disks.xml s4u-io-file-remote_d.xml "--log=root.fmt:[%10.6r]%e(%i@%5h)%e%m%n" +> [ 0.000000] (0@ ) Init: alice: 12/511987 MiB used/free on 'Disk1@alice' +> [ 0.000000] (0@ ) Init: bob: 35/511964 MiB used/free on 'Disk1@bob' +> [ 0.000000] (0@ ) Init: bob: 0/512000 MiB used/free on 'Disk2@bob' +> [ 0.000000] (0@ ) Init: carl: 35/511964 MiB used/free on 'Disk1@bob' +> [ 0.000000] (1@alice) Opened file '/include/surf/simgrid_dtd.h' > [ 0.000000] (1@alice) File Descriptor information: -> Full path: 'c:\Windows\setupact.log' -> Size: 101663 -> Mount point: 'c:' -> Storage Id: 'Disk2' -> Storage Type: 'SATA-II_HDD' +> Full path: '/include/surf/simgrid_dtd.h' +> Size: 23583 +> Mount point: '/' +> Disk Id: 'Disk1' +> Host Id: 'alice' > File Descriptor Id: 0 -> [ 0.000000] (1@alice) Try to read 101663 from 'c:\Windows\setupact.log' -> [ 0.000000] (2@ bob) Opened file '/scratch/lib/libsimgrid.so.3.6.2' +> [ 0.000000] (1@alice) Try to write 23 MiB to '/include/surf/simgrid_dtd.h' +> [ 0.000000] (2@ bob) Opened file '/scratch/doc/simgrid/examples/platforms/g5k.xml' > [ 0.000000] (2@ bob) File Descriptor information: -> Full path: '/scratch/lib/libsimgrid.so.3.6.2' -> Size: 12710497 +> Full path: '/scratch/doc/simgrid/examples/platforms/g5k.xml' +> Size: 17028 > Mount point: '/scratch' -> Storage Id: 'Disk1' -> Storage Type: 'SATA-II_HDD' +> Disk Id: 'Disk1' +> Host Id: 'bob' > File Descriptor Id: 0 -> [ 0.000000] (2@ bob) Try to read 12710497 from '/scratch/lib/libsimgrid.so.3.6.2' -> [ 0.000000] (3@ carl) Opened file '/scratch/lib/libsimgrid.so.3.6.2' +> [ 0.000000] (2@ bob) Try to write 16 MiB to '/scratch/doc/simgrid/examples/platforms/g5k.xml' +> [ 0.000000] (3@ carl) Opened file '/scratch/include/surf/simgrid_dtd.h' > [ 0.000000] (3@ carl) File Descriptor information: -> Full path: '/scratch/lib/libsimgrid.so.3.6.2' -> Size: 12710497 +> Full path: '/scratch/include/surf/simgrid_dtd.h' +> Size: 23583 > Mount point: '/scratch' -> Storage Id: 'Disk1' -> Storage Type: 'SATA-II_HDD' +> Disk Id: 'Disk1' +> Host Id: 'bob' > File Descriptor Id: 0 -> [ 0.000000] (3@ carl) Try to read 12710497 from '/scratch/lib/libsimgrid.so.3.6.2' -> [ 0.000000] (4@ dave) Opened file 'c:\Windows\bootstat.dat' -> [ 0.000000] (4@ dave) File Descriptor information: -> Full path: 'c:\Windows\bootstat.dat' -> Size: 67584 -> Mount point: 'c:' -> Storage Id: 'Disk2' -> Storage Type: 'SATA-II_HDD' -> File Descriptor Id: 0 -> [ 0.000000] (4@ dave) Try to read 67584 from 'c:\Windows\bootstat.dat' -> [ 0.001469] (4@ dave) Have read 67584 from 'c:\Windows\bootstat.dat'. Offset is now at: 67584 -> [ 0.001469] (4@ dave) Seek back to the beginning of the stream... -> [ 0.001469] (4@ dave) Offset is now at: 0 -> [ 0.001469] (4@ dave) Opened file 'c:\Windows\Professional.xml' -> [ 0.001469] (4@ dave) Try to write 31 MiB to 'c:\Windows\Professional.xml' -> [ 0.003741] (1@alice) Have read 101663 from 'c:\Windows\setupact.log'. Offset is now at: 101663 -> [ 0.003741] (1@alice) Seek back to the beginning of the stream... -> [ 0.003741] (1@alice) Offset is now at: 0 -> [ 0.276315] (3@ carl) Have read 12710497 from '/scratch/lib/libsimgrid.so.3.6.2'. Offset is now at: 12710497 -> [ 0.276315] (3@ carl) Seek back to the beginning of the stream... -> [ 0.276315] (3@ carl) Offset is now at: 0 -> [ 0.387036] (2@ bob) Have read 12710497 from '/scratch/lib/libsimgrid.so.3.6.2'. Offset is now at: 12710497 -> [ 0.387036] (2@ bob) Seek back to the beginning of the stream... -> [ 0.387036] (2@ bob) Offset is now at: 0 -> [ 0.387036] (2@ bob) Opened file '/scratch/doc/simgrid/examples/platforms/g5k.xml' -> [ 0.387036] (2@ bob) Try to write 16 MiB to '/scratch/doc/simgrid/examples/platforms/g5k.xml' -> [ 0.528211] (4@ dave) Have written 32646144 bytes to 'c:\Windows\Professional.xml'. -> [ 0.528211] (4@ dave) Move 'c:\Windows\Professional.xml' (of size 32646144) from 'dave' to 'carl' -> [ 0.819921] (2@ bob) Have written 17436672 bytes to '/scratch/doc/simgrid/examples/platforms/g5k.xml'. -> [ 0.819921] (2@ bob) Copy '/scratch/doc/simgrid/examples/platforms/g5k.xml' (of size 17436672) from 'bob' to 'alice' -> [ 1.843969] (0@ ) End: 60/476776 MiB used/free on 'Disk1' -> [ 1.843969] (0@ ) End: 2297/474539 MiB used/free on 'Disk2' -> [ 1.843969] (0@ ) Simulation time 1.84397 +> [ 0.000000] (3@ carl) Try to write 23 MiB to '/scratch/include/surf/simgrid_dtd.h' +> [ 0.301862] (1@alice) Have written 23 MiB to '/include/surf/simgrid_dtd.h'. +> [ 0.301862] (1@alice) Move '/include/surf/simgrid_dtd.h' (of size 24148992) from 'alice' to 'bob' +> [ 0.660757] (2@ bob) Have written 16 MiB to '/scratch/doc/simgrid/examples/platforms/g5k.xml'. +> [ 0.660757] (2@ bob) Copy '/scratch/doc/simgrid/examples/platforms/g5k.xml' (of size 17436672) from 'bob' to 'alice' +> [ 1.234522] (3@ carl) Have written 23 MiB to '/scratch/include/surf/simgrid_dtd.h'. +> [ 1.643366] (0@ ) End: 29/511970 MiB used/free on 'Disk1@alice' +> [ 1.643366] (0@ ) End: 97/511902 MiB used/free on 'Disk1@bob' +> [ 1.643366] (0@ ) End: 0/512000 MiB used/free on 'Disk2@bob' +> [ 1.643366] (0@ ) Simulation time 1.64337