Page 2 of 2
Re: Strange speed up with unused variables
Posted: Fri May 07, 2021 3:57 pm
by Saki
My suspicion was in itself the same as Nick's.
There are probably shifts, because the unused variables are not removed.
Re: Strange speed up with unused variables
Posted: Fri May 07, 2021 4:20 pm
by NicTheQuick
Btw: Why do I have such low values? Is the code that much faster on Linux or what could be the reason? I don't think that my CPU is much faster than any of yours.
Re: Strange speed up with unused variables
Posted: Fri May 07, 2021 4:38 pm
by Saki
Hi, yes, I had also expected more from it.
I don't have native Linux here unfortunately, only a VM on an old i7, for the other OS except Windows.
I have turned off the Core Boost.
With Core Boost, you also need water cooling with this thing or the fan will annoy you endlessly with eternal up and down.
But even the water cooling has fans, which are far less annoying but still a clear up and down.
Practically in normal operation, the boost doesn't bring anything either.
With my medium graphics card, the thing runs extremely fast in games, which is probably the primary use case for this CPU.
Unfortunately, I do not game is only because of the GPU support.
With boost ~ 715 / 870
It has become quieter and quieter with the newer bios versions.
With the first Bios versions I thought there is something broken, so crazy was that.
Re: Strange speed up with unused variables
Posted: Fri May 07, 2021 6:00 pm
by cas
Saki wrote: Fri May 07, 2021 3:44 pm
Hi cas
Without Thread save 5014 / 42.855
With Thread save 5029 / 62.086
Can you run it without debugger (compiler -> compile without debugger) and post number of passes you get for each case? Thanks
Re: Strange speed up with unused variables
Posted: Fri May 07, 2021 6:52 pm
by Saki
Sorry, I was still at work and not with the thing.
Non TS :
3574 / 5000 / 1.399
3544 / 5000 / 1.411
3539 / 5000 / 1.413
TS :
3573 / 5000 / 1.399
3590 / 5000 / 1.393
3591 / 5001 / 1.393
Re: Strange speed up with unused variables
Posted: Fri May 07, 2021 10:07 pm
by cas
Thanks for testing. It looks like i am the only one with a huge difference for that code snippet.
Re: Strange speed up with unused variables
Posted: Sat May 08, 2021 6:51 am
by Cyllceaux
cas wrote: Fri May 07, 2021 10:07 pm
Thanks for testing. It looks like i am the only one with a huge difference for that code snippet.
No, I have this problems too. (I answered your post)
Re: Strange speed up with unused variables
Posted: Sat May 08, 2021 10:36 am
by cas
I was talking about this code snippet from other thread: