[gem5-users] Re: gem5 : X86 + GCN3 (gfx801) + test_fwd_lrn

2022-03-14 Thread Matt Sinclair via gem5-users
Hi David, I have not seen this mmap error before, and my initial guess was the mmap error is happening because you are trying to allocate more memory than we created when mmap'ing the inputs for the applications (we do this to speed up SE mode, because otherwise initializing arrays can take

[gem5-users] gem5 : X86 + GCN3 (gfx801) + test_fwd_lrn

2022-03-14 Thread David Fong via gem5-users
Hi, I'm getting an error related to memory for test_fwd_lrn I increased the memory size from 4GB to 512GB I got memory size issue : "out of memory". build/GCN3_X86/gpu-compute/gpu_compute_driver.cc:599: warn: unimplemented ioctl: AMDKFD_IOC_SET_SCRATCH_BACKING_VA

[gem5-users] Re: Gem5/DRAMSim3

2022-03-14 Thread Mahyar Samani via gem5-users
Hello Kazi, I looked at the script and you should make the following changes: from gem5.components.memory import SingleChannelDDR3_1600 --> from gem5.components.memory.dramsim_3 import SingleChannelDDR3_1600 requires(isa_required=ISA.ARM) --> requires(isa_required=ISA.X86), if it does not work

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Νικόλαος Ταμπουρατζής via gem5-users
Dear Boddy, I have used the same gem5_init.sh in gem5 X86 architecture and all systemd services bypassed and it is working properly without READ-ONLY permissions. So, I believe that it is related either to riscv-image or gem5 configuration. Best regards, Nikos Quoting Bobby Bruce :

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Bobby Bruce via gem5-users
Ok, I just thought about this a bit further, if you skip all the init processes in this manner the OS will boot as read-only. This is by design. So while you can pass a script here, it can only do read-only things. Your choices are either to boot properly (with standard init stuff) or accept this

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Hoa Nguyen via gem5-users
Hi Nikos, You wouldn't need to add "init=/root/gem5_init.sh" to the kernel args if you use the lightweight disk image! Regards, Hoa Nguyen On Mon, Mar 14, 2022, 11:39 Νικόλαος Ταμπουρατζής via gem5-users < gem5-users@gem5.org> wrote: > Thank you Boddy! > > I have also used this image but I get

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Νικόλαος Ταμπουρατζής via gem5-users
Thank you Boddy! I have also used this image but I get the same READ-ONLY problem. However, I would like to use Ubuntu in order to install packages using apt-get install through qemu. Using the "init=/root/gem5_init.sh" command both images boot only in 10 minutes. Best regards, Nikos

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Bobby Bruce via gem5-users
Just remembered: If you're wanting to bi-pass large parts of the Ubuntu OS like this, you may just want to use the "riscv-disk-image" ( http://dist.gem5.org/dist/v21-2/images/riscv/busybox/riscv-disk.img.gz), an example usage of which can be found in "configs/example/gem5_library/riscv-fs.py":

[gem5-users] Re: gem5 : X86 + GCN3 (gfx8001) + test_fwd_conv

2022-03-14 Thread David Fong via gem5-users
Hi Kyle, Any workarounds for this issue? Also, what are the other DNNMark tests I can try which don’t need special cmd-line settings? Thanks, David From: David Fong via gem5-users Sent: Friday, March 11, 2022 9:23 AM To: Matt Sinclair ; gem5 users mailing list ; Kyle Roarty Cc: Matthew

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Bobby Bruce via gem5-users
Oh I see, I understand now. I thought you managed to disable some systemd jobs (something I think Hoa struggled with), but you're just bypassing them by setting init to a script. Nice, I'll let you know when the new image is available. I'll see if I can reproduce the error you found with the

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Νικόλαος Ταμπουρατζής via gem5-users
Dear Boddy, Thank you very much for the clarifications! I used the pre-build disk image from gem5 resources (https://github.com/gem5/gem5-resources/tree/stable/src/riscv-ubuntu), and I add the "init=/root/gem5_init.sh" command in the gem5 python script in order to bypass the systemd

[gem5-users] Re: Is thread lock not working under both SE and FS mode?

2022-03-14 Thread Jason Lowe-Power via gem5-users
Hi Meng, It depends on the ISA you're using and the configuration of the system. For instance, x86+classic caches is known to have some synchronization issues. The transactional memory support only works with Arm, and I'm not sure which memory system it requires. What system are you trying to

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Bobby Bruce via gem5-users
Hey Nikos, First, you can set your own kernel arguments via the `kernel_args` parameter in the `set_kernel_disk_worload` function to do this sort of thing, there's no need to modify the source. You can do something like this: ``` board.set_kernel_disk_workload( kernel=Resource(

[gem5-users] Re: Modelling cache flushing on gem5 (RISC-V)

2022-03-14 Thread Eliot Moss via gem5-users
I just skimmed that paper (not surprised to see Gernot Heiser's name there!) and I think that, while it would be a little bit of work, it might not be *too* hard to implement something like fence.t for the caches. It would be substantially different from wbinvd. The latter speaks to the whole

[gem5-users] Re: Modelling cache flushing on gem5 (RISC-V)

2022-03-14 Thread Eliot Moss via gem5-users
On 3/14/2022 5:54 AM, Ethan Bannister wrote: Dear Eliot, Sorry for the late reply. As far as I can tell, fence.t is such an early proposal that its existence is purely in mailing list discussions and a research paper introducing it here

[gem5-users] Re: FS RISCV PCI

2022-03-14 Thread Νικόλαος Ταμπουρατζής via gem5-users
Dear Ayaz, all, Is there any news about PCI implementation on RISCV FS? Best regards, Nikos Quoting Ayaz Akram : Hi Nikolaos, Thanks for bringing this to our attention. We are looking at this problem here at Davis and will try to respond soon. -Ayaz On Sat, Apr 10, 2021 at 4:42 AM

[gem5-users] Re: riscv-ubuntu 20.04 FS mode

2022-03-14 Thread Νικόλαος Ταμπουρατζής via gem5-users
Dear all, Bobby and Hoa, I add this command (self.workload.command_line += ' init=/root/gem5_init.sh') in 169 line of gem5/src/python/gem5/components/boards/kernel_disk_workload.py and I build the gem5. Using this command, the gem5 is able to boot after 10 minutes (without a large number

[gem5-users] Re: Modelling cache flushing on gem5 (RISC-V)

2022-03-14 Thread Ethan Bannister via gem5-users
Dear Eliot, Sorry for the late reply. As far as I can tell, fence.t is such an early proposal that its existence is purely in mailing list discussions and a research paper introducing it here. Despite being a fence, it's more