[gem5-users] Memory-Intensive C Programs in SE Mode

2021-06-17 Thread Thomas, Samuel via gem5-users
Hi all, I'm writing because I'm trying to run a relatively simple, but memory-intensive C microbenchmark in SE mode. In particular, it allocates and randomly fills a 2MB array, then performs *n* random accesses to the array and increments the value. The program outputs that it is increasing the

[gem5-users] Re: Error with gem5 full system simulation

2021-06-21 Thread Thomas, Samuel via gem5-users
Hi Abhijeeth, With regards to your first message, it looks like you are using a custom configuration python script. Often times these errors occur from failing to import the objects in the same way based on the directory. For example, if you look at the script "configs/example/se.py" you'll see

[gem5-users] Queued Ports

2021-06-18 Thread Thomas, Samuel via gem5-users
Hi all, Is there documentation for a conventional way to set up queued ports in custom memory objects? In learning_gem5, there is really good documentation for blocking ports, but the blocking port is currently a bottleneck in my application. Thank you in advance! Best, Sam

[gem5-users] Custom SimObject Causes Host Machine to Freeze

2021-07-06 Thread Thomas, Samuel via gem5-users
Hi all, I'm writing because I'm working with a custom SimObject that I wrote that seems to crash my host machine. I know it's this particular SimObject because the script works as expected when run without the object, but it makes debugging an excruciatingly difficult process. Is this an issue

[gem5-users] Re: --take-checkpoints flag

2021-09-08 Thread Thomas, Samuel via gem5-users
Hi all, Just to follow up, because I can see that there have been some issues with not including all of the requisite issues in other threads, here is the full output from what I described above. gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for

[gem5-users] Re: --take-checkpoints flag

2021-09-08 Thread Thomas, Samuel via gem5-users
t do > exactly what you expect will also help with debugging. When you control the > script, adding prints is easy, too! > > Finally, the file src/python/m5/simulate.py may be helpful to figure out > what's going on when instantiating, simulating, checkpointing, etc. > > C

[gem5-users] Collecting Two Sets of Data Within Same Simulation

2021-08-11 Thread Thomas, Samuel via gem5-users
Hi all, I'm currently running a full system simulation, and would like to collect statistics from one particular function as well as overall statistics from the simulation. Unfortunately, the function gets called many times, so simply dumping stats at the beginning and end of the function makes

[gem5-users] Re: Monitoring access to main memory

2022-02-17 Thread Thomas, Samuel via gem5-users
It sounds as though trace-based debug flags in the mem_ctrl could be used to print whatever data you are looking for to an output file: https://www.gem5.org/documentation/general_docs/debugging_and_testing/debugging/trace_based_debugging You can view the data and data size by calling

[gem5-users] Re: Compiling gem5 on ARM Based Host

2022-01-07 Thread Thomas, Samuel via gem5-users
Hi Jason, Weirdly, only a few fast binaries exceed 5MB in size: 5.6Mbuild/ARM/arch/arm/generated/generic_cpu_exec_2.fo 6.0Mbuild/ARM/arch/arm/generated/generic_cpu_exec_5.fo 6.0Mbuild/ARM/arch/arm/generated/inst-constrs-1.fo 6.1Mbuild/ARM/arch/arm/generated/generic_cpu_exec_4.fo

[gem5-users] Checkpoints in ARM Config

2022-01-19 Thread Thomas, Samuel via gem5-users
Hi all, I am working from the ``configs/example/arm/fs_bigLITTLE.py'' script and am wondering how checkpointing in this script should work. In particular, it seems as though there is no activity from the .rcS bootscript when I run to a certain point in my benchmark to set a checkpoint in

[gem5-users] Re: Modifying simulation structure after instantiation/checkpoint restore

2022-04-12 Thread Thomas, Samuel via gem5-users
Hi Antoine, We had a similar use case in our work. Our solution was to include all of the objects that we wanted to in the system and implement them so that they forward all packets in the mode that you don't care about. For us, we wanted to include an object that we didn't want to do anything

[gem5-users] Custom Output Directory

2024-02-08 Thread Thomas, Samuel via gem5-users
Hi all, This may be a really dumb question, but I've been a user of v22.0.0.2 for a while and need to use v23.1.0.0 for a new project. How am I supposed to send the output from a simulation to a custom directory (previously "-d ") in this new version? Do I have to add an option in my config

[gem5-users] Re: Custom Output Directory

2024-02-09 Thread Thomas, Samuel via gem5-users
> On Feb 8, 2024, at 6:56 PM, muke101 wrote: >>> >>> Hi, you need the --outdir flag and it has to come before you specify >>> the config script (like se.py), so it's passed to the gem5 binary >>> directly:) >>> >>> so: >>> ./

[gem5-users] Re: Custom Output Directory

2024-02-09 Thread Thomas, Samuel via gem5-users
ectly:) >> >> so: >> ./build/X86/gem5.fast --outdir=results configs/example/se.py .... >> >> >> Sent from Proton Mail mobile >> >> >> >> Original Message >> On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users

[gem5-users] Re: Custom Output Directory

2024-02-09 Thread Thomas, Samuel via gem5-users
Feb 8, 2024, at 6:56 PM, muke101 wrote: >>>>> >>>>> Hi, you need the --outdir flag and it has to come before you specify >>>>> the config script (like se.py), so it's passed to the gem5 binary >>>>> directly:) >>>>> >>>>> so: >&

[gem5-users] Mounting X86 Disk Image

2024-03-17 Thread Thomas, Samuel via gem5-users
Hi all, I'm trying to build an x86 disk image that I can mount and install a benchmark to run. I have tried downloading the pre-installed image from https://storage.googleapis.com/dist.gem5.org/dist/develop/images/x86/ubuntu-18-04/x86-ubuntu.img.gz and building from the gem5-resources source

[gem5-users] Re: Mounting X86 Disk Image

2024-04-03 Thread Thomas, Samuel via gem5-users
5/gem5/pull/990 > > Hope it helps! > > Best, > Hossam > -------------- > *From:* Thomas, Samuel via gem5-users > *Sent:* Sunday, March 17, 2024 10:25 PM > *To:* gem5 users mailing list > *Cc:* Thomas, Samuel > *Subject:* [gem5-users] Mounting X8