[gem5-users] cloud for gem5
Hi Ciro, do you know of a free cloud to use gem5, because I always took a lot of time to run the kernel armv8 on the fs.big.LITTLE mode. Thanks, com_. ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] the instructions that are responsible for the number of access to the cache and energy consumption.
hi all, I need to do an analysis on the change of time of simulation of a parsec 3.0 application (ex: blackscholes) in gem5 ,armv8 big.LITTLE mode , and I do not know the statistics (the instructions of file stats.txt) which are responsbales on the change of execution time (for example the instructions that are responsible for the number of access to the cache, energy consumption ... etc) please if you have an idea help me. Thanks advance; com_. ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE
Hi Oscar, I tried this script and I think the same problem: #! / Bin / bash ls cd / home / ls cd root ls cd parsec ./Hello Here is the result obtained: bin dev home lost + found mnt proc run srv tmp var boot etc lib media root opt sbin sys usr / tmp / script: line 5: cd: root: No such file or directory / tmp / script: line 7: cd: parsec: No such file or directory / tmp / script: line 8: ./hello: No such file or directory here is my system.terminal file thanks advance. com_. 2018-06-01 10:31 GMT+02:00 Oscar Rosell : > Hi, > > The important line is this one: > > / tmp / script: line 3: cd: / home / root / parsec: No such file or > directory > > No way you can get the binary running if you cannot cd to the directory > where the binary is located. That has no relation with how the binary was > compiled. > > My intuition is that the directory is in fact "/root/parsec". It's just a > guess based on the absence of home directory for root user in my Ubuntu > (although I don't know which image you're using). To be sure just add an ls > to show the directory at each point like this: > > PARSEC_DIR = "/ home / root / parsec" > ls > cd /home/ > ls > cd root > ls > cd parse > ls > > > On 01/06/18 08:45, Ciro Santilli wrote: > >> This is not required, the best thing to do is to find what is the >> proper compatible cross compiler for the image: >> https://stackoverflow.com/questions/31929092/trying-to-run- >> a-cross-compiled-executable-on-target-device-fails-with- >> no-such-f/49993116#49993116 >> >> On Fri, Jun 1, 2018 at 6:34 AM, Tung Hoang >> wrote: >> >>> You may need “-static” for arm cross-compiling. >>> >>> /T >>> >>> On Thu, May 31, 2018 at 3:19 PM commerce _com >>> wrote: >>> >>>> Hi ciro, >>>> >>>> I'm sure the binary of the compilation is in the image on the path: / >>>> home / root / parsec >>>> >>>> but I did not understand how to solve this problem; Please. >>>> >>>> >>>> com_. >>>> >>>> 2018-05-31 23:02 GMT+02:00 Ciro Santilli : >>>> >>>>> Likely incompatible compiler using wrong dynamic loader, do "file >>>>> hello", see "interpreter /some/path", and check if "/some/path" is >>>>> present on guest. >>>>> >>>>> On Thu, May 31, 2018 at 9:33 PM, commerce _com < >>>>> commercecom...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> i need to run hello.c in an architecture armv8 big.LITTLE >>>>>> I compile hello_word.c by a crosscompiler here is the command: >>>>>> arm-linux-gnueabihf-gcc hello.c -o hello >>>>>> >>>>>> I added the binarie of the compilation to the linaro aarch64 image, >>>>>> with I >>>>>> generated this .rcs script as follows: >>>>>> #! / Bin / bash >>>>>> PARSEC_DIR = "/ home / root / parsec" >>>>>> cd $ PARSEC_DIR >>>>>> pwd >>>>>> ./Hello >>>>>> >>>>>> I typed the following command: >>>>>> >>>>>> sudo build / ARM / gem5.opt configs / example / arm / fs_bigLITTLE.py >>>>>> --kernel = / media / ali / ali / gem5-master / aarch-system-20180409 / >>>>>> binaries / vmlinux.vexpress_gem5_v1_64 --dtb = / media / ali / ali / >>>>>> gem5-master / aarch-system-20180409 / binaries / >>>>>> armv8_gem5_v1_big_little_2_2.dtb --bootscript = / home / ali / >>>>>> desktop >>>>>> / >>>>>> rcs_file / parsec_rcs / hello.rcS - caches >>>>>> >>>>>> the execution of the kernel it works normal but when it passes the >>>>>> stage of >>>>>> execution of the hello I found this result: >>>>>> >>>>>> / tmp / script: line 3: cd: / home / root / parsec: No such file or >>>>>> directory >>>>>> / >>>>>> / tmp / script: line 5: ./hello: No such file or directory >>>>>> >>>>>> despite I added the binary hello to the linaro image. >>>>>> >>>>>> please if you have an idea to solve the problem. >>>>>> >>>>>> here is my file system.terminal: >>>>>> >>>>>> thanks advance. >>>>>> >>>>>> com_. >>>>>> >>>>>> >>>>>> ___ >>>>>> gem5-users mailing list >>>>>> gem5-users@gem5.org >>>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>>>> >>>>> ___ >>>>> gem5-users mailing list >>>>> gem5-users@gem5.org >>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>>> >>>> >>>> ___ >>>> gem5-users mailing list >>>> gem5-users@gem5.org >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>> ___ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > > system.terminal Description: Binary data ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE
Hi ciro, I'm sure the binary of the compilation is in the image on the path: / home / root / parsec but I did not understand how to solve this problem; Please. com_. 2018-05-31 23:02 GMT+02:00 Ciro Santilli : > Likely incompatible compiler using wrong dynamic loader, do "file > hello", see "interpreter /some/path", and check if "/some/path" is > present on guest. > > On Thu, May 31, 2018 at 9:33 PM, commerce _com > wrote: > > Hi all, > > > > i need to run hello.c in an architecture armv8 big.LITTLE > > I compile hello_word.c by a crosscompiler here is the command: > > arm-linux-gnueabihf-gcc hello.c -o hello > > > > I added the binarie of the compilation to the linaro aarch64 image, with > I > > generated this .rcs script as follows: > > #! / Bin / bash > > PARSEC_DIR = "/ home / root / parsec" > > cd $ PARSEC_DIR > > pwd > > ./Hello > > > > I typed the following command: > > > > sudo build / ARM / gem5.opt configs / example / arm / fs_bigLITTLE.py > > --kernel = / media / ali / ali / gem5-master / aarch-system-20180409 / > > binaries / vmlinux.vexpress_gem5_v1_64 --dtb = / media / ali / ali / > > gem5-master / aarch-system-20180409 / binaries / > > armv8_gem5_v1_big_little_2_2.dtb --bootscript = / home / ali / desktop / > > rcs_file / parsec_rcs / hello.rcS - caches > > > > the execution of the kernel it works normal but when it passes the stage > of > > execution of the hello I found this result: > > > > / tmp / script: line 3: cd: / home / root / parsec: No such file or > > directory > > / > > / tmp / script: line 5: ./hello: No such file or directory > > > > despite I added the binary hello to the linaro image. > > > > please if you have an idea to solve the problem. > > > > here is my file system.terminal: > > > > thanks advance. > > > > com_. > > > > > > ___ > > gem5-users mailing list > > gem5-users@gem5.org > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] execution problem hello.c in architecture armv8 big.LITTLE
Hi all, i need to run hello.c in an architecture armv8 big.LITTLE I compile hello_word.c by a crosscompiler here is the command: arm-linux-gnueabihf-gcc hello.c -o hello I added the binarie of the compilation to the linaro aarch64 image, with I generated this .rcs script as follows: #! / Bin / bash PARSEC_DIR = "/ home / root / parsec" cd $ PARSEC_DIR pwd ./Hello I typed the following command: sudo build / ARM / gem5.opt configs / example / arm / fs_bigLITTLE.py --kernel = / media / ali / ali / gem5-master / aarch-system-20180409 / binaries / vmlinux.vexpress_gem5_v1_64 --dtb = / media / ali / ali / gem5-master / aarch-system-20180409 / binaries / armv8_gem5_v1_big_little_2_2.dtb --bootscript = / home / ali / desktop / rcs_file / parsec_rcs / hello.rcS - caches the execution of the kernel it works normal but when it passes the stage of execution of the hello I found this result: / tmp / script: line 3: cd: / home / root / parsec: No such file or directory / / tmp / script: line 5: ./hello: No such file or directory despite I added the binary hello to the linaro image. please if you have an idea to solve the problem. here is my file system.terminal: thanks advance. com_. system.terminal Description: Binary data ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] execution problem parsec3.0
Hi Ciro i need to run parsec 3.0 on armv8 big.LITTLE, i added parsec 3.0 in the image but i found this problem, do you have any idea about this problem please? Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory [3.858394] init: hwclock main process (665) terminated with status 1 [4.223726] Buffer I/O error on dev vda1, logical block 524278, async page read [4.223917] Buffer I/O error on dev vda1, logical block 524278, async page read /tmp/script: line 4: cd: /home/parsec-3.0: No such file or directory / /tmp/script: line 7: ./env.sh: No such file or directory /tmp/script: line 8: parsecmgmt: command not found Connection closed by foreign host. thanks; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] parsec3.0 compilation by aarch64-linux-gnu-gcc cross compiler.
I installed aarch64-linux-gnu-gcc cross compiler in my ubuntu system to compile parsec3.0, and I typed the following commands: source ./env.sh parsecmgmt -a build -c gcc-hooks -p blackscholes and I found this compilation result: [PARSEC] Packages to build: parsec.blackscholes [PARSEC] [== Building package parsec.blackscholes [1] ==] [PARSEC] [-- Analyzing package parsec.blackscholes --] [PARSEC] Package parsec.blackscholes already exists, proceeding. [PARSEC] [PARSEC] BIBLIOGRAPHY [PARSEC] [PARSEC] [1] Bienia. Benchmarking Modern Multiprocessors. Ph.D. Thesis, 2011. [PARSEC] [PARSEC] Done. *nb*:I found the binarie in the following path: /parsec-3.0/pkgs/apps/blackscholes/inst/amd64-linux.gcc-hooks/bin/ blackscholes please is this method true? thanks. commerce. ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] free coud
hi all; i need a free cloud to do the simulation with gem5, please is there? because i do not have a powerful pc. thanks advance; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] the instructions that are responsible for the number of access to the cache and energy consumption.
Hi all; I need to do an analysis on the change of time of execution of a parsec 3.0 application (ex: blackscholes) in gem5 and I do not know the statistics (the instructions of file stats.txt) which are responsbales on the change of execution time (for example the instructions that are responsible for the number of access to the cache, energy consumption ... etc) please if you have an idea help me. Thanks advance; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] how to compile hello.c of the linaro image with "Cross-Compile" and execute it in gem5.
hi; yes i compiled hello.c by cross compiler in my ubuntu operating system, and i copied it in the linaro image but is there a script (- bootscript) to run the binary hello in fs_fig.LITTLE mode, or how to run it; thanks; 2018-05-14 15:15 GMT+02:00 조해윤 <chohy2...@gmail.com>: > First, cross compile hello.c. It is not dependent on gem5. > > Second, mount the linaro image and copy the binary file. > For example, > > mount -oloop,offset=32256 /tmp/linaro.img /mnt > > Finally, run the FS simluation. > http://gem5.org/Running_gem5 > > > 2018-05-13 20:28 GMT+09:00 commerce _com <commercecom...@gmail.com>: > >> hi all; >> >> please help me I am beginner with gem5 ; >> >> how to compile hello.c of the linaro image with "Cross-Compile" and >> execute it in gem5. >> >> thanks; >> >> ___ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] how to compile hello.c of the linaro image with "Cross-Compile" and execute it in gem5.
hi all; please help me I am beginner with gem5 ; how to compile hello.c of the linaro image with "Cross-Compile" and execute it in gem5. thanks; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] compile parsec 3.0 with Cross-Compile:
hi Tung; the problem is that i tried to compile parsec by cross compiler but i found the previous error, so i do not know is what i forgot something in my parsec compilation. is there another build version that works with aarch64 directly? because I found a version in this link but I'm not sure. her is the downoad link: https://github.com/bamos/parsec-benchmark thank you very much; com. 2018-05-12 21:14 GMT+02:00 Tung Hoang <hoangthanht...@gmail.com>: > You can compile parsec by using either cross compiler or qemu and add > binary benchmark into linaro image. > > I am not sure if Ciro’s parsec can compile all benchmark for aarch64 but I > could not. At least Raytrace and Vips are not compiled with patches. > > /T > > On Sat, May 12, 2018 at 9:00 AM commerce _com <commercecom...@gmail.com> > wrote: > >> hi Ciro; >> >> so i downloaded parsec which is in the link you sent me but did i copy it >> directly into the linaro arch64 image or i add the patch for arch64 i did >> not understand well ?? >> because I need to copy parsec 3.0 in the linaro image to run with gem5. >> >> thanks; >> >> >> 2018-05-12 17:28 GMT+02:00 Ciro Santilli <ciro.santi...@gmail.com>: >> >>> I don't think those patches are enough to run all benchmarks, and I >>> have never seen a set of patches that just worked for all benchmarks so >>> far. >>> >>> I have part of parsec benchmarks working at: >>> https://github.com/cirosantilli/linux-kernel-module-cheat/tree/ >>> d1f676a680aca90e525f14d90605393a9742d09b#parsec-benchmark >>> and I'm clearly documenting what works and does not at: >>> https://github.com/cirosantilli/parsec-benchmark >>> >>> On Sat, May 12, 2018 at 3:17 PM, commerce _com <commercecom...@gmail.com> >>> wrote: >>> > hi all; >>> > >>> > I need to compile parsec 3.0 with Cross-Compile: >>> > >>> > here are the steps that I followed: >>> > >>> > I downloaded gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu and I >>> > modified the xcompile-patch.diff file as follows: >>> > >>> ># CC_HOME is root installation of the C compiler >>> > - export CC_HOME = "/ usr" >>> > + export CC_HOME = "/ media / ali / ali / parsec-3.0 / >>> > gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu" >>> ># BINUTIL_HOME is root installation of the GNU binutils >>> > - export BINUTIL_HOME = "/ usr" >>> > + export BINUTIL_HOME = "/ media / ali / ali / parsec-3.0 / >>> > gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu / aarch64-linux-gnu" >>> ># GNUTOOL_HOME is root installation of the GNU tools >>> >export GNUTOOL_HOME = "/ usr" >>> ># BINARY_PREFIX is the string which is used as prefix for the GNU >>> > binaries >>> >export BINARY_PREFIX = "" >>> > + # GCC_PREFIX is the string which is used as prefix for the compilers >>> and >>> > preprocessors >>> > + export GCC_PREFIX = "aarch64-linux-gnu-" >>> > >>> > I typed the command: >>> > patch -p1 >> > >>> > I found the following result: >>> > patching file config / gcc.bldconf >>> > patching file pkgs / apps / blackscholes / parsec / >>> gcc-pthreads.bldconf >>> > patching file pkgs / apps / bodytrack / parsec / gcc-pthreads.bldconf >>> > patching file pkgs / apps / facesim / parsec / gcc-pthreads.bldconf >>> > patching file pkgs / apps / ferret / parsec / gcc-pthreads.bldconf >>> > patching file pkgs / apps / fluidanimate / parsec / >>> gcc-pthreads.bldconf >>> > patching file pkgs / apps / raytrace / parsec / gcc-pthreads.bldconf >>> > patching file pkgs / apps / swaptions / parsec / gcc-pthreads.bldconf >>> > patching pkgs file / apps / vips / parsec / gcc-pthreads.bldconf >>> > patching pkgs file / apps / x264 / parsec / gcc-pthreads.bldconf >>> > patching file pkgs / kernel / canneal / parsec / gcc-pthreads.bldconf >>> > patching file pkgs / kernel / dedup / parsec / gcc-pthreads.bldconf >>> > patching file pkgs / kernels / streamcluster / parsec / >>> gcc-pthreads.bldconf >>> > patching file pkgs /libs/glib/parsec/gcc.bldconf >>> > patching file pkgs /libs/gsl/parsec/gcc.bldconf >>> > patching file pkgs / libs / hooks / parsec / gcc.bldconf >>> > patching file pkgs / libs / h