-
Notifications
You must be signed in to change notification settings - Fork 0
/
21_perfrep
executable file
·105 lines (84 loc) · 4.37 KB
/
21_perfrep
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
***Database Report at time 21 ticks ***
The following figures are for the message packets, not unique user level queries
Queries_sent_from_ResourceNode : 32
Queries_sent_from_RouterNode : 100
Queries_forwarded_by_RouterNode_orgininated_from_ResourceNode : 74
Queries_forwarded_by_RouterNode_orgininated_from_RouterNode : 431
Responses_sent_from_ResourceNode : 10
Responses_sent_from_RouterNode : 41
Num_of_good_responses : 4 # These are the response received from router nodes only, as resources/ routers are interested to identify router to whom they can attach to
Num_duplicate_message_dropped : 206
Num_looping_message_dropped : 0
Num_queries_dropped_for_TTL : 6
Num_total_message_generated (due to internal network ops - query, forwarding, response) : 688
Queries_sent_from_UserNode (query packets) : 0
Num_responses_sent_for_UserNode : 0
Num_of_good_responses_for_UserNode : 0
Num_duplicate_message_dropped_for_UserNode : 0
Num_looping_message_dropped_for_UserNode : 0
Num_queries_dropped_for_TTL_for_UserNode : 0
Num_responses_dropped_for_TTL_for_UserNode : 0
Num_total_message_generated_for_UserNode (query, forwarding, response) : 0
Num_total_queries_generated (rtr, res, user): 132 # This is total of all resource, router, user nodes
Num_total_responses_generated (rtr, res, user): 51 # This is total of all resource, router, user nodes
Analysis of Query-Response statistics across all tags for internal network operations (advertising operations only) :
Contents of num_resource_with_specific_tag
Tag : res: rtr: queries: good responses from routers
2: 0: 1: 6: 0
3: 0: 1: 6: 0
6: 1: 2: 18: 2
9: 0: 1: 2: 0
10: 1: 1: 17: 1
11: 1: 0: 15: 0
12: 0: 2: 9: 0
15: 0: 1: 2: 0
16: 0: 1: 4: 0
17: 1: 1: 9: 1
19: 0: 1: 3: 0
20: 0: 1: 4: 0
21: 0: 1: 2: 0
23: 0: 1: 1: 0
26: 0: 2: 6: 0
27: 0: 1: 3: 0
33: 0: 1: 1: 0
35: 0: 1: 1: 0
Values for recall rate calculation for network internal operation (advertising operations only)
sum_num_good_responses = 4 , sum_num_resources = 8 , sum_num_queries = 59 , RouterNode_k = 3
Recall rate per query for internal network operations = 0.0678
Analysis of Query-Response time response for network's internal operation: Contents of hops_before_response_ctr
Parameters used to generate the histogram : DatabaseHistResolution : 1, DatabaseMaxHops : 100 ,num_buckets : 8
Histogram contents -
Hops :Freq
1: 24
2: 23
3: 4
Analysis of duplicate packet's longevity (hops before they were identified as dup packets and dropped)
for network's internal operation: Contents of longevity_of_message_ctr_for_TTL
Parameters used to generate the histogram : DatabaseHistResolution : 1 , DatabaseMaxHops : 100 , num_buckets : 8
Histogram contents -
Hops :Freq
1: 48
2: 127
3: 31
Analysis of Query-Response time response for user queries: Contents of hops_before_response_ctr_for_UserNode
Parameters used to generate the histogram : DatabaseHistResolution_for_UserNode : 1 , DatabaseMaxHops_for_UserNode : 100 , num_buckets_for_UserNode : 8
Histogram contents -
Hops :Freq
Analysis of duplicate packet's longevity (hops before they were identified as dup packets and dropped)
for user queries: Contents of hops_before_response_ctr_for_UserNode
Parameters used to generate the histogram :
DatabaseHistResolution_for_UserNode : 1, DatabaseMaxHops_for_UserNode : 100, num_buckets_for_UserNode : 8
Histogram contents -
Hops :Freq
Analysis of Query-Response statistics for user queries across all tags for which a resource exists :
Contents of Num_of_good_responses_for_specific_tag_for_UserNode
Tag : res : queries: responses
Values for recall rate calculation for user queries
sum_num_good_responses = 0 , sum_num_resources = 0, sum_num_queries = 0, RouterNode_k= 3
Recall rate per query for external queries not yet available
Analysis of Query-Response statistics across all tags for user queries :
Contents of Num_of_good_responses_for_specific_tag_for_UserNode
Tag : res : queries: responses
Values for hit/success rate calculation for user queries
sum_num_good_responses = 0 , sum_num_queries = 0
Hit rate per query for external queries not yet available