[gem5-users] Re: Query: Valgrind speed in FS

2021-09-10 Thread Sindhuja Gopalakrishnan Elango via gem5-users
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

[gem5-users] Re: Query: Valgrind speed in FS

2021-09-07 Thread Gabe Black via gem5-users
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

[gem5-users] Re: Query: Valgrind speed in FS

2021-09-07 Thread Jason Lowe-Power via gem5-users
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