Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allows for mount of remote disks in file system plugin
[simgrid.git] / examples / s4u / io-file-remote / s4u-io-file-remote.tesh
1 #!/usr/bin/env tesh
2
3 $ ${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"
4 > [  0.000000] (0@     ) Init: alice: 12/511987 MiB used/free on 'Disk1@alice'
5 > [  0.000000] (0@     ) Init: bob: 35/511964 MiB used/free on 'Disk1@bob'
6 > [  0.000000] (0@     ) Init: bob: 0/512000 MiB used/free on 'Disk2@bob'
7 > [  0.000000] (0@     ) Init: carl: 35/511964 MiB used/free on 'Disk1@bob'
8 > [  0.000000] (1@alice) Opened file '/lib/libsimgrid.so.3.6.2'
9 > [  0.000000] (1@alice) File Descriptor information:
10 >               Full path: '/lib/libsimgrid.so.3.6.2'
11 >               Size: 12710497
12 >               Mount point: '/'
13 >               Disk Id: 'Disk1'
14 >               Host Id: 'alice'
15 >               File Descriptor Id: 0
16 > [  0.000000] (1@alice) Try to write 12412 MiB to '/lib/libsimgrid.so.3.6.2'
17 > [  0.000000] (2@  bob) Opened file '/scratch/doc/simgrid/examples/platforms/g5k.xml'
18 > [  0.000000] (2@  bob) File Descriptor information:
19 >               Full path: '/scratch/doc/simgrid/examples/platforms/g5k.xml'
20 >               Size: 17028
21 >               Mount point: '/scratch'
22 >               Disk Id: 'Disk1'
23 >               Host Id: 'bob'
24 >               File Descriptor Id: 0
25 > [  0.000000] (2@  bob) Try to write 16 MiB to '/scratch/doc/simgrid/examples/platforms/g5k.xml'
26 > [  0.000000] (3@ carl) Opened file '/scratch/lib/libsimgrid.so.3.6.2'
27 > [  0.000000] (3@ carl) File Descriptor information:
28 >               Full path: '/scratch/lib/libsimgrid.so.3.6.2'
29 >               Size: 12710497
30 >               Mount point: '/scratch'
31 >               Disk Id: 'Disk1'
32 >               Host Id: 'bob'
33 >               File Descriptor Id: 0
34 > [  0.000000] (3@ carl) Try to write 12412 MiB to '/scratch/lib/libsimgrid.so.3.6.2'
35 > [  0.435917] (2@  bob) Have written 16 MiB to '/scratch/doc/simgrid/examples/platforms/g5k.xml'.
36 > [  0.435917] (2@  bob) Copy '/scratch/doc/simgrid/examples/platforms/g5k.xml' (of size 17436672) from 'bob' to 'alice'
37 > [162.912320] (1@alice) Have written 12412 MiB to '/lib/libsimgrid.so.3.6.2'.
38 > [162.912320] (1@alice) Move '/lib/libsimgrid.so.3.6.2' (of size 13015548928) from 'alice' to 'bob'
39 > [438.102645] (3@ carl) Have written 12412 MiB to '/scratch/lib/libsimgrid.so.3.6.2'.
40 > [778.806631] (0@     ) End: 17/511982 MiB used/free on 'Disk1@alice'
41 > [778.806631] (0@     ) End: 24852/487147 MiB used/free on 'Disk1@bob'
42 > [778.806631] (0@     ) End: 0/512000 MiB used/free on 'Disk2@bob'
43 > [778.806631] (0@     ) Simulation time 778.807