Hi,

Guest

PG

Pau Galindo Figuerola

Fri, Sep 8, 2023 5:02 PM

Hi,

I'm trying to set up a GPU FS environment following the guidelines from

here:

https://github.com/gem5/gem5-resources/blob/stable/src/gpu-fs/README.md

First when I tried to execute 'hip_examples.py' an error saying that

'exit_at_gpu_kernel' didn't exist. So I added the parameter to the

'runfs.py' to work around that. But when I execute againt a fatal error

raises saying the following:

*src/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for range
[0:0x400000000]!*

It does also happen with 'hip_cookbook.py' and 'hip_rodinia.py' examples.

Someone could help me understand it and how to fix this. Aren't the

examples ment to work without modifying anything?

I'm using the current stable branch github version for both gem5 and

gem5-resources.

Thank you in advance!

Best regards,

Pau

*Command Executed:*

*build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42
--kernel
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic
--gpu-mmio-trace
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app
PrefixSum*

*Full trace:*

*gem5 Simulator System. https://www.gem5.org https://www.gem5.org/gem5
is copyrighted software; use the --copyright option for details.gem5
version 23.0.1.0gem5 compiled Sep 8 2023 15:36:02gem5 started Sep 8 2023
18:35:16gem5 executing on paublackton-MS-7A72, pid 5907command line:
build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42
--kernel
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic
--gpu-mmio-trace
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app
PrefixSum/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42warn:
The *

`get_runtime_isa`

function is deprecated. Please migrate away from
using this function.Global frequency set at 1000000000000 ticks per
secondwarn: system.workload.acpi_description_table_pointer.rsdt adopting
orphan SimObject param 'entries'warn: No dot file generated. Please install
pydot to generate the dot file and pdf.src/mem/dram_interface.cc:690: warn:
DRAM device capacity (8192 Mbytes) does not match the address range
assigned (4096 Mbytes)src/sim/kernel_workload.cc:46: info: kernel located
at:
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-genericsrc/base/statistics.hh:279:
warn: One of the stats is a legacy stat. Legacy stat is a stat that does
not belong to any statistics::Group. Legacy stat is
deprecated.src/base/stats/storage.hh:278: warn: Bucket size (5) does not
divide range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide
range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide
range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide
range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/statistics.hh:279: warn: One of the stats is a legacy stat.
Legacy stat is a stat that does not belong to any statistics::Group. Legacy
stat is deprecated.src/base/stats/storage.hh:278: warn: Bucket size (10000)
does not divide range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/mem/dram_interface.cc:690: warn: DRAM device capacity (128 Mbytes)
does not match the address range assigned (16384
Mbytes)src/base/statistics.hh:279: warn: One of the stats is a legacy stat.
Legacy stat is a stat that does not belong to any statistics::Group. Legacy
stat is deprecated. 0: system.pc.south_bridge.cmos.rtc: Real-time
clock set to Sun Jan 1 00:00:00 2012mmap: Cannot allocate
memorysrc/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for
range [0:0x400000000]!Memory Usage: 3332856 KBytesHi,
I'm trying to set up a GPU FS environment following the guidelines from
here:
https://github.com/gem5/gem5-resources/blob/stable/src/gpu-fs/README.md
First when I tried to execute 'hip_examples.py' an error saying that
'exit_at_gpu_kernel' didn't exist. So I added the parameter to the
'runfs.py' to work around that. But when I execute againt a fatal error
raises saying the following:
*src/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for range
[0:0x400000000]!*
It does also happen with 'hip_cookbook.py' and 'hip_rodinia.py' examples.
Someone could help me understand it and how to fix this. Aren't the
examples ment to work without modifying anything?
I'm using the current stable branch github version for both gem5 and
gem5-resources.
Thank you in advance!
Best regards,
Pau
*Command Executed:*
*build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42
--kernel
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic
--gpu-mmio-trace
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app
PrefixSum*
*Full trace:*
*gem5 Simulator System. https://www.gem5.org <https://www.gem5.org/>gem5
is copyrighted software; use the --copyright option for details.gem5
version 23.0.1.0gem5 compiled Sep 8 2023 15:36:02gem5 started Sep 8 2023
18:35:16gem5 executing on paublackton-MS-7A72, pid 5907command line:
build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42
--kernel
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic
--gpu-mmio-trace
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app
PrefixSum/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42warn:
The `get_runtime_isa` function is deprecated. Please migrate away from
using this function.Global frequency set at 1000000000000 ticks per
secondwarn: system.workload.acpi_description_table_pointer.rsdt adopting
orphan SimObject param 'entries'warn: No dot file generated. Please install
pydot to generate the dot file and pdf.src/mem/dram_interface.cc:690: warn:
DRAM device capacity (8192 Mbytes) does not match the address range
assigned (4096 Mbytes)src/sim/kernel_workload.cc:46: info: kernel located
at:
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-genericsrc/base/statistics.hh:279:
warn: One of the stats is a legacy stat. Legacy stat is a stat that does
not belong to any statistics::Group. Legacy stat is
deprecated.src/base/stats/storage.hh:278: warn: Bucket size (5) does not
divide range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide
range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide
range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide
range [1:75] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:10] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide
range [1:64] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/statistics.hh:279: warn: One of the stats is a legacy stat.
Legacy stat is a stat that does not belong to any statistics::Group. Legacy
stat is deprecated.src/base/stats/storage.hh:278: warn: Bucket size (10000)
does not divide range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide
range [1:1.6e+06] into equal-sized buckets. Rounding
up.src/mem/dram_interface.cc:690: warn: DRAM device capacity (128 Mbytes)
does not match the address range assigned (16384
Mbytes)src/base/statistics.hh:279: warn: One of the stats is a legacy stat.
Legacy stat is a stat that does not belong to any statistics::Group. Legacy
stat is deprecated. 0: system.pc.south_bridge.cmos.rtc: Real-time
clock set to Sun Jan 1 00:00:00 2012mmap: Cannot allocate
memorysrc/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for
range [0:0x400000000]!Memory Usage: 3332856 KBytes*

PM

Poremba, Matthew

Fri, Sep 8, 2023 5:20 PM

[Public]

This is not the first time I am hearing about this issue. It seems stable needs to be hotfixed for GPU.

For now, you can try the develop branch instead. It is tested quite well so it is relatively stable anyway despite the name.

-Matt

From: Pau Galindo Figuerola via gem5-users gem5-users@gem5.org

Sent: Friday, September 8, 2023 10:02 AM

To: gem5-users@gem5.org

Cc: Pau Galindo Figuerola pau.galindo.figuerola@estudiantat.upc.edu

Subject: [gem5-users] Not being able to execute GPU FS example 'hip_samples.py'

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Hi,

I'm trying to set up a GPU FS environment following the guidelines from here: https://github.com/gem5/gem5-resources/blob/stable/src/gpu-fs/README.md

First when I tried to execute 'hip_examples.py' an error saying that 'exit_at_gpu_kernel' didn't exist. So I added the parameter to the 'runfs.py' to work around that. But when I execute againt a fatal error raises saying the following:

src/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for range [0:0x400000000]!

It does also happen with 'hip_cookbook.py' and 'hip_rodinia.py' examples.

Someone could help me understand it and how to fix this. Aren't the examples ment to work without modifying anything?

I'm using the current stable branch github version for both gem5 and gem5-resources.

Thank you in advance!

Best regards,

Pau

Command Executed:

build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42 --kernel /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic --gpu-mmio-trace /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app PrefixSum

Full trace:

gem5 Simulator System. https://www.gem5.orghttps://www.gem5.org/

gem5 is copyrighted software; use the --copyright option for details.

gem5 version 23.0.1.0

gem5 compiled Sep 8 2023 15:36:02

gem5 started Sep 8 2023 18:35:16

gem5 executing on paublackton-MS-7A72, pid 5907

command line: build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42 --kernel /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic --gpu-mmio-trace /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app PrefixSum

/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42

warn: The `get_runtime_isa`

function is deprecated. Please migrate away from using this function.

Global frequency set at 1000000000000 ticks per second

warn: system.workload.acpi_description_table_pointer.rsdt adopting orphan SimObject param 'entries'

warn: No dot file generated. Please install pydot to generate the dot file and pdf.

src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (4096 Mbytes)

src/sim/kernel_workload.cc:46: info: kernel located at: /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic

src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.

src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.

src/mem/dram_interface.cc:690: warn: DRAM device capacity (128 Mbytes) does not match the address range assigned (16384 Mbytes)

src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.

0: system.pc.south_bridge.cmos.rtc: Real-time clock set to Sun Jan 1 00:00:00 2012

mmap: Cannot allocate memory

src/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for range [0:0x400000000]!

Memory Usage: 3332856 KBytes

[Public]
This is not the first time I am hearing about this issue. It seems stable needs to be hotfixed for GPU.
For now, you can try the develop branch instead. It is tested quite well so it is relatively stable anyway despite the name.
-Matt
From: Pau Galindo Figuerola via gem5-users <gem5-users@gem5.org>
Sent: Friday, September 8, 2023 10:02 AM
To: gem5-users@gem5.org
Cc: Pau Galindo Figuerola <pau.galindo.figuerola@estudiantat.upc.edu>
Subject: [gem5-users] Not being able to execute GPU FS example 'hip_samples.py'
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
Hi,
I'm trying to set up a GPU FS environment following the guidelines from here: https://github.com/gem5/gem5-resources/blob/stable/src/gpu-fs/README.md
First when I tried to execute 'hip_examples.py' an error saying that 'exit_at_gpu_kernel' didn't exist. So I added the parameter to the 'runfs.py' to work around that. But when I execute againt a fatal error raises saying the following:
src/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for range [0:0x400000000]!
It does also happen with 'hip_cookbook.py' and 'hip_rodinia.py' examples.
Someone could help me understand it and how to fix this. Aren't the examples ment to work without modifying anything?
I'm using the current stable branch github version for both gem5 and gem5-resources.
Thank you in advance!
Best regards,
Pau
Command Executed:
build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42 --kernel /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic --gpu-mmio-trace /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app PrefixSum
Full trace:
gem5 Simulator System. https://www.gem5.org<https://www.gem5.org/>
gem5 is copyrighted software; use the --copyright option for details.
gem5 version 23.0.1.0
gem5 compiled Sep 8 2023 15:36:02
gem5 started Sep 8 2023 18:35:16
gem5 executing on paublackton-MS-7A72, pid 5907
command line: build/VEGA_X86/gem5.opt configs/example/gpufs/hip_samples.py --disk-image /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42 --kernel /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic --gpu-mmio-trace /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vega_mmio.log --app PrefixSum
/home/pau-blackton/TFG/gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42
warn: The `get_runtime_isa` function is deprecated. Please migrate away from using this function.
Global frequency set at 1000000000000 ticks per second
warn: system.workload.acpi_description_table_pointer.rsdt adopting orphan SimObject param 'entries'
warn: No dot file generated. Please install pydot to generate the dot file and pdf.
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (4096 Mbytes)
src/sim/kernel_workload.cc:46: info: kernel located at: /home/pau-blackton/TFG/gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (5) does not divide range [1:75] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:10] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (2) does not divide range [1:64] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/base/stats/storage.hh:278: warn: Bucket size (10000) does not divide range [1:1.6e+06] into equal-sized buckets. Rounding up.
src/mem/dram_interface.cc:690: warn: DRAM device capacity (128 Mbytes) does not match the address range assigned (16384 Mbytes)
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
0: system.pc.south_bridge.cmos.rtc: Real-time clock set to Sun Jan 1 00:00:00 2012
mmap: Cannot allocate memory
src/mem/physical.cc:247: fatal: Could not mmap 17179869184 bytes for range [0:0x400000000]!
Memory Usage: 3332856 KBytes

Replying to:

Empathy v1.0
2024 ©Harmonylists.com