Re: [gem5-users] m5 ops

2014-08-19 Thread jerry yin via gem5-users
Hi Ali, Thanks for your reply! The image I'm using is this one with the java http://www.m5sim.org/DaCapo_benchmarks. In this image, no java compiler exists. So the way I did it is using qemu to setup a ubuntu image with full set of java, and get it compiled on that image. Then I tried both running

[gem5-users] m5 ops

2014-08-19 Thread jerry yin via gem5-users
Hi all, I'm following gem5 document step by step to set checkpoint for java program, but get segmentation error. To repeat the error, just follow steps on the website http://www.m5sim.org/M5ops . Does anyone has any idea how to insert java program with roi? Best Wishes, Jer __

Re: [gem5-users] m5Ops in java code

2014-08-16 Thread jerry yin via gem5-users
And I have also tried with gem5 running it. Seems to be the same error. Anyone please help for being stuck for days! Thanks The way I run it is as follows: java -cp .:../src/jni_arm/gem5OpJni.jar -Djava.library.path=/home/benchmark/src/jni_arm Hello Code for Hello is exactly same with the one on

[gem5-users] m5Ops in java code

2014-08-16 Thread jerry yin via gem5-users
Hi I'm following the instructions here: http://www.m5sim.org/M5ops I also setup the qemu ARM image with java. But see the following error: OpenJDK Zero VM warning: You have loaded library gem5OpJni which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly rec

[gem5-users] difference between ROI and checkpoints

2014-08-08 Thread jerry yin via gem5-users
Hi, I'm wondering the difference between ROI and checkpoints. For checkpoints: the document mentions "checkpoints are dumped periodically". I understand that checkpoint is for later resuming the same workload. But why is periodic checkpoints necessary? From the m5out folder, it seems that taking

[gem5-users] java application in system emulation mode

2014-08-03 Thread jerry yin via gem5-users
Hi, I'm spending extremely long time on running java applications in fs mode with the Dacapo img file. So I'm wondering if there is anyway to run java application in SE mode. I know that using -c can pass in binary options but I don't find any -jar options there. The other way as I imagine is to

Re: [gem5-users] DaCapo benchmarks

2014-07-30 Thread jerry yin via gem5-users
Hi Anthony, Thank you! Although I remember having tried both version of jre before, I tried SoftFP again, and it works! Best Regards, Jer ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] DaCapo benchmarks

2014-07-30 Thread jerry yin via gem5-users
Hi Anthony, Thanks for your reply. I think so. I just redo installing java on the img file again. I followed exactly what is talked in the tutorial. In fact, this time I just do copy-paste line by line. Except I replaced sudo cp -a /path_to_jre/jre_dir . jre directory with my own. Everything works

Re: [gem5-users] DaCapo benchmarks

2014-07-30 Thread jerry yin via gem5-users
Hi Anthony, I just built gem5 from scratch all over again. Same problem happens again. Now, both gem5-stable and gem5 don't work on the java issue. I have qemu installed and everything is built followed by the youtube video you have. Except that the img file is the headless-java.img, and I'm using

Re: [gem5-users] DaCapo benchmarks

2014-07-29 Thread jerry yin via gem5-users
Hi Anthony, Thanks for your quick reply! But I'm doing exactly what is told on the tutorial page. The way how I start it up is: ./build/ARM/gem5.opt configs/example/fs.py --mem-size=256MB --disk-image=/home/my_home/gem5-stable/dist_ARM/arm-system-dacapo-2011-08/arm-ubuntu-natty-headless-java.img w

[gem5-users] DaCapo benchmarks

2014-07-29 Thread jerry yin via gem5-users
Hi all, I'm trying to install and run java on gem5 full system mode. I follow the tutorial shown here: http://www.m5sim.org/DaCapo_benchmarks and did what exactly is told here. As I understand, the tutorial is not doing much but setting up the alias for java. However, when I start up the img file