Re: Valgrind runs way slower on faster PC

Simon Sobisch <[email protected]> Mon, 10 Feb 2025 12:26:22 +0100
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
Just out of interest: can you run

     perf stat yourprog

(depending on your setup that may need root or a temporary adjustment of 
the paranoid setting) on both machines and share the results - just to 
know what we're actually talking about...

Simon

Am 10.02.2025 um 11:02 schrieb Lev Yudalevich:
> The program being tested is not single-threaded. In fact, it is 
> "extremely" multi-threaded. That's why I was expecting faster runs.
> 
> On Mon, 10 Feb 2025 at 11:54, David Faure <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     On Monday, 10 February 2025 09:44:39 Lev Yudalevich wrote:
>      > My first PC has i7-6700K @ 4.00GHz x 8 CPU, 32GiB RAM
>      > My second PC has i7-10700 @ 2.90GHz x 16 CPU, 64GiB RAM
>      > Both machines have identical OS installation (Ubuntu 22.04.5 LTS)
>     rest of
>      > the software (toolchains etc).
>      > However, running Valgrind (version 3.25.0.GIT) with the same test
>     program
>      > on a second (presumably more powerful) machine is more than twice
>     slower
>      > than running the same on the first machine. What can be a reason
>     for this?
>      > I'd really appreciate any hint/help/idea. Thank you. Lev.
> 
>     2.9 GHz < 4.0 GHz so it seems to me the second PC has a slower CPU.
>     Assuming that the program is single-threaded, this explains why the
>     second
>     machine is actually slower.
> 
>     -- 
>     David Faure, [email protected] <mailto:[email protected]>, http://
>     www.davidfaure.fr <http://www.davidfaure.fr>
> 
> 
> 
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users