gem5-users@gem5.org

The gem5 Users mailing list

View all threads

importing packages like numpy

SN
saras nanda
Wed, Jan 3, 2024 11:21 PM

Hi Everyone ,

I am doing a full system simulation on ARM using fs_bigLITTLE.py and
fs_power.py , I am trying to import numpy library in my python script but
it takes 3-4 days and is still running but the library is not imported ,
how can I speedup this , once I import I can checkpoint but somehow its
very slow and takes a really long time.please provide me some suggestions
on this.

I am using atomic cpu model ,chekcpointed the system after the boot , I am
also trying to import this library , using atomic CPU model again so that I
can checkpoint it once its loaded but it does not even after this , its
been running for 3-4 days now but has been stuck at this import line

I also tried this method of kernel-init
./build/ARM/gem5.opt configs/example/arm/fs_bigLITTLE.py
--kernel=/home/saras/gem5-resources/src/arm-ubuntu/gem5/full_system_images/binaries/vmlinux.arm64
--disk=/home/saras/gem5-resources/src/arm-ubuntu/gem5/full_system_images/disks/arm64-ubuntu-server.img
--caches --cpu-type=atomic --kernel-init=/bin/bash

To speed up the boot up

And it is successful however the import numpy statement takes forever to
run

it still takes lot of time just to import the library I can I accelerate it
, so that I can run rest of benchmark

Regards
Saras

Hi Everyone , I am doing a full system simulation on ARM using fs_bigLITTLE.py and fs_power.py , I am trying to import numpy library in my python script but it takes 3-4 days and is still running but the library is not imported , how can I speedup this , once I import I can checkpoint but somehow its very slow and takes a really long time.please provide me some suggestions on this. I am using atomic cpu model ,chekcpointed the system after the boot , I am also trying to import this library , using atomic CPU model again so that I can checkpoint it once its loaded but it does not even after this , its been running for 3-4 days now but has been stuck at this import line I also tried this method of kernel-init ./build/ARM/gem5.opt configs/example/arm/fs_bigLITTLE.py --kernel=/home/saras/gem5-resources/src/arm-ubuntu/gem5/full_system_images/binaries/vmlinux.arm64 --disk=/home/saras/gem5-resources/src/arm-ubuntu/gem5/full_system_images/disks/arm64-ubuntu-server.img --caches --cpu-type=atomic --kernel-init=/bin/bash To speed up the boot up And it is successful however the import numpy statement takes forever to run it still takes lot of time just to import the library I can I accelerate it , so that I can run rest of benchmark Regards Saras