Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-11 Thread John Reiser
On 2/10/25 12:44 AM, 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.2

Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-11 Thread Paul Floyd via Valgrind-users
On 10-02-25 09:44, 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.

Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-10 Thread Lev Yudalevich
Sure. Here we go: perf stat on first PC (i7-6700K @ 4.00GHz x 8 CPU, 32GiB RAM): 395,282.24 msec task-clock #5.612 CPUs utilized 4,982,318 context-switches # 12.604 K/sec 1,258,234 cpu-migrations #

Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-10 Thread Simon Sobisch
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 Yudalev

Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-10 Thread Lev Yudalevich
Now I got it. Thank you very much! On Mon, 10 Feb 2025 at 12:17, Tobias Bading wrote: > On 10. Feb 2025, at 11:04, Lev Yudalevich wrote: > > The program being tested is not single-threaded. In fact, it is > "extremely" multi-threaded. That's why I was expecting faster runs. > > > Your applicati

Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-10 Thread Tobias Bading via Valgrind-users
> On 10. Feb 2025, at 11:04, Lev Yudalevich wrote: > The program being tested is not single-threaded. In fact, it is "extremely" > multi-threaded. That's why I was expecting faster runs. Your application does not run multi-threaded under Valgrind, see https://valgrind.org/docs/manual/manual-cor

Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-10 Thread 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 wrote: > On Monday, 10 February 2025 09:44:39 Lev Yudalevich wrote: > > My first PC has i7-6700K @ 4.00GHz x 8 CPU, 32GiB

Re: [Valgrind-users] Valgrind runs way slower on faster PC

2025-02-10 Thread David Faure
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, runnin

[Valgrind-users] Valgrind runs way slower on faster PC

2025-02-10 Thread Lev Yudalevich
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 secon