2021 3:28 PM
To: gem5 users mailing list
Cc: Sindhuja Gopalakrishnan Elango
Subject: Re: [gem5-users] Query: Valgrind speed in FS
Hi Sindhuja,
Yes, there is an expectation that valgrind causes a slowdown. Let me give you a
couple of suggestions.
1. Make sure you compile without tcmalloc
It's normal for valgrind to slow things down a lot. One thing you can do to
at least improve the quality of the errors you get is to use the
suppressions file in util/valgrind-suppressions. The python interpreter
does a lot of things which upset valgrind, and this tells valgrind mostly
to ignore
Hi Sindhuja,
Yes, there is an expectation that valgrind causes a slowdown. Let me give
you a couple of suggestions.
1. Make sure you compile without tcmalloc (e.g., scons
build//gem5.opt --without-tcmalloc). Using tcmalloc will make
valgrind miss all allocations.
2. Use the suppressions file in