Hello, To my understanding, number_cache_levels reflects what you said in number 1. In number 2, I personally only tried number_of_L2s=1.
When you mention that no power difference was observed with and without L2 cache, did you see the L2 cache in the McPAT output file? If you don't have detailed power info, try the -print_level flag. Regards, 2015-01-26 0:07 GMT+01:00, Lokesh Jindal via gem5-users <gem5-users@gem5.org>: > Hello everyone > > I am trying to understand and set various parameters in the xml file > that is input to Mcpat. I have a question about setting parameters for > number of cache levels. I have defined various parameters for L1 cache > (system.core0.icache/system.core0.dcache) and shared L2 cache (system.L20). > > 1. My understanding is that I can choose to have an L2 cache in the > system or not by setting parameter "number_cache_levels" to 1 or 2. > However, in either case, I am getting the same power number output from > Mcpat against my expectation of seeing a difference in power. How do I > really set the number of cache levels in mcpat xml file? Am I missing > something? > > 2. Could someone elaborate on the parameter "number_of_L2s" and if that > has anything to do with caches? I am not able to understand the > description given in sample xml file. > > I have attached my xml file for reference. > > Thanks > Lokesh > -- -- Fernando A. Endo, PhD student and researcher Université de Grenoble, UJF France _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users