Thanks!

The problem solved.

Now I can monitor the process by using another terminal which is displayed
when I type telnet localhost 3456.

Thank and regards.

Jung Min You



2018-06-08 17:17 GMT+09:00 조해윤 <chohy2...@gmail.com>:

> Dear Jung Min You.
>
> The full system mode includes the operating system and the script which be
> entered with --script option is the script file which be run after OS is
> booted.
> In case of SE mode, the result of a benchmark is printed in the terminal
> which you write command line.
> In case of FS mode, the result of a benchmark is printed in OS terminal (I
> don't know this express is correct, but there is another terminal).
> Related with telnet, see the full system mode section of follow link,
> http://gem5.org/Running_gem5.
> In contrast to SE mode, FS mode makes additional outputs like
> system.terminal.
>
> Let's see a file, system.terminal, which is the output of OS.
>
> Best regards,
>
> Haeyoon Cho.
>
> 2018-06-08 16:59 GMT+09:00 류정민 <jungmin.yo...@gmail.com>:
>
>> Dear Haeyoon Cho,
>>
>> I mean the terminal which I type command line.
>>
>> I know that the echo command writes statement on the terminal which I
>> type command lines.
>>
>> By the way, what do you mean boot?
>>
>> Do I need to boot gem5 to use script file?
>>
>> Best regards,
>>
>> Jung Min You
>>
>> 2018-06-08 16:43 GMT+09:00 조해윤 <chohy2...@gmail.com>:
>>
>>> Dear Jung Min You.
>>>
>>> It is strange. Is it booted well?
>>>
>>> What the terminal you mean?
>>> Is it terminal of telnet? Or is it terminal which you typed command line?
>>>
>>> The file, system.terminal, is the same result of the telnet terminal.
>>>
>>> Best regards,
>>>
>>> Haeyoon Cho.
>>>
>>> 2018-06-08 16:18 GMT+09:00 류정민 <jungmin.yo...@gmail.com>:
>>>
>>>> Dear Haeyoon Cho,
>>>>
>>>> I changed script file and run the simulation again.
>>>>
>>>> the script file as follows
>>>>
>>>>
>>>>
>>>> # !/bin/sh
>>>> echo "let's start benchmark simulation"
>>>>
>>>> cd /parsec/parsec/install/bin
>>>>
>>>> /parsec/sbin/m5 dumpstats
>>>> /parsec/sbin/m5 resetstats
>>>>
>>>> ./blackscholes 64 /parsec/parsec/install/inputs/blackscholes/in_16K.txt
>>>> /parsec/parsec/install/inputs/blackscholes/prices.txt
>>>>
>>>> echo "finish! :D"
>>>>
>>>> /parsec/sbin/m5 exit
>>>> /parsec/sbin/m5 exit
>>>>
>>>>
>>>>
>>>>
>>>> Same as the previous case, the echo statements didn't print on the
>>>> terminal.
>>>>
>>>> As the echo statement located at the first line, I think it must be
>>>> printed.
>>>>
>>>> Thanks.
>>>>
>>>> Best regards,
>>>>
>>>> Jung Min.
>>>>
>>>>
>>>> 2018-06-08 15:50 GMT+09:00 조해윤 <chohy2...@gmail.com>:
>>>>
>>>>> Dear Jung Min You.
>>>>>
>>>>> The command line looks fine.
>>>>>
>>>>> How did you write the script?
>>>>> The hack_back_ckpt.rcS is basically for checkpoint.
>>>>> This script detect itself whether is was run before, in other words,
>>>>> the simulation was restored by the checkpoint.
>>>>> Thus, depend on the position of the echo command in your script, it
>>>>> may not run.
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Haeyoon Cho.
>>>>>
>>>>> 2018-06-08 11:41 GMT+09:00 류정민 <jungmin.yo...@gmail.com>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> my name is Jung Min You and I'm graduated course student in
>>>>>> Sungkyunkwan University, South Korea.
>>>>>>
>>>>>> I followed your tutorial to study about gem5.
>>>>>>
>>>>>> For my research, I need to simulate the system using a gem5 full
>>>>>> system mode.
>>>>>>
>>>>>> When I tried to run the fs mode, I used the script files located in
>>>>>> gem5/configs/boot/~~.rcS.
>>>>>>
>>>>>> Meanwhile, to debug the result, I inserted some echo statement in the
>>>>>> script file.
>>>>>>
>>>>>> However, no debug statement has printed in terminal.
>>>>>>
>>>>>> I tried to use hack_back_ckpt.rcS, and my command line as follows.
>>>>>>
>>>>>> build/X86/gem5.opt configs/example/fs.py --cpu-type="AtomicSimpleCPU"
>>>>>> --caches --l1i_size=32kB --l1d_size=32kB -    -l2_size=2MB -F 200000000 
>>>>>> -I
>>>>>> 200000000 --kernel=$GEM5_DIR/system/bina
>>>>>> ries/x86_64-vmlinux-2.6.22.9.smp --disk-image=$GEM5_DIR
>>>>>> /system/disks/linux-x86.img --script=configs/boot/hack_back_ckpt.rcS
>>>>>>
>>>>>> If there is any mistakes in my simulation progress, please tell me
>>>>>> what is the problem.
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Jung Min.
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> gem5-users mailing list
>>>>>> gem5-users@gem5.org
>>>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gem5-users mailing list
>>>>> gem5-users@gem5.org
>>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> gem5-users mailing list
>>>> gem5-users@gem5.org
>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to