Hi all, I have run gem5 with RUBY and got the statistics in ruby.stats. Some of the items made me feel very confused. I used a 4*4 mesh topology with MOESI_hammer protocol. Part of the contents in ruby.stats is listed as follows: As far as I believe, a 'switch' may stand for an on-chip router. But why does some switch (like switch_0) have 6 links and some switch (like swith_1 or _2) have 5 or 4 links? All routers should have the same number of input or output links. Moreover, what does the data in "550 4400 [ 0 0 0 550 0 0 0 0 0 0 ] " mean?
Network Stats ------------- total_msg_count_Request_Control: 580808 4646464 total_msg_count_Response_Data: 553915 39881880 total_msg_count_Response_Control: 8717163 69737304 total_msg_count_Writeback_Data: 32 2304 total_msg_count_Writeback_Control: 76 608 total_msg_count_Broadcast_Control: 4889245 39113960 total_msg_count_Unblock_Control: 575160 4601280 total_msgs: 15316399 total_bytes: 157983800 switch_0_inlinks: 6 switch_0_outlinks: 6 links_utilized_percent_switch_0: 0.064192 links_utilized_percent_switch_0_link_0: 0.185747 bw: 16000 base_latency: 1 links_utilized_percent_switch_0_link_1: 0.00499572 bw: 16000 base_latency: 1 links_utilized_percent_switch_0_link_2: 0 bw: 16000 base_latency: 1 links_utilized_percent_switch_0_link_3: 0 bw: 16000 base_latency: 1 links_utilized_percent_switch_0_link_4: 0.117873 bw: 16000 base_latency: 1 links_utilized_percent_switch_0_link_5: 0.0765365 bw: 16000 base_latency: 1 outgoing_messages_switch_0_link_0_Request_Control: 550 4400 [ 0 0 0 550 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_0_Response_Data: 27954 2012688 [ 0 0 0 0 27954 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_0_Response_Control: 412148 3297184 [ 0 0 0 0 412148 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_0_Broadcast_Control: 136377 1091016 [ 0 0 0 136377 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_1_Request_Control: 10740 85920 [ 0 0 10740 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_1_Writeback_Data: 5 360 [ 0 0 0 0 0 5 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_1_Writeback_Control: 9 72 [ 0 0 7 0 0 2 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_1_Unblock_Control: 10740 85920 [ 0 0 0 0 0 10740 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_4_Request_Control: 28477 227816 [ 0 0 28456 21 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_4_Response_Data: 26908 1937376 [ 0 0 0 0 26908 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_4_Response_Control: 168652 1349216 [ 0 0 0 0 168652 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_4_Writeback_Data: 5 360 [ 0 0 0 0 0 5 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_4_Writeback_Control: 5 40 [ 0 0 5 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_4_Broadcast_Control: 40283 322264 [ 0 0 0 40283 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_4_Unblock_Control: 28456 227648 [ 0 0 0 0 0 28456 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_5_Request_Control: 10766 86128 [ 0 0 10708 58 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_5_Response_Data: 13343 960696 [ 0 0 0 0 13343 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_5_Response_Control: 146435 1171480 [ 0 0 0 0 146435 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_5_Writeback_Control: 12 96 [ 0 0 0 12 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_5_Broadcast_Control: 41902 335216 [ 0 0 0 41902 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_0_link_5_Unblock_Control: 10708 85664 [ 0 0 0 0 0 10708 0 0 0 0 ] base_latency: 1 switch_1_inlinks: 5 switch_1_outlinks: 5 links_utilized_percent_switch_1: 0.0971676 links_utilized_percent_switch_1_link_0: 0.124077 bw: 16000 base_latency: 1 links_utilized_percent_switch_1_link_1: 0.00490756 bw: 16000 base_latency: 1 links_utilized_percent_switch_1_link_2: 0.188434 bw: 16000 base_latency: 1 links_utilized_percent_switch_1_link_3: 0.117645 bw: 16000 base_latency: 1 links_utilized_percent_switch_1_link_4: 0.0507752 bw: 16000 base_latency: 1 outgoing_messages_switch_1_link_0_Request_Control: 23 184 [ 0 0 0 23 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_0_Response_Data: 16521 1189512 [ 0 0 0 0 16521 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_0_Response_Control: 238155 1905240 [ 0 0 0 0 238155 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_0_Broadcast_Control: 147964 1183712 [ 0 0 0 147964 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_1_Request_Control: 10572 84576 [ 0 0 10572 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_1_Writeback_Data: 1 72 [ 0 0 0 0 0 1 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_1_Writeback_Control: 1 8 [ 0 0 1 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_1_Unblock_Control: 10572 84576 [ 0 0 0 0 0 10572 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_2_Request_Control: 12342 98736 [ 0 0 11877 465 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_2_Response_Data: 26129 1881288 [ 0 0 0 0 26129 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_2_Response_Control: 444548 3556384 [ 0 0 0 0 444548 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_2_Writeback_Control: 5 40 [ 0 0 0 5 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_2_Broadcast_Control: 108310 866480 [ 0 0 0 108310 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_2_Unblock_Control: 11877 95016 [ 0 0 0 0 0 11877 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_3_Request_Control: 30382 243056 [ 0 0 30320 62 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_3_Response_Data: 19519 1405368 [ 0 0 0 0 19519 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_3_Response_Control: 190599 1524792 [ 0 0 0 0 190599 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_3_Writeback_Data: 4 288 [ 0 0 0 0 0 4 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_3_Writeback_Control: 4 32 [ 0 0 4 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_3_Broadcast_Control: 80095 640760 [ 0 0 0 80095 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_3_Unblock_Control: 30320 242560 [ 0 0 0 0 0 30320 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_4_Request_Control: 10665 85320 [ 0 0 10624 41 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_4_Response_Data: 8334 600048 [ 0 0 0 0 8334 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_4_Response_Control: 80670 645360 [ 0 0 0 0 80670 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_4_Broadcast_Control: 41902 335216 [ 0 0 0 41902 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_1_link_4_Unblock_Control: 10623 84984 [ 0 0 0 0 0 10623 0 0 0 0 ] base_latency: 1 switch_2_inlinks: 5 switch_2_outlinks: 5 links_utilized_percent_switch_2: 0.0845053 links_utilized_percent_switch_2_link_0: 0.0946481 bw: 16000 base_latency: 1 links_utilized_percent_switch_2_link_1: 0.00459344 bw: 16000 base_latency: 1 links_utilized_percent_switch_2_link_2: 0.184613 bw: 16000 base_latency: 1 links_utilized_percent_switch_2_link_3: 0.0675013 bw: 16000 base_latency: 1 links_utilized_percent_switch_2_link_4: 0.0711705 bw: 16000 base_latency: 1 outgoing_messages_switch_2_link_0_Request_Control: 44 352 [ 0 0 0 44 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_0_Response_Data: 10933 787176 [ 0 0 0 0 10933 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_0_Response_Control: 155935 1247480 [ 0 0 0 0 155935 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_0_Broadcast_Control: 153604 1228832 [ 0 0 0 153604 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_1_Request_Control: 9895 79160 [ 0 0 9895 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_1_Writeback_Data: 1 72 [ 0 0 0 0 0 1 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_1_Writeback_Control: 1 8 [ 0 0 1 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_1_Unblock_Control: 9895 79160 [ 0 0 0 0 0 9895 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_2_Request_Control: 13084 104672 [ 0 0 12723 361 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_2_Response_Data: 24011 1728792 [ 0 0 0 0 24011 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_2_Response_Control: 469603 3756824 [ 0 0 0 0 469603 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_2_Writeback_Control: 4 32 [ 0 0 0 4 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_2_Broadcast_Control: 84261 674088 [ 0 0 0 84261 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_2_Unblock_Control: 12723 101784 [ 0 0 0 0 0 12723 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_3_Request_Control: 20795 166360 [ 0 0 20763 32 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_3_Response_Data: 7221 519912 [ 0 0 0 0 7221 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_3_Response_Control: 63275 506200 [ 0 0 0 0 63275 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_3_Writeback_Data: 3 216 [ 0 0 0 0 0 3 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_3_Writeback_Control: 3 24 [ 0 0 3 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_3_Broadcast_Control: 121112 968896 [ 0 0 0 121112 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_3_Unblock_Control: 20763 166104 [ 0 0 0 0 0 20763 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_4_Request_Control: 11245 89960 [ 0 0 11174 71 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_4_Response_Data: 11740 845280 [ 0 0 0 0 11740 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_4_Response_Control: 136799 1094392 [ 0 0 0 0 136799 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_4_Broadcast_Control: 41902 335216 [ 0 0 0 41902 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_2_link_4_Unblock_Control: 11174 89392 [ 0 0 0 0 0 11174 0 0 0 0 ] base_latency: 1 switch_3_inlinks: 4 switch_3_outlinks: 4 links_utilized_percent_switch_3: 0.0524845 links_utilized_percent_switch_3_link_0: 0.0538038 bw: 16000 base_latency: 1 links_utilized_percent_switch_3_link_1: 0.00529591 bw: 16000 base_latency: 1 links_utilized_percent_switch_3_link_2: 0.116174 bw: 16000 base_latency: 1 links_utilized_percent_switch_3_link_3: 0.034664 bw: 16000 base_latency: 1 outgoing_messages_switch_3_link_0_Request_Control: 52 416 [ 0 0 0 52 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_0_Response_Data: 3173 228456 [ 0 0 0 0 3173 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_0_Response_Control: 41912 335296 [ 0 0 0 0 41912 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_0_Broadcast_Control: 161400 1291200 [ 0 0 0 161400 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_1_Request_Control: 11399 91192 [ 0 0 11399 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_1_Writeback_Data: 3 216 [ 0 0 0 0 0 3 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_1_Writeback_Control: 3 24 [ 0 0 3 0 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_1_Unblock_Control: 11399 91192 [ 0 0 0 0 0 11399 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_2_Request_Control: 4633 37064 [ 0 0 4353 280 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_2_Response_Data: 15216 1095552 [ 0 0 0 0 15216 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_2_Response_Control: 313123 2504984 [ 0 0 0 0 313123 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_2_Writeback_Control: 3 24 [ 0 0 0 3 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_2_Broadcast_Control: 41713 333704 [ 0 0 0 41713 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_2_Unblock_Control: 4353 34824 [ 0 0 0 0 0 4353 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_3_Request_Control: 11260 90080 [ 0 0 11206 54 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_3_Response_Data: 4900 352800 [ 0 0 0 0 4900 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_3_Response_Control: 40951 327608 [ 0 0 0 0 40951 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_3_Broadcast_Control: 41902 335216 [ 0 0 0 41902 0 0 0 0 0 0 ] base_latency: 1 outgoing_messages_switch_3_link_3_Unblock_Control: 11206 89648 [ 0 0 0 0 0 11206 0 0 0 0 ] base_latency: 1 ----------------------------------------------------------------------------------------- Lu Hang Phd Candidate State Key Laboratory of Computer System and Architecture Institute of Computing Technology,Chinese Academy of Sciences Beijing 100190, China
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
