Hi Cano,
No I wasn't able to run more than 256 directories...

Cheers,
Tushar

On May 23, 2017, at 7:03 AM, Javier Cano Cano 
<javier.cano...@gmail.com<mailto:javier.cano...@gmail.com>> wrote:

Hi Tushar,

Sorry for bring back a post from a month ago but, I'm facing this problem as 
well. Did you solve this problem? If yes, can you point me on how to?

Thanks for you time.
Best.
Cano.

2017-04-10 18:12 GMT+02:00 Krishna, Tushar 
<tus...@ece.gatech.edu<mailto:tus...@ece.gatech.edu>>:
Thanks!

To run more than 64 controllers, I had to change NUM_BITS_PER_SET to 256 in 
ruby/common/TypeDefines.hh


On Apr 10, 2017, at 10:25 AM, Jason Lowe-Power 
<ja...@lowepower.com<mailto:ja...@lowepower.com>> wrote:

Hi Tushar,

I'm shocked that it works beyond 64 nodes! I thought we had some hardcoded 
64-bit bitvectors in Ruby.

However, in this case, I would suspect that the interleave bits when creating 
the AddrRanges for each directories are wrong. The constructor for AddrRange 
assumes a uint8_t, which is probably why you see an error at >256. The code in 
the Ruby config scripts for interleaving ranges between directories has been 
suspect for a while. I'd start by looking at that code and making sure that its 
using the log base 2 of the number of directories (or something like that).

Jason

On Sun, Apr 9, 2017 at 8:12 PM Krishna, Tushar 
<tus...@ece.gatech.edu<mailto:tus...@ece.gatech.edu>> wrote:
Hi all,
Is it possible to create a gem5 ruby memory system with more than 256 
directories?
I start getting address range errors:

NotImplementedError: Wrong number or type of arguments for overloaded function 
'new_AddrRange'.
  Possible C/C++ prototypes are:
    AddrRange::AddrRange()
    AddrRange::AddrRange(Addr,Addr,uint8_t,uint8_t,uint8_t,uint8_t)
    AddrRange::AddrRange(Addr,Addr)
    AddrRange::AddrRange(std::vector< AddrRange > const &)

Any pointers on why and from where this limit is getting set will be useful.

I’ll provide some context - Garnet in a standalone mode uses the directories as 
“destination” nodes. I am trying to create networks with more than 256 nodes.

Thanks,
Tushar
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


_______________________________________________
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to