File: dht-kademlia.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (33 lines) | stat: -rw-r--r-- 2,386 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
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env tesh

p Testing the Kademlia implementation

! output sort 19
$ ${bindir:=.}/c-dht-kademlia ${platfdir}/cluster_backbone.xml ${srcdir:=.}/dht-kademlia_d.xml "--log=root.fmt:[%10.6r]%e(%02i:%a@%h)%e%m%n"
> [  0.000000] ( 1:node@node-0.simgrid.org) Hi, I'm going to create the network with id 0
> [  0.000000] ( 2:node@node-1.simgrid.org) Hi, I'm going to join the network with id 1
> [  0.000000] ( 3:node@node-2.simgrid.org) Hi, I'm going to join the network with id 3
> [  0.000000] ( 4:node@node-3.simgrid.org) Hi, I'm going to join the network with id 7
> [  0.000000] ( 5:node@node-4.simgrid.org) Hi, I'm going to join the network with id 15
> [  0.000000] ( 6:node@node-5.simgrid.org) Hi, I'm going to join the network with id 31
> [  0.000000] ( 7:node@node-6.simgrid.org) Hi, I'm going to join the network with id 63
> [  0.000000] ( 8:node@node-7.simgrid.org) Hi, I'm going to join the network with id 127
> [  0.000000] ( 9:node@node-8.simgrid.org) Hi, I'm going to join the network with id 255
> [  0.000000] (10:node@node-9.simgrid.org) Hi, I'm going to join the network with id 511
> [  0.000000] (11:node@node-10.simgrid.org) Hi, I'm going to join the network with id 1023
> [  0.000000] (12:node@node-11.simgrid.org) Hi, I'm going to join the network with id 2047
> [  0.000000] (13:node@node-12.simgrid.org) Hi, I'm going to join the network with id 4095
> [780.000000] ( 9:node@node-8.simgrid.org) 5/5 FIND_NODE have succeeded
> [780.000000] ( 3:node@node-2.simgrid.org) 6/6 FIND_NODE have succeeded
> [780.000000] ( 2:node@node-1.simgrid.org) 6/6 FIND_NODE have succeeded
> [780.000000] (11:node@node-10.simgrid.org) 6/6 FIND_NODE have succeeded
> [780.000000] ( 1:node@node-0.simgrid.org) 7/7 FIND_NODE have succeeded
> [780.000000] ( 5:node@node-4.simgrid.org) 5/5 FIND_NODE have succeeded
> [780.000000] ( 6:node@node-5.simgrid.org) 6/6 FIND_NODE have succeeded
> [780.000000] ( 7:node@node-6.simgrid.org) 5/5 FIND_NODE have succeeded
> [780.000000] (13:node@node-12.simgrid.org) 6/6 FIND_NODE have succeeded
> [780.000000] ( 8:node@node-7.simgrid.org) 5/5 FIND_NODE have succeeded
> [780.000000] (10:node@node-9.simgrid.org) 5/5 FIND_NODE have succeeded
> [780.000000] (12:node@node-11.simgrid.org) 6/6 FIND_NODE have succeeded
> [780.000000] ( 4:node@node-3.simgrid.org) 5/5 FIND_NODE have succeeded
> [780.000000] ( 0:maestro@) Simulated time: 780