o that was my fault... One suggestion. Currently tab.size() shows the size of prefetcher which is hardcoded as 256. There is a parameter in BaseCache.py named "prefetcher_size". I think it is better to bind them.
stride.hh int degree, pfSize; ... degree(p->prefetch_degree), pfSize(p->prefetcher_size) stride.cc if (tab.size() >= pfSize) On 2/25/12, Nilay Vaish <[email protected]> wrote: > On Sat, 25 Feb 2012, Mahmood Naderan wrote: > >> Hi, >> In stride.hh it is stated that >> >> static const int Max_Contexts = 64; >> std::list<StrideEntry*> table[Max_Contexts]; >> >> http://repo.gem5.org/gem5/file/241ee47b0dc6/src/mem/cache/prefetch/stride.hh#l48 >> >> later in stride.cc, it is stated >> >> if (tab.size() >= 256) { //set default table size is 256 >> >> http://repo.gem5.org/gem5/file/241ee47b0dc6/src/mem/cache/prefetch/stride.cc#l106 >> >> Seems that the limit was hardcoded but later changed in another function >> >> Do you agree with that? >> -- >> // Naderan *Mahmood; >> > > Read the code in stride.cc again. > > -- > Nilay > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
