Thanks,  but, I can not see the root of the disk image mounted in m5.

I installed "M5 2.0b3 Full System Files"  in m5/dist/m5/system.
In the directory , I have 

[normal@ system]$ ls -l
total 18088
drwxrwx--- 2 normal normal     4096 May  7 16:33 binaries
drwxrwx--- 2 normal normal     4096 May 17  2007 disks
-rw-rw-r-- 1 normal normal 18468181 May 17  2007 m5_system_2.0b3.tar.bz2
drwxrwxr-x 3 normal normal     4096 May  5 17:43 www.m5sim.org

[normal@ system]$ cd disks/
[normal@ disks]$ ls -l
total 2141972
-r--r----- 1 normal normal 2139095040 May 17  2007 linux-bigswap2.img
-rw-r----- 1 normal normal   52125696 May 17  2007 linux-latest.img

[normal@ system]$ cd binaries/
[normal@ binaries]$ ls -l
total 31748
-rwxrwx--- 1 normal normal    78500 May 17  2007 console
-rwxrwx--- 1 normal normal    52136 May 17  2007 ts_osfpal
-rwxrwxr-x 1 normal normal 32313628 Oct  8  2006 vmlinux

And, I should mount linux-bigswap2.img or linux-latest.img  ? 

and where to mount them ? 
I do not have root directory in m5.

Thanks, 

May 8  2008 


Date: Wed, 7 May 2008 21:17:01 -0700
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: [m5-users] about m5term and linux kernel



On Wed, May 7, 2008 at 5:06 PM, Mike Anderson <[EMAIL PROTECTED]> wrote:






Hi, 

I am using m5.opt and m5.debug  to run  FS simulation. 

./build/ALPHA_FS/m5.opt  configs/example/fs.py -b NetperfMaerts

build/ALPHA_FS/m5.debug -d /tmp/output configs/example/fs.py

build/ALPHA_FS/m5.opt --trace-flags="Cache" configs/example/fs.py


And, I  connect to the simulated console interface by
m5term localhost 3456

But, the console responds my typing very slowly.

And,  I use ls and got : 

        benchmarks  etc         lib         mnt         sbin        usr

        bin         floppy      lost+found  modules     sys         var
        dev         home        man         proc        tmp         z

My question is :

Where are these directories located ? 
In the root directory of the disk image you've mounted in m5.
 


And, where is the linux kernel located ? 
That's loaded separately; it's not on the disk image.
 



If I want to implement a linux scheduling algorithm in a linux kernel.

And, I plan to use linux-dist to Create Disk Images and Kernels for M5
with compiled benchmarks.

And then, I install the disk in the  directory:

/dist/m5/system

And, when I run the benchmarks . 

How can I make sure that the threads generated from the benchmarks 
are scheduled by th new linux kernel ?
It's pretty much the same as if you were doing it on a real system... if you 
want to be sure it's working, you just have to observe that it's having some 
effect.


Steve
 

thanks,

Mike 

May.  7  2008 










 


Get Free (PRODUCT) REDâ„¢  Emoticons, Winks and Display Pics. Check it out!


_______________________________________________

m5-users mailing list

[email protected]

http://m5sim.org/cgi-bin/mailman/listinfo/m5-users



_________________________________________________________________
Windows Live SkyDrive lets you share files with faraway friends.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_052008
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to