[gem5-users] Performance difference in full system (FS) and system emulation (SE) mode

2023-05-26 Thread VIPIN PATEL via gem5-users
Hi All, I ran the attached microbenchmark (test1.c) with gem5 in FS and SE mode. I am interested in the stats only for the region marked with the ROI marker. I assume the FS mode is similar to or slower than the SE mode for the microbenchmark in the ROI, but the stats point otherwise. The FS mo

[gem5-users] Unavailability of GPU_RfO and GPU_VIPER_Region protocol in gem5 v21

2023-02-06 Thread VIPIN PATEL via gem5-users
Dear All, The GPU_RfO and GPU_VIPER_Region protocol were part of the gem5 v20.1.0.5 but were removed from v21.0.0.0 onwa

[gem5-users] Running OpenMP version of SPEC CPU speed 2017 benchmarks

2023-01-10 Thread VIPIN PATEL via gem5-users
Hi All, SPEC CPU 2017 benchmarks now support OpenMP parallelization ( https://www.spec.org/cpu2017/Docs/overview.html#Q14). I plan to include the SPEC CPU 2017 parallel benchmarks in my study. The gem5-resources for version 20 provide scripts for single-core execution. Does anyone know what needs

[gem5-users] Configuration error while trying to execut the parsec benchmark in FS mode.

2023-01-08 Thread VIPIN PATEL via gem5-users
Hi All, I am trying to run the parsec experiments with gem5-v20 using the steps mentioned in in the README file ( https://gem5.googlesource.com/public/gem5-resources/+/c5f5c70d0291e105444f534cf538ea40e4ddcb96/src/parsec/ ) I am able to build the image successfully using QEMU. When I try to run the

[gem5-users] Command line options to modify the replacement policy in gem5

2022-12-15 Thread VIPIN PATEL via gem5-users
Dear Gem5-users, How can we modify the default replacement policy for ruby caches in gem5? Is there any command line option for replacement policy similar to "--l1d_size", "--l1d_assoc" for changing size and associativity of L1D-cahce? Regards, Vipin __

[gem5-users] Creating custom stat in gem5 and dumping them to stats file.

2022-11-29 Thread VIPIN PATEL via gem5-users
Hi All, I am using gem5 v19. My requirement is to track the number of accesses made by a core to a cache block. I will need to keep a map with the key as the cache block address and the value as the total number of accesses to the block. Is it possible to add new custom stats (based on unordered m

[gem5-users] Re: Emulating sleep system call in Gem5 SE mode

2022-07-14 Thread VIPIN PATEL
bby > -- > > Dr. Bobby R. Bruce > Room 3050, > Kemper Hall, UC Davis > Davis, > CA, 95616 > > web: https://www.bobbybruce.net > > > On Wed, Jul 13, 2022 at 12:15 AM VIPIN PATEL > wrote: > >> Hi all, >> >> The Gem5 v20 does no

[gem5-users] Emulating sleep system call in Gem5 SE mode

2022-07-13 Thread VIPIN PATEL
Hi all, The Gem5 v20 does not emulate sleep system calls in SE mode. A few applications in my experiment use sleep call. Emulating the system call requires modification to "syscall_emul.cc" file (implementation of system call) and "syscall_tbl64.cc" ( update the mapping for emulated function). I

[gem5-users] Resetting and dumping stats in Gem5

2022-07-05 Thread VIPIN PATEL
Hi All, I want to reset the gem5 stats before the start of ROI (region of interest) and dump the stats as soon as the ROI completes. I looked into a few old mail archives, but was unable to locate m5op.h header for resetting and dumping the stats. Could anyone guide me through the correct way to

[gem5-users] Scheduling an event to flush the data of a metadata structure on every 'N' cycle.

2022-05-27 Thread VIPIN PATEL
Hi all, I am following the tutorial " https://www.gem5.org/documentation/learning_gem5/part2/events/"; to schedule an event to flush the metadata every 1 million cycles. I want to stop scheduling the event as soon as the last thread in the application terminates. 1. Did anyone implement anything

[gem5-users] Integrating MCPAT with gem5

2022-04-21 Thread VIPIN PATEL via gem5-users
Hi All, Simulators like SST, DRAMSim, SystemC can be integrated with gem5. Can we integrate the McPAT with gem5 ? Are there any pointers available for doing this? Thanks in advance. Regards, Vipin Patel Ph.D. CSE IIT Kanpur ___ gem5-users mailing list

[gem5-users] Reissuing a Load/Store from sequencer/L1 cache controller

2021-11-26 Thread VIPIN PATEL via gem5-users
Hi All, I am exploring and testing out a few modifications to the MESI cache coherence protocol. I am dropping out a load/store, i.e., GETX /GETS request at the directory controller if the block is in a transient state. My goal is to reissue these loads and stores from the L1 cache controller agai

[gem5-users] Re: Running pthread in gem5 se mode

2021-10-04 Thread VIPIN PATEL via gem5-users
Hi Krishan, I also faced a similar issue while executing the pthread program in SE mode. It seems the number of core should be equal to the maximum number of core you are trying to execute. For example: If you are launching 4 thread with pthread_create, the number of cores should be at least 5 (4

[gem5-users] Re: Error: Can't find a working Python installation

2021-03-27 Thread VIPIN PATEL via gem5-users
Hi Haurunis, I use the python virtual environment for running gem5. If you are using virtual environment for your gem5 make sure all the dependency libraries are installed within the virtual environment. Also make sure your scons' s engine path points to the scons installation within the virtual e

[gem5-users] CPU switching after booting system into FS mode.

2020-09-17 Thread VIPIN PATEL via gem5-users
s.html), I concluded booting linux for multicore in X86 is not supported in Gem5. Is there a work around for this? Something like booting the Linux with atomic CPU and after booting switching to DetailedO3 CPU. Any help would be appreciated. Thanks and regards, Vipin Patel Ph.D. Scholar

[gem5-users] Re: Functional read failed while using pthread lock in program

2020-08-19 Thread VIPIN PATEL via gem5-users
Hi All, After following the discussion on the JIRA issue for functional read failure (https://gem5.atlassian.net/browse/GEM5-676). I require pointers on how to use m5threads in Gem5 for execution of multithreaded programs? Thanks in advance. Regards, Vipin Patel On Tue, Aug 18, 2020 at 11:01

[gem5-users] Functional read failed while using pthread lock in program

2020-08-18 Thread VIPIN PATEL via gem5-users
Hi All, I using the GEM5 simulator to collect statistics of a micro-benchmark program. I am encountering the functional read access failed for address "0x". I have attached the source file of the micro-benchmark program. The simulation is running fine for the case "1" and "4" in the switch co

[gem5-users] Re: Can the MESI_Three_Level protocol be used in the L1-L2-L3 three-level cache?

2020-07-26 Thread VIPIN PATEL via gem5-users
Answer inline. Regards, Vipin On Sun, 26 Jul, 2020, 12:24 1154063264--- via gem5-users, < gem5-users@gem5.org> wrote: > Hello, because L0_I, L0_D, and L1 in MESI_Three_Level are private, and L2 > is shared. In my experiment, L1_I, L1_D, and L2 are private, and L3 is > shared,so I think > (1)

[gem5-users] Re: Can the MESI_Three_Level protocol be used in the L1-L2-L3 three-level cache?

2020-07-25 Thread VIPIN PATEL via gem5-users
Yes, you are getting it right. Yeah if you wish to change the functioning of cache controller state machine then only you should change the *.sm files. Can you elaborate. The use case for clarification? Regards, Vipin Patel On Sun, 26 Jul, 2020, 08:04 1154063264--- via gem5-users, < gem5-us

[gem5-users] Re: Can the MESI_Three_Level protocol be used in the L1-L2-L3 three-level cache?

2020-07-24 Thread VIPIN PATEL via gem5-users
Hi, You for MESI three level, use notation for cache as L0, L1 and L2 cache. Thanks and regards, Vipin Patel Ph D Scholar, IIT Kanpur. On Sat, 25 Jul, 2020, 08:02 1154063264--- via gem5-users, < gem5-users@gem5.org> wrote: > I have some questions about MESI_Three_Level protocol

[gem5-users] Difference in Line Address and Physical Address

2020-07-24 Thread VIPIN PATEL via gem5-users
. Thanks and regards. Vipin Patel Ph.D. CSE IIT Kanpur ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Adding new MessageSizeType in Coherence Protocol

2020-07-17 Thread VIPIN PATEL via gem5-users
orrect way to add a new MessageSizeType and any checks need to be done while making such changes. Regards, Vipin Patel Research Scholar IIT Kanpur ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le..

[gem5-users] Re: Memory -Address -Gem5-O3

2020-07-13 Thread VIPIN PATEL via gem5-users
Hi Alrhman, Look into the protocol state machine, say L1cache state machine. More specifically you can modify the mandatory_queue_in code for your requirement. The sequencer puts the CPU request into mandatory queue. Revert incase of any query. Regards, Vipin On Mon, 13 Jul, 2020, 01:18 ABD ALR

[gem5-users] Syntax Error in gem5 while using bitset template.

2020-07-05 Thread VIPIN PATEL via gem5-users
2>); bitset<4> getSharerIDs(); void setSharerIDs(bitset<4>); } FSGAEntry is an external object to hold the metadata. How to import bitset to fix the syntax issue. Regards, Vipin Patel ___ gem5-users mailing list -- gem5-users@gem5.org T

[gem5-users] Re: Using template library in Ruby Protocol State Machine

2020-07-05 Thread VIPIN PATEL via gem5-users
Hi All, A gentle reminder, Any help would be appreciated. Regards, Vipin Patel Ph.D. Scholar IIT Kanpur On Sat, Jul 4, 2020 at 11:04 PM VIPIN PATEL wrote: > Does any further clarification required for the use case? > > Regards, > Vipin > > On Sat, Jul 4, 2020 at 3:32 PM

[gem5-users] Re: Using template library in Ruby Protocol State Machine

2020-07-04 Thread VIPIN PATEL via gem5-users
Does any further clarification required for the use case? Regards, Vipin On Sat, Jul 4, 2020 at 3:32 PM VIPIN PATEL wrote: > Hi All, > > I am modifying the coherence protocol state machine for my requirements. > I need to use C++ template libraries like unordered-map, bitset and l

[gem5-users] Using template library in Ruby Protocol State Machine

2020-07-04 Thread VIPIN PATEL via gem5-users
Hi All, I am modifying the coherence protocol state machine for my requirements. I need to use C++ template libraries like unordered-map, bitset and list in the protocol state machine. Do I need to define them as an external structure in "mem/ruby/RubySlicc_types. sm"? If so, can you provide an e

[gem5-users] Suggestion required for additonal structure for metadata

2020-06-05 Thread VIPIN PATEL via gem5-users
I am used Gem5 for multithreaded program execution with a two-level cache hierarchy. I need to store metadata at L1 cache and LLC. What will be a good approach: 1. To create a sim object directly in Gem5 and use it in the coherence protocol. OR 2. To define the structure in the SLICC state machine

[gem5-users] Re: Building Gem5 on Mac

2020-06-03 Thread VIPIN PATEL via gem5-users
Hi Gaurav, I also faced issue for 'six' module while installing gem5. For installating module through pip solved the issues. Also make sure you use python2 as your default python on the system. Regards, Vipin Research Scholar, IIT Kanpur On Wed, 3 Jun, 2020, 22:22 Gourav Datta via gem5-users,