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

2021-08-23 Thread krishnan gosakan via gem5-users
t; I tried building m5threads but it failed. What system configuration >>>>> are you using to build m5threads? >>>>> What kernel version do you use and what compiler do you use? >>>>> >>>>> On Sat, Jul 24, 2021 at 10:28 PM Hossein Golestani >>&g

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

2021-08-06 Thread krishnan gosakan via gem5-users
>>> wrote: >>> >>>> Hi Krishnan, >>>> >>>> I use m5threads, which is a light-weight alternative for pthread, to >>>> simulate multi-threaded programs in the SE mode: >>>> https://github.com/gem5/m5threads >>>&

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

2021-08-05 Thread krishnan gosakan via gem5-users
hread, to >>> simulate multi-threaded programs in the SE mode: >>> https://github.com/gem5/m5threads >>> (I'm not sure if there are any other ways.) >>> >>> Thanks, >>> Hossein >>> >>> >>> On Sat, Jul 24, 2021 at 11

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

2021-07-24 Thread krishnan gosakan via gem5-users
ht-weight alternative for pthread, to > simulate multi-threaded programs in the SE mode: > https://github.com/gem5/m5threads > (I'm not sure if there are any other ways.) > > Thanks, > Hossein > > > On Sat, Jul 24, 2021 at 11:00 AM krishnan gosakan via gem5-users &l

[gem5-users] Running pthread in gem5 se mode

2021-07-24 Thread krishnan gosakan via gem5-users
Hi all, I am trying to run a code with pthread in gem5 se mode. The code runs perfectly when launched from command prompt but pthread_create returns error code 11 when run in se mode. Is there anything special I should do to make pthread run in se mode. From the tests directory, I see that C++ std:

[gem5-users] Running MPI code in gem5 se mode x86 architecture

2021-07-04 Thread krishnan gosakan via gem5-users
Hi all, I hope everyone is fine. I am trying to run an MPI application in gem5 se mode (latest master branch) with x86 arch. I am facing some problems while running it. Below is the error message I get while doing so. gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --

[gem5-users] Compiling code to run in se mode

2021-05-23 Thread krishnan gosakan via gem5-users
Hi all, I hope all are doing well. I just want to know how to compile c code using gcc to run it in se mode of gem5. I tried compiling a simple hello world code which is exactly similar to the code available in tests/test-progs/hello/src I compiled it as gcc -o hello hello.c -m32 The above command

[gem5-users] Query related to TLB in gem5

2021-02-28 Thread krishnan gosakan via gem5-users
Hi all, I have some questions related to TLB implementation in gem5. Gem5 seems to have implemented separate TLB for instruction and data paths, but I see that it has only one level. Real systems seems to have 2 levels of TLB, which I think is missing in gem5. Also, I see that TLB is not set associ

[gem5-users] gem5 and non volatile memory

2021-02-16 Thread krishnan gosakan via gem5-users
Hi all, I have been using gem5 for some time and interested in experimenting with non volatile memory. I found a couple of github projects on gem5 and nvmain integrations but they are very old. I just want to check with the community if there are any new additions to gem5 which makes non volatile m

[gem5-users] Adding new stats field for a class(PageTableWalker) in X86

2021-01-25 Thread krishnan gosakan via gem5-users
Hi all, I am trying to add a few new stat entries for the class Walker available in the file pagetable_walker.cc previously, no stas exist for this file. I added the function regstats and few stats::scalar variables. When I compile and run gem5, I get an error message "panic: Not all stats have bee

[gem5-users] Re: Compiling m5 utils

2020-11-14 Thread krishnan gosakan via gem5-users
n output >>> collect2: error: ld returned 1 exit status >>> Makefile.x86:54: recipe for target 'm5' failed >>> make: *** [m5] Error 1 >>> >> >> Am I missing anything here? >> >> On Sat, Nov 14, 2020 at 9:32 AM Gabe Black wr

[gem5-users] Compiling m5 utils

2020-11-13 Thread krishnan gosakan via gem5-users
Hi all, I am trying to compile m5 utils. I followed the documentation available at https://www.gem5.org/documentation/general_docs/m5ops/ I am using https://gem5.googlesource.com/public/gem5/+/f0364a2b08f8919347164e9aad82ca3a0167eb4b In the above repo, utils/m5 directory has no scons file and I am

[gem5-users] To know about cpu switching in gem5

2020-11-01 Thread krishnan gosakan via gem5-users
Hi all, I hope you all are doing well. I want to use gem5 to boot linux kernel, run a benchmark suite and collect stats about system performance. I am interested in running STREAM benchmark. The problem I am facing is running stream benchmark takes nearly 2 hours in TimingSimpleCPU. So, I just want

[gem5-users] How page table walk works in TimingSimpleCPU

2020-10-26 Thread krishnan gosakan via gem5-users
Hi all, I would like to know how page table walking actually works in x86 TimingSImpleCPU, which uses a timing access memory model. Previously, I tried to look at how the page table is walker for AtomicSimpleCPU which uses an atomic access memory model. In function Walker::WalkerState::startWalk(),

[gem5-users] Re: Need clarification on few stat fields

2020-10-20 Thread krishnan gosakan via gem5-users
d data TLBs respectively). > 2. The walker refers to the page table walker. > 3. No page walk cache is implemented by gem5. > > Best Regards, > MB > > On Tue, Oct 20, 2020 at 4:45 PM Mahyar Samani wrote: > >> >> >> -- Forwarded message - &g

[gem5-users] Re: gem5 full system emulation is slow - want suggestions to fasten bootup

2020-10-16 Thread krishnan gosakan via gem5-users
> Ryan Gambord > > > > > On Thu, Oct 15, 2020 at 1:49 AM krishnan gosakan via gem5-users < > gem5-users@gem5.org> wrote: > >> [This email originated from outside of OSU. Use caution with links and >> attachments.] >> Hi all. >> I hope everyone i

[gem5-users] gem5 full system emulation is slow - want suggestions to fasten bootup

2020-10-15 Thread krishnan gosakan via gem5-users
Hi all. I hope everyone is doing good. I recently started working with gem5 simulator. I am trying to do some modification to the page table walker (pagetable_walker). My problem is that booting linux under full system emulation is very slow. It takes nearly 30 to 40 minutes to boot. I am using Ato