next up previous contents
Next: The Client Up: The Server Previous: UserDatabase   Contents


ServerMeasure

The first two sample runs shown below are for the three server case, where the RTT between athena and gloves is 14. The correct tree is generated in both cases:
$ ./MeasureTest athena gloves.thor
athena: 10
gloves.thor: 12
Our minimum spanning tree connections
athena
gloves.thor

$ ./MeasureTest athena gloves.thor
athena: 5
gloves.thor: 15
Our minimum spanning tree connections
athena

The following two tests introduce a fourth machine, potato which has an RTT of 12 to athena and an RTT of 20 to gloves.

$ ./MeasureTest athena gloves.thor potato.newn
athena: 7
gloves.thor: 30
potato.newn: 30
Edge: athena->131.111.229.175
Edge: athena->potato.newn
Edge: athena->gloves.thor

$ ./MeasureTest athena gloves.thor potato.newn
athena: 6
gloves.thor: 10
potato.newn: 12
Edge: athena->131.111.229.175
Edge: 131.111.229.175->gloves.thor
Edge: athena->potato.newn

DeleteServer: potato.newn
Row: 131.111.229.175
athena:8
counter:1
gloves.thor:23
Row: athena
131.111.229.175:8
counter:2
gloves.thor:14
Row: gloves.thor
131.111.229.175:23
athena:14
counter:2



Nathan Dimmock 2001-06-20