[gem5-users] Running DL/ML workloads in gem5

2021-08-24 Thread Da Zhang via gem5-users
advance! best, Da Zhang ___ 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] Is AVX supported in gem5?

2020-01-22 Thread Da Zhang
gem5 supports AVX, I am wondering that what was happened? (Additional info: almost every vectorized loop in NPB, gfortran/gcc also print "loop turned into non-loop; it never loops" after the vectorization, does anyone have some hints about this?) Thanks in advance.

[gem5-users] Does gem5 ARM support /dev/vda ?

2019-04-16 Thread Da Zhang
r guidance. One difference I do notice is that the arm disk image I created use /dev/vda, but both the arm image downloaded from gem5 website or our x86 disk image use /dev/sda. So, I wonder if this is the problem? Or, something else is wrong? Thanks in advance. best, Da Zhang _

[gem5-users] Any guides for preparing and running gem5 for ARM with KVM support

2019-02-27 Thread Da Zhang
n the system with AtomicSimpleCPU, it show similar terminal output without "Illegal instruction"). I am new to ARM and get more troubles when I tried to create an ARM disk image with qemu. Thanks a lot in advance. best, Da Zhang ___ gem5-users maili

[gem5-users] ARM simulation (AtomicSimpleCPU and fs mode) only show 1 cpu

2019-01-17 Thread Da Zhang
system. But with either lscpu or cat /proc/cpuinfo, it only shows one cpu. Any clue or suggestions? Thanks in advance. Best, Da ZHang ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-19 Thread Da Zhang
ge_gem5_Friendly > > > > -Tony > > > > *From:* gem5-users *On Behalf Of *Da Zhang > *Sent:* Thursday, July 19, 2018 12:00 PM > *To:* gem5 users mailing list > *Subject:* Re: [gem5-users] dacapo (java) benchmark suite encounters > "SIGSEGV" and "n

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-19 Thread Da Zhang
n't tried to take a checkpoint with COW layer disabled and then > restart from that checkpoint before. All I have done is "ctrl+c" to stop > gem5 to take the checkpoint (--checkpoint-at-end); I rely on gem5 to take > care of all things that need to be checked when taking checkp

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-19 Thread Da Zhang
ore. All I have done is "ctrl+c" to stop gem5 to take the checkpoint (--checkpoint-at-end); I rely on gem5 to take care of all things that need to be checked when taking checkpoints. Best, Da Zhang On Thu, Jul 19, 2018 at 2:36 PM Gutierrez, Anthony < anthony.gutier...@amd.com>

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-19 Thread Da Zhang
ing while > doing some XML serializing/deserializing, perhaps the xml file it is > looking for is gone? > > > > Beyond that, assuming it is a real bug in gem5, I would recommend an > ExecAll trace to figure out why the instruction at that PC is faulting. > > > > -Tony > &g

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Da Zhang
ause the problem? Any clues or suggestions to debug these problems? best, Da Zhang On Mon, Jul 16, 2018 at 1:32 PM Jason Lowe-Power wrote: > Hello, > > Are you seeing any warnings like "warn: Instruction XXX not implemented"? > > There are many X86 SIMD instructions th

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Da Zhang
uot; On Mon, Jul 16, 2018 at 11:39 AM Da Zhang wrote: > Hey guys, > > I am testing a java benchmark suite, dacapo, on gem5 with fs mode. > Unfortunately, I encounter a lot of SIGSEGV and null exceptions during > timing mode after restarting from the checkpoints. > I am using

[gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Da Zhang
nt. Does anyone have suggestions or experience against these issues? best, Da Zhang ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Does gem5 count float multiplications?

2018-06-11 Thread Da Zhang
9, 2018 at 4:02 PM, Da Zhang wrote: > >> Hey guys, >> >> I am trying to add floating point multiplications (so do floating point >> dividing and comparing) to the benchmarks as instruments so that I can use >> the number of floating point multiplications as a counte

[gem5-users] Does gem5 count float multiplications?

2018-06-09 Thread Da Zhang
Hey guys, I am trying to add floating point multiplications (so do floating point dividing and comparing) to the benchmarks as instruments so that I can use the number of floating point multiplications as a counter for the benchmarks during simulation. I see there is FloatMult next to FloatAdd, so

[gem5-users] Does the system configurations matter when taking checkpoints

2018-06-04 Thread Da Zhang
Hey, guys I have been using kvm cpu to take checkpoints for a while. I use the default setting for running kvm cpu and modified setting (e.g., caches latencies) when running real simulation. So far, everything looks fine. I just wonder if the configurations matter when I take checkpoints? In other

Re: [gem5-users] Increasing TLB size not working for X86 with O3CPU

2018-05-28 Thread Da Zhang
h more reuse. > > Cheers, > Jason > > On Thu, May 24, 2018 at 9:11 AM Da Zhang wrote: > >> I am using FS mode. >> >> On Thu, May 24, 2018 at 12:00 PM, Jason Lowe-Power >> wrote: >> >>> Hi Da, >>> >>> Are you using SE

Re: [gem5-users] Increasing TLB size not working for X86 with O3CPU

2018-05-24 Thread Da Zhang
I am using FS mode. On Thu, May 24, 2018 at 12:00 PM, Jason Lowe-Power wrote: > Hi Da, > > Are you using SE mode or FS mode? IIRC, the TLB size does nothing in SE > mode (it doesn't use a TLB). The TLB is only used in FS mode. > > Jason > > On Thu, May 24, 20

Re: [gem5-users] Increasing TLB size not working for X86 with O3CPU

2018-05-24 Thread Da Zhang
More details: The dtb read miss rate stays at 10%. Our workload is a simple sequential linked list search microbenchmark with fixed heap size at 1MB. Cache size is varied from 128KB to 2MB. On Thu, May 24, 2018 at 11:44 AM, Da Zhang wrote: > Hey guys, > > I tried to increase the dtb

[gem5-users] Increasing TLB size not working for X86 with O3CPU

2018-05-24 Thread Da Zhang
Hey guys, I tried to increase the dtb size (i.e., number of tlb entries) for our research. However, the stats.txt for the different dtb size (64,128,256,512,1024,2048,1048576) is practical identical or identical. For size < 512, the system.switch_cpus.dtb.rdAccesses difference is only several hund

Re: [gem5-users] gem5 crash with some cpu related error in real simulation after restore from a checkpoint

2018-05-04 Thread Da Zhang
Moreover, it seems only happening to multi-processes benchmarks since that my other multithreading benchmarks doesn't have this issue so far. On Fri, May 4, 2018 at 4:37 PM, Da Zhang wrote: > Hey guys, > > My gem5 real simulation crashed with > " > > gem5.op

[gem5-users] gem5 crash with some cpu related error in real simulation after restore from a checkpoint

2018-05-04 Thread Da Zhang
only happen during real simulation, and sometimes we can avoid it by running longer warmup in atomic mode. best, Da Zhang ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] How to run a checkpoint on an old gem5

2018-05-02 Thread Da Zhang
Hi guys, I have some new gem5 checkpoints made kvm. However, I want to run them with an old version of gem5 (back to 2014). I know there is an updater, but how to downgrade a checkpoint to run it on the old gem5? Best, Da Zhang ___ gem5-users mailing

[gem5-users] gem5 crash with some cpu related error in real simulation after restore from a checkpoint

2018-04-04 Thread Da Zhang
by running longer warmup in atomic mode. best, Da Zhang ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-15 Thread Da Zhang
--fast-forward option)? So that we can avoid the long wait time for things like initialization. best, Da Zhang On Thu, Feb 15, 2018 at 12:17 PM, Jason Lowe-Power wrote: > Hi Da, > > You likely need to enable gem5's multithreaded mode to get many CPUs to > boot correctly. I'

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-13 Thread Da Zhang
--mem-size=8GB and -n 4. Moreover, the ancient Linux kernel and image from gem5 website have no performance problem with increased CPUs. best, Da Zhang On Thu, Feb 8, 2018 at 3:50 PM, Da Zhang wrote: > Hi Jason > > The package works (I used the second one)! And it also works wit

[gem5-users] gem5 with X86KvmCPU performance decreases dramatically with increased cpu number

2018-02-11 Thread Da Zhang
86KvmCPU, --mem-size=8GB and -n 4. best, Da Zhang ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-08 Thread Da Zhang
/+/7362 > https://gem5-review.googlesource.com/c/public/gem5/+/7361 > > Cheers, > Jason > > On Wed, Feb 7, 2018 at 8:49 PM Da Zhang wrote: > >> I am trying to run fs.py with kvm support which might help speedup >> our simulation in full system mode. I find the cpu type X86KvmCPU

Re: [gem5-users] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-02-08 Thread Da Zhang
Hi Jason, The batch you provided works! I was able to run linux kernel v4.8.13 with ubuntu 16.04.1 with the latest gem5 applying the patch. Sorry that I am new to use these patches, and didn't apply it in a correct way. Thanks a lot. best, Da On Fri, Feb 2, 2018 at 4:20 PM, Da Zhang

[gem5-users] running fs.py with X86KvmCPU failed

2018-02-07 Thread Da Zhang
I am trying to run fs.py with kvm support which might help speedup our simulation in full system mode. I find the cpu type X86KvmCPU which is a "kvm-based hardware virtualized cpu". But running fs.py failed with the error information: panic: KVM: Failed to enter virtualized mode (hw reason: 0x8000

Re: [gem5-users] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-02-02 Thread Da Zhang
I am able to run linux kernel v4.8.13 and ubuntu 16.04.1 (server) image by using an old git branch f881618. The patch generates errors when building the simulator. On Thu, Feb 1, 2018 at 1:37 PM, Da Zhang wrote: > Hi Jason, > > I was able to pass the problem by using a very old st

Re: [gem5-users] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-02-01 Thread Da Zhang
Gabe > in the review). This patch will get linux to boot. If you have the > inclination, feel free to fix it the correct way! > > https://gem5-review.googlesource.com/c/public/gem5/+/7301 > > Cheers, > Jason > > On Wed, Jan 31, 2018 at 11:46 AM Da Zhang wrote: > >

[gem5-users] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-01-31 Thread Da Zhang
Hi all, I have some problem with running configs/example/fs.py with linux v4.8.13 and ubuntu image 16.04.1. I follow the steps on Jason's blog ( http://www.lowepower.com/jason/setting-up-gem5-full-system.html) to build linux kernel binary and ubuntu image. And the booting aborted after line "i8042