Title: FILE_SPECIFIED topology details
Hi!
I am studying FILE_SPECIFIED topology with MOESI_CMP_directory protocol and I would like to ask few questions.
As an example, I take NUCA_Procs-4_ProcsPerChip-4_L2Banks-4_Memories-4.txt file:
processors:4
procs_per_chip:4
L2banks:4
memories:4
bw_unit:10000
ext_node:L1Cache:0 int_node:0 link_latency:1 bw_multiplier:64 //Connect L1 cache bank 0 to network node 0
ext_node:L1Cache:1 int_node:1 link_latency:1 bw_multiplier:64
ext_node:L1Cache:2 int_node:2 link_latency:1 bw_multiplier:64
ext_node:L1Cache:3 int_node:3 link_latency:1 bw_multiplier:64
ext_node:L2Cache:0 int_node:0 link_latency:1 bw_multiplier:64 //Connect L2 cache bank 0 to network node 0
ext_node:L2Cache:1 int_node:1 link_latency:1 bw_multiplier:64
ext_node:L2Cache:2 int_node:2 link_latency:1 bw_multiplier:64
ext_node:L2Cache:3 int_node:3 link_latency:1 bw_multiplier:64
ext_node:Directory:0 int_node:0 link_latency:1 bw_multiplier:10 //Connect memory bank 0 to network node 0
ext_node:Directory:1 int_node:1 link_latency:1 bw_multiplier:10
ext_node:Directory:2 int_node:2 link_latency:1 bw_multiplier:10
ext_node:Directory:3 int_node:3 link_latency:1 bw_multiplier:10
int_node:0 int_node:1 link_latency:1 bw_multiplier:16 link_weight:1 //Connect network nodes 0 and 1
int_node:0 int_node:2 link_latency:1 bw_multiplier:16 link_weight:2
int_node:2 int_node:3 link_latency:1 bw_multiplier:16 link_weight:1
int_node:1 int_node:3 link_latency:1 bw_multiplier:16 link_weight:2
1. As far as I understand, this file specifies that, say, int_node 0 and int_node 1 are interconnected assuming bidirectional link of latency=1 and weight=1. How can I substitute one bidirectional link for two uni-directional ones and set different latency and (possibly) weight values for them? Would it be correct simply to set interconnection as follows:
int_node:0 int_node:1 link_latency:1 bw_multiplier:16 link_weight:1
int_node:1 int_node:0 link_latency:2 bw_multiplier:16 link_weight:3
2. When g_adaptive_routing = true, which parameter among the two: link_latency and link_weight, has bigger priority for routing decision?
Kind regards,
Arseniy.
|