Hi Furat
Thanks now I am getting a results.stat file filled with data. The stats file
has got a large number of entries some of them are multiple occurrences such as
L1 miss rate etc. I am interested in getting data such as number of cycles, L1
D/I cache miss, L2 Cache miss, and on-chip network traffic. Is the stats file
reporting all the results of application+OS kernel or only application? Can you
please advise on getting the above mentioned statistics, I will be extremely
thankful.
Cheers
YQ
________________________________
From: Furat Afram <[email protected]>
To: Muhammad Yasir Qadri <[email protected]>
Cc: Paul Rosenfeld <[email protected]>; "[email protected]"
<[email protected]>
Sent: Thursday, 10 May 2012, 19:50
Subject: Re: [marss86-devel] Collecting Stats of a simulation
Hi
config/default.conf is not a simconfig file. It is used in compilation time to
build the machines. a simple simconfig file looks like this:
-machine ooo_2_th
-stopinsns 100m
-kill-after-run
-stats results.stats
-logfile results.log
Try this:
1- qemu/qemu-system-x86_64 -m 1024 -hda diskimages/splash.img -simconfig
email.cfg
2- wait untill the machine boots
3- in the quest terminal type: ./start_sim;./fibonacci;./stop_sim
4- wait until qemu exits
-Furat
On Thu, May 10, 2012 at 2:29 AM, Muhammad Yasir Qadri <[email protected]>
wrote:
Thanks Paul but it does not seem to work.
>Cheers
>
>
>________________________________
> From: Paul Rosenfeld <[email protected]>
>
>To: Muhammad Yasir Qadri <[email protected]>
>Cc: "[email protected]" <[email protected]>
>
>Sent: Thursday, 10 May 2012, 10:25
>Subject: Re: [marss86-devel] Collecting Stats of a simulation
>
>
>I believe the old stats that were generated from the -stats flag have been
>removed in recent versions. I'm not sure that that flag does anything anymore.
>
>
>Try this:
>
>
>-yamlstats stats.yaml
>
>
>
>
>
>On Thu, May 10, 2012 at 1:09 AM, Muhammad Yasir Qadri
><[email protected]>wrote:
>
>Hi There
>>I have now read almost all about collecting data from the emailing list and
>>your website but still I am not able to build my results.stats file. Please
>>see the steps I am doing and let me know if there is anything wrong
>>
>>
>>************ Iteration#1 *********************
>>1. cd $MARSS
>>2. $ qemu/qemu-system-x86_64 -m 1024 -hda diskimages/splash.img -simconfig
>>config/default.conf -machine ooo_2_th
>>
>>Results: Fails--- throw Error: -machine is not a valid option
>>
>>
>>************ Iteration#2 *********************
>>
>>1. cd $MARSS
>>2. $ qemu/qemu-system-x86_64 -m 1024 -hda diskimages/splash.img -simconfig
>>config/default.conf
>>
>>Result: Boots up Error Free
>>Once the machine finishes booting. In QEMU environment
>>
>>
>>3. ./start_sim
>>4. Press <CTRL+ALT+2> to enter QEMU manager
>>5. (qemu) simconfig -machine ooo_2_th -run -stopinsns 100m -stats
>>results.stats
>>Result: System starts printing log on linux shell
>>6. Press <CTRL+ALT+1> to enter Simulated machine terminal
>>7. ./fibonacci
>>8. ./stop_sim
>>Result: Quits QEMU
>>9. cat results.stats
>>
>>
>>Result: Empty file
>>
>>
>>I want to see how many cycles the fibonacci application has taken what were
>>the L1/L2 cache miss rates at different instances. I cannot find any related
>>question on the message board.
>>I am sorry if I am asking very basic questions.
>>Regards
>>YQ
>>
>>
>>
>>________________________________
>> From: avadh patel <[email protected]>
>>To: Muhammad Yasir Qadri <[email protected]>
>>Cc: "[email protected]" <[email protected]>
>>Sent: Tuesday, 8 May 2012, 18:44
>>Subject: Re: [marss86-devel] SPLASH Benchmarks Sclaibility
>>
>>
>>
>>
>>
>>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
>>
>>>
>>>
>>>________________________________
>>> 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
>>>
>>>>
>>>>
>>>>________________________________
>>>> 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
>>
>>
>
>
>
>_______________________________________________
>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