---------- Forwarded message ---------- From: Marko Zivkovic <[email protected]> Date: Mon, Oct 22, 2012 at 1:29 PM Subject: Re: [gem5-users] Application Deployment To: Nilay Vaish <[email protected]>
Hello again, i was able to install ffmpeg on physical machine and use it to convert .avi to mpeg2. Now, I would like to do it inside of the gem5 and collect data about performance. >From different tutorials, I realize that I have to do something like this: arm-linux-gnueabi-gcc -DUNIX -o [ app file ] [ app file.c] -static // to compile the code ./build/ARM/gem5.opt configs/example/se.py -c [application] -o //to start simulations So, how to deploy ffmpeg and give it a task to convert avi to mpeg? Hope this is more descriptive On Mon, Oct 22, 2012 at 12:34 PM, Marko Zivkovic <[email protected]>wrote: > Hello Nilay, > > thank you for your respond. > > I am sorry maybe my English caused the misunderstanding. I will try to be > more detailed. > > First let me answer your comment. The installation of MPEG-2 on physical > machine should be an easy process but you are right that I should first > perform everything on the physical machine. Reason why I want to use > simulator is the need for different system configurations and NoC > algorithms. > > So, I will create custom configuration file and simulate MPEG-2 with in. > Then I need to provide a task to MPEG-2 application and collect the metrics > in different time and computational stages. > > Please, if this is confusing, ask me about concrete details. I really need > answers to the questions from my previous email. > > Thank you > > On Mon, Oct 22, 2012 at 12:07 PM, Nilay Vaish <[email protected]> wrote: > >> On Mon, 22 Oct 2012, Marko Zivkovic wrote: >> >> Hello, >>> >>> I am a newbee in using gem5. Before that I was using HORNET. I am reading >>> your previous posts and answers but it takes time. I will do it >>> eventually. >>> >>> Now, my ultimate goal is to use gem5 with McPAT power model to simulate >>> MPEG-2 decoder tasks ( something similar is already done ). >>> >>> Since I am new in all of these simulations, I will ask few general >>> concept >>> questions which bothers me. For many of you, this is going to be easy to >>> answer. >>> >>> 1. I was able to install and ran the hello example, using >>> the syntax provided in gem5 documentation. Now, I have to deploy MPEG-2 >>> to >>> it? I read that gem5 can simulate many of the software, but can you >>> explain >>> me how to deploy program with more source files, which one to reference >>> in >>> build command. For example, I tried this one >>> http://libmpeg2.sourceforge.**net/ <http://libmpeg2.sourceforge.net/> >>> >>> 2. This bothers me a lot. My Professor want me to create the testing >>> platform. So, he wants me to deploy MPEG-2 program and then he wants to >>> ran >>> a task inside of MPEG-2 and tracks the metrics at certain point of time >>> and >>> place( using check points may be the way for this) >>> So, I do not understand how to deploy a task to already simulated >>> program? >>> I guess that this is trivial questions so, really apologize for not so >>> mature questions. >>> >>> >> I think you need to forget about gem5 for the time being and think about >> how will you run your program on a physical machine. Your email does not >> make it clear how you are running your program physical machine and why >> running it on a simulated machine would be any different. >> >> -- >> Nilay >> > >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
