Hmm... the prefetcher should never cause the program to get the wrong answer. Are you using the latest code from the gem5 repository?
As far as the number of prefetches, they are only issued when there are no demand misses outstanding. If your program is saturating the memory bus with misses then there may just not be an opportunity to generate many prefetches. Of course, there could also be a bug. You could check the code at the end of Cache<TagStore>::getNextMSHR() to see if the prefetcher is being called to provide prefetch addresses or not, and check Cache<TagStore>::nextMSHRReadyTime() to see if the prefetcher is appropriately signaling that it has prefetches to issue. Steve On Mon, Feb 20, 2012 at 9:37 AM, Mitchelle Rasquinha < [email protected]> wrote: > > > I am trying to use the stride prefetcher and see a similar problem with the > dafault configuration. On increasing the prefetch degree > 2 the result of > the > benchmark is incorrect. What are the values for these knobs? > > prefetch_on_access = Param.Bool(True, > "notify the hardware prefetcher on every access (not just misses)") > prefetcher_size = Param.Int(100, > "Number of entries in the hardware prefetch queue") > prefetch_past_page = Param.Bool(False, > "Allow prefetches to cross virtual page boundaries") > prefetch_serial_squash = Param.Bool(False, > "Squash prefetches with a later time on a subsequent miss") > prefetch_degree = Param.Int(1, > "Degree of the prefetch depth") > prefetch_latency = Param.Latency(5 * Self.latency, > "Latency of the prefetcher") > prefetch_policy = Param.Prefetch('stride', > "Type of prefetcher to use") > prefetch_use_cpu_id = Param.Bool(True, > "Use the CPU ID to separate calculations of prefetches") > prefetch_data_accesses_only = Param.Bool(True, > "Only prefetch on data not on instruction accesses") > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
