On Tue, May 8, 2012 at 12:02 AM, Muhammad Yasir Qadri <[email protected]>wrote:

> Hi There
> I am running BARNES app in Splash benchmark suite. First I simulated using
> default configuration i.e. Single Core and got a compute  time of 4608295
> with "input" file by changing number of Processors to 1.
> Next, I compiled MARSS with c=4 and booted the disk image again. I made
> sure that 4 processors are present by
> ls -l /sys/devices/system/cpu
> Then I changed the "input" file and replaced number of processor 1 with 4.
> Re-executed BARNES and got compute time of 5854231 which is greater than
> single core. Is there any scalability issue with BARNES app or am I doing
> something wrong.
> PS: All the other settings are default.
> Regards
>
>
Are you calculating time while running in 'simulation' mode or just
'emulation' mode.  If you run it in just emulation mode then time will
increase when you increase number of cores because QEMU emulate each CPU in
serial fashion and keep the clock same as host machine.  While in
'simulation' mode we clock each CPU in one cycle and the VM time is also
calculated based on 'cycles' in simulation mode.

- Avadh


> Dr. Muhammad Yasir Qadri
> *CESAT, Islamabad, Pakistan*
>
>   ------------------------------
> *From:* avadh patel <[email protected]>
> *To:* Muhammad Yasir Qadri <[email protected]>
> *Cc:* sabeen amin <[email protected]>; "
> [email protected]" <[email protected]>
> *Sent:* Monday, 7 May 2012, 7:35
> *Subject:* Re: [marss86-devel] Errors while installing MARSS--Solved
>
>
>
> On Fri, May 4, 2012 at 11:32 PM, Muhammad Yasir Qadri 
> <[email protected]>wrote:
>
> Dear Avadh
> Thanks for the advise. It works fine now. Now here comes a question, how
> can I access host directories from Simulated machine. I think I need Samba
> to do that. Is that correct? Also how can I get access of internet in
> simulated machine as I need to install/upgrade GCC etc.
> Regards
>
>
> You can use 'ssh' to transfer files.  You can access internet from these
> VMs.  Run 'ifconfig' to check if ethernet device is connected or not.  If
> you try 'ping' it will not work but you can install/upgrade packages via
> apt-get.
>
> - Avadh
>
>
>
> Dr. Muhammad Yasir Qadri
> *CESAT, Islamabad, Pakistan*
>
>   ------------------------------
> *From:* avadh patel <[email protected]>
> *To:* Muhammad Yasir Qadri <[email protected]>
> *Cc:* sabeen amin <[email protected]>; "
> [email protected]" <[email protected]>
> *Sent:* Wednesday, 2 May 2012, 19:47
> *Subject:* Re: [marss86-devel] Errors while installing MARSS
>
> These errors are coming up because you are compiling Marss on 32 bit
> machine/kernel.
> Marss doesn't support 32 bit mode, please compile and run it on 64 bit
> machine.
> I'll add a configure check in next release to avoid this confusion.
>
> - Avadh
>
> On Wed, May 2, 2012 at 4:15 AM, Muhammad Yasir Qadri 
> <[email protected]>wrote:
>
>  Hi
> I am new to MARSS as well. I have been following your messages closely. I
> had same problems like Sabeen. I went into QEMU directory and did
>
> 1. ./configure
> 2. make
> 3. make install
> That removed many errors, but am getting these now:
>
>  scons -Q
> running with -j4
>
> Machine 'private_L2' requires minimum of 2 contexts while you are
> compiling with 1 contexts. Skipping this machine 'private_L2'.
> Machine 'ooo_2_th' requires minimum of 2 contexts while you are compiling
> with 1 contexts. Skipping this machine 'ooo_2_th'.
> Machine 'moesi_private_L2' requires minimum of 2 contexts while you are
> compiling with 1 contexts. Skipping this machine 'moesi_private_L2'.
> Machine 'shared_l2' requires minimum of 2 contexts while you are compiling
> with 1 contexts. Skipping this machine 'shared_l2'.
> Compiling :: ptlsim/build/cache/bus.cpp ==> ptlsim/build/cache/bus.o
> Compiling :: ptlsim/build/cache/cacheTypes.cpp ==>
> ptlsim/build/cache/cacheTypes.o
> Compiling :: ptlsim/build/cache/coherentCache.cpp ==>
> ptlsim/build/cache/coherentCache.o
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> Compiling :: ptlsim/build/cache/cacheController.cpp ==>
> ptlsim/build/cache/cacheController.o
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
>
> scons: *** [ptlsim/build/cache/coherentCache.o] Error 1
> scons: *** [ptlsim/build/cache/bus.o] Error 1
> scons: *** [ptlsim/build/cache/cacheTypes.o] Error 1
> scons: *** [ptlsim/build/cache/cacheController.o] Error 1
> root@yasir-desktop:/home/yasir/marss-0.3# scons -Q > dump.txt
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
>
> scons: *** [ptlsim/build/cache/bus.o] Error 1
> scons: *** [ptlsim/build/cache/cacheTypes.o] Error 1
> scons: *** [ptlsim/build/cache/cacheController.o] Error 1
>
> scons: *** [ptlsim/build/cache/coherentCache.o] Error 1
>
>
> *Any help in this would be highly appreciated.*
> *Cheers*
>
>
>
>
>
>
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to