Hi,

My application happens to write messages on stderr. GEM5 (latest stable
release) runs very slow if errout (for stderr redirection) option is
specified on the command line. The following are the gem5 commands and
their times without and with errout option to gem5.

Without errout (stderr is printed on terminal):
   ~/gem5-clean/gem5-stable/build/ARM/gem5.fast --outdir=./
~/gem5-clean/gem5-stable/configs/example/se.py --cmd=mp3dec/mp3dec.m5arm
--options="-v mp3dec/input1/small.mp3 --output=wave:out"
--output=result.out.input1

14.76user 0.16system 0:17.56elapsed 84%CPU

With errout:
   ~/gem5-clean/gem5-stable/build/ARM/gem5.fast --outdir=./
~/gem5-clean/gem5-stable/configs/example/se.py --cmd=mp3dec/mp3dec.m5arm
--options="-v mp3dec/input1/small.mp3 --output=wave:out"
--output=result.out.input1 --errout=result.err.input1

25.43user 1.57system 13:29.44elapsed 3%CPU

Does anyone know why this is happening?
Thanks a lot
Daya
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to