Re: Valgrind runs way slower on faster PC
Lev Yudalevich <[email protected]> Mon, 10 Feb 2025 12:02:55 +0200
| Newsgroups | gmane.comp.debugging.valgrind |
|---|---|
| Message-ID | <CA+zUDe2PcYW47vDKO7Dr8KfwWgCfufOCcsY=Zai5wUtN-rc-cA@mail.gmail.com> |
--===============3808026245116662897== Content-Type: multipart/alternative; boundary="0000000000009783fd062dc6d0b3" --0000000000009783fd062dc6d0b3 Content-Type: text/plain; charset="UTF-8" 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]> 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], http://www.davidfaure.fr > --0000000000009783fd062dc6d0b3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">The program being tested is not single-threaded. In fact, = it is "extremely" multi-threaded. That's why I was expecting = faster runs.</div><br><div class=3D"gmail_quote gmail_quote_container"><div= dir=3D"ltr" class=3D"gmail_attr">On Mon, 10 Feb 2025 at 11:54, David Faure= <<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<br></div= ><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border= -left:1px solid rgb(204,204,204);padding-left:1ex">On Monday, 10 February 2= 025 09:44:39 Lev Yudalevich wrote:<br> > My first PC has i7-6700K @ 4.00GHz x 8 CPU, 32GiB RAM<br> > My second PC has i7-10700 @ 2.90GHz x 16 CPU, 64GiB RAM<br> > Both machines have identical OS installation (Ubuntu 22.04.5 LTS) rest= of<br> > the software (toolchains etc).<br> > However, running Valgrind (version 3.25.0.GIT) with the same test prog= ram<br> > on a second (presumably more powerful) machine is more than twice slow= er<br> > than running the same on the first machine. What can be a reason for t= his?<br> > I'd really appreciate any hint/help/idea. Thank you. Lev.<br> <br> 2.9 GHz < 4.0 GHz so it seems to me the second PC has a slower CPU.<br> Assuming that the program is single-threaded, this explains why the second = <br> machine is actually slower.<br> <br> -- <br> David Faure, <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= rg</a>, <a href=3D"http://www.davidfaure.fr" rel=3D"noreferrer" target=3D"_= blank">http://www.davidfaure.fr</a><br> </blockquote></div> --0000000000009783fd062dc6d0b3-- --===============3808026245116662897== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3808026245116662897== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users --===============3808026245116662897==--