From ea9d4c3a97b1570a3b30d2fd538514b53ac54944 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Tue, 8 Feb 2011 15:53:33 -0800 Subject: memtest: due to contention increase, increased deadlock threshold --- configs/example/ruby_mem_test.py | 6 ++++++ tests/configs/memtest-ruby.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/configs/example/ruby_mem_test.py b/configs/example/ruby_mem_test.py index e32e0c114..f58ebc1de 100644 --- a/configs/example/ruby_mem_test.py +++ b/configs/example/ruby_mem_test.py @@ -135,6 +135,12 @@ for (i, cpu) in enumerate(cpus): cpu.test = system.ruby.cpu_ruby_ports[i].port cpu.functional = system.funcmem.port + # + # Since the memtester is incredibly bursty, increase the deadlock + # threshold to 5 million cycles + # + system.ruby.cpu_ruby_ports[i].deadlock_threshold = 5000000 + for (i, dma) in enumerate(dmas): # # Tie the dma memtester ports to the correct functional port diff --git a/tests/configs/memtest-ruby.py b/tests/configs/memtest-ruby.py index f1bb733dc..eb7a280f4 100644 --- a/tests/configs/memtest-ruby.py +++ b/tests/configs/memtest-ruby.py @@ -96,6 +96,12 @@ for (i, ruby_port) in enumerate(system.ruby.cpu_ruby_ports): # cpus[i].test = ruby_port.port cpus[i].functional = system.funcmem.port + + # + # Since the memtester is incredibly bursty, increase the deadlock + # threshold to 1 million cycles + # + ruby_port.deadlock_threshold = 1000000 # ----------------------- # run simulation -- cgit v1.2.3