summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2011-04-28 17:18:14 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2011-04-28 17:18:14 -0700
commit651cfbab0321fed267fb78ec6706057a0ca654e0 (patch)
tree5260f38a1acd36e5d2e4297fbd4b198aeea0be69
parent887e2df5a36d4bc1881fcb7095c14ee8eb5a69b7 (diff)
downloadgem5-651cfbab0321fed267fb78ec6706057a0ca654e0.tar.xz
network: adjusted default endpoint bandwidth
The simple network's endpoint bandwidth value is used to adjust the overall bandwidth of the network. Specifically, the ration between endpoint bandwidth and the MESSAGE_SIZE_MULTIPLIER determines the increase. By setting the value to 1000, that means the bandwdith factor specified in the links translates to the link bandwidth in bytes. Previously, it was increasing that value by 10. This patch will likely require a reset of the ruby regression tester stats.
-rw-r--r--src/mem/ruby/network/simple/SimpleNetwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/network/simple/SimpleNetwork.py b/src/mem/ruby/network/simple/SimpleNetwork.py
index e9a3a1987..6394ee01a 100644
--- a/src/mem/ruby/network/simple/SimpleNetwork.py
+++ b/src/mem/ruby/network/simple/SimpleNetwork.py
@@ -34,5 +34,5 @@ class SimpleNetwork(RubyNetwork):
type = 'SimpleNetwork'
buffer_size = Param.Int(0,
"default buffer size; 0 indicates infinite buffering");
- endpoint_bandwidth = Param.Int(10000, "");
+ endpoint_bandwidth = Param.Int(1000, "bandwidth adjustment factor");
adaptive_routing = Param.Bool(False, "enable adaptive routing");