[gem5-users] Re: [gem5-dev] Cache Compressor Architecture

2021-05-12 Thread Daniel Carvalho via gem5-users
(Moving this discussion to the users mailing list, as it is better suited there) Hello, Patrick, DictionaryCompressor::CompData contains the patterns (in general, any compressor's "CompData" structure contains the compressed data, not the original data - there are some exceptions). The patte

[gem5-users] Re: Prefetch Accuracy

2020-12-03 Thread Daniel Carvalho via gem5-users
Hello, Deepika, Prefetches are currently only considered useful when they are not late. To add late prefetches to the useful ones you will have to modify serviceMSHRTargets(), so that in the case MSHR::Target::FromCPU the prefetcher is notified when the MSHR of a blk->wasPrefetched() is service

[gem5-users] Re: Adding new replacement policy error

2020-11-27 Thread Daniel Carvalho via gem5-users
Hello, John, A few questions:- Did you add the respective SHIPRP class in ReplacementPolicies.py?- Are you making sure the namespace is properly applied in the Python declaration (Something like cxx_class='ReplacementPolicy::SHiP')? - When you downloaded the patches for DRRIP, did you cherry-pic

[gem5-users] Re: DRRIP implementation

2020-11-22 Thread Daniel Carvalho via gem5-users
Hello, John, I have sent you the link to the last patch in the series. On the right there is a list (called Relation Chain) containing the links to the 4 patches. I will copy and paste the links here, just in case: 1st: https://gem5-review.googlesource.com/c/public/gem5/+/37895/12nd: https://ge

[gem5-users] Re: DRRIP implementation

2020-11-21 Thread Daniel Carvalho via gem5-users
Hello, John, I have uploaded for review some patches to make DRRIP work: https://gem5-review.googlesource.com/c/public/gem5/+/37898I believe the code is well documented enough to help you understand how it works. To use DRRIPRP you must set the constituency size and the number of entries per

[gem5-users] Re: Implementing Cache Replacement Policies

2020-10-28 Thread Daniel Carvalho via gem5-users
Hello, A few years ago I have implemented a few PC-reliant RPs for fun, but did not merge them upstream because I did not have time to fully test them. One day they shall see the light of day, though :) I don't remember what is required for the PC change in particular, but here are the changes

[gem5-users] Re: Handling a cache miss in gem5

2020-09-25 Thread Daniel Carvalho via gem5-users
Hello Aritra, It seems that the tag lookup latency is indeed disregarded on misses (except for SW prefetches). The cache behaves as if a miss is always assumed to happen and "pre-prepared" in parallel with the tag lookup. I am not sure if this was a design decision, or an implementation consequ

[gem5-users] Namespace creation on develop branch

2020-08-27 Thread Daniel Carvalho via gem5-users
Hello, This message only concerns those who use the *develop* branch. We have recently merged another patch creating a namespace (https://gem5-review.googlesource.com/c/public/gem5/+/33294). Due to a small issue with the SCons configuration, it does not trigger automatic recompilation of the

[gem5-users] Re: question about cache organization

2020-07-08 Thread Daniel Carvalho via gem5-users
Hello Sourjya, First of all, welcome! gem5 is very versatile, and there is an infinitude of things you can do with it. The first thing you will need to decide is whether you are going to use the Classic Cache (https://www.gem5.org/documentation/general_docs/memory_system/classic_caches/) or