Re: [gem5-users] Delayed printing to telent localhost 3456

2019-10-17 Thread Shehab Elsayed
Just an update: It seems that the problem is not there or at least not as
severe when I used the aarch64-ubuntu-trusty-headless.img disk image. My
previous experiments were using the linaro-minimal-aarch64.img disk image.
I am not sure what makes the difference between both images.


On Fri, Oct 4, 2019 at 11:55 AM Shehab Elsayed  wrote:

> Hi Jason,
>
> Thanks for the quick reply. I will give it a try with the m5 writefile. I
> will also keep this thread updated with any findings I might have.
>
> Best Regards,
> Shehab
>
> On Fri, Oct 4, 2019 at 11:46 AM Jason Lowe-Power 
> wrote:
>
>> Hi Shehab,
>>
>> This is a great question. I've noticed this as well, and I'm not sure why
>> it occurs. I'll put it on the to do list to look into (or you can look into
>> it and see if you can figure it out :)).
>>
>> One option to get around this that we've been playing with is using m5
>> writefile to output important information instead of the terminal.
>>
>> Cheers,
>> Jason
>>
>> On Fri, Oct 4, 2019 at 8:40 AM Shehab Elsayed 
>> wrote:
>>
>>> Hello All,
>>>
>>> I have an rcS script that prints a statement to the terminal and then
>>> switches cpus and does some more stuff. I can see the effect of switching
>>> cpus in the gem5 (host) terminal a very long time before the printed
>>> statement starts appearing on the simulated (guest) terminal. I even have
>>> to add sleep statement before m5 exit just to be able to see the printed
>>> statement, otherwise, it gem5 will exit without event the statement being
>>> printed.
>>>
>>> Is such a big delay expected and normal?
>>>
>>> Thanks in advance,
>>> Shehab
>>> ___
>>> 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

Re: [gem5-users] Delayed printing to telent localhost 3456

2019-10-04 Thread Shehab Elsayed
Hi Jason,

Thanks for the quick reply. I will give it a try with the m5 writefile. I
will also keep this thread updated with any findings I might have.

Best Regards,
Shehab

On Fri, Oct 4, 2019 at 11:46 AM Jason Lowe-Power 
wrote:

> Hi Shehab,
>
> This is a great question. I've noticed this as well, and I'm not sure why
> it occurs. I'll put it on the to do list to look into (or you can look into
> it and see if you can figure it out :)).
>
> One option to get around this that we've been playing with is using m5
> writefile to output important information instead of the terminal.
>
> Cheers,
> Jason
>
> On Fri, Oct 4, 2019 at 8:40 AM Shehab Elsayed 
> wrote:
>
>> Hello All,
>>
>> I have an rcS script that prints a statement to the terminal and then
>> switches cpus and does some more stuff. I can see the effect of switching
>> cpus in the gem5 (host) terminal a very long time before the printed
>> statement starts appearing on the simulated (guest) terminal. I even have
>> to add sleep statement before m5 exit just to be able to see the printed
>> statement, otherwise, it gem5 will exit without event the statement being
>> printed.
>>
>> Is such a big delay expected and normal?
>>
>> Thanks in advance,
>> Shehab
>> ___
>> 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

Re: [gem5-users] Delayed printing to telent localhost 3456

2019-10-04 Thread Jason Lowe-Power
Hi Shehab,

This is a great question. I've noticed this as well, and I'm not sure why
it occurs. I'll put it on the to do list to look into (or you can look into
it and see if you can figure it out :)).

One option to get around this that we've been playing with is using m5
writefile to output important information instead of the terminal.

Cheers,
Jason

On Fri, Oct 4, 2019 at 8:40 AM Shehab Elsayed  wrote:

> Hello All,
>
> I have an rcS script that prints a statement to the terminal and then
> switches cpus and does some more stuff. I can see the effect of switching
> cpus in the gem5 (host) terminal a very long time before the printed
> statement starts appearing on the simulated (guest) terminal. I even have
> to add sleep statement before m5 exit just to be able to see the printed
> statement, otherwise, it gem5 will exit without event the statement being
> printed.
>
> Is such a big delay expected and normal?
>
> Thanks in advance,
> Shehab
> ___
> 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