ruby: check for compatibility between mem size and num dirs
authorNilay Vaish <nilay@cs.wisc.edu>
Sat, 29 Jun 2013 02:36:11 +0000 (21:36 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Sat, 29 Jun 2013 02:36:11 +0000 (21:36 -0500)
commit62a93f0bf03385c5ed298b740162b06022f2e2ee
tree43bde41c745f95c98f37ed7d64a55bb58f27b3ae
parent5a15909bac241dc795c691d49c4e2c68cab745f4
ruby: check for compatibility between mem size and num dirs
The configuration scripts provided for ruby assume that the available
physical memory is equally distributed amongst the directory controllers.
But there is no check to ensure this assumption has been adhered to. This
patch adds the required check.
configs/ruby/MESI_CMP_directory.py
configs/ruby/MI_example.py
configs/ruby/MOESI_CMP_directory.py
configs/ruby/MOESI_CMP_token.py
configs/ruby/MOESI_hammer.py
configs/ruby/Network_test.py