investigating a performance worse than expected I fell over the following phenomena:
I have two Linux 64 executables named "olithink589" on a new Debian Linux with an idle AMD EPYC 7502P 32-Core Processor. One is in the current folded and another, older one is in "bin". The identity is checked by:
This result is always reproducible and quite surprising: One executable is more than 6% faster than the other one. There are other executables in "bin" which are not affected by such slowdown.
Is there any explanation?
I remember one case when syzygys drop_cache definitely helped so I'm using this before running tests on Linux and an "EmptyStandyList.exe" tool I found for Windows that should do similar.
I would not use diff, but use e.g. md5sum.
Because I'm not sure what happens if the difference is a \cr or a 0x00.
OliverBr wrote: ↑Sun Oct 25, 2020 12:57 am
Hello together,
investigating a performance worse than expected I fell over the following phenomena:
I have two Linux 64 executables named "olithink589" on a new Debian Linux with an idle AMD EPYC 7502P 32-Core Processor. One is in the current folded and another, older one is in "bin". The identity is checked by:
This result is always reproducible and quite surprising: One executable is more than 6% faster than the other one. There are other executables in "bin" which are not affected by such slowdown.
Is there any explanation?
"diff" would say "binary files differ" if they were different. But you don't need something like md5sum which requires to type several commands ... To determine whether two arbritrary files A and B are different at all, just type:
If that produces empty output then A and B are binary identical. "cmp" should be slightly faster than "diff" because it does not try to present differences it finds but simply stops at the first difference.
Sven Schüle (engine author: Jumbo, KnockOut, Surprise)
Sven wrote: ↑Sun Oct 25, 2020 6:33 pm
"diff" would say "binary files differ" if they were different. But you don't need something like md5sum which requires to type several commands ... To determine whether two arbritrary files A and B are different at all, just type:
If that produces empty output then A and B are binary identical. "cmp" should be slightly faster than "diff" because it does not try to present differences it finds but simply stops at the first difference.
several commands? for md5sum?
folkert@msi:~$ echo hallo > a
folkert@msi:~$ echo Hallo > b
folkert@msi:~$ md5sum a b
aee97cb3ad288ef0add6c6b5b5fae48a a
3290ec3c19a8a39362f7d70043f15627 b
flok wrote: ↑Sun Oct 25, 2020 2:35 pm
I would not use diff, but use e.g. md5sum.
It doesn't matter.
Both files are absolutely identical. I also copied olithink589 from "bin" to another directory and got again the better (expected) performance of about 2220 knps. Only in the directory "bin" it's slower. Other executables in "bin" aren't slower.
I remember one case when syzygys drop_cache definitely helped so I'm using this before running tests on Linux and an "EmptyStandyList.exe" tool I found for Windows that should do similar.
Regards, Andreas
Yes, thank you, drop_cache helped!
PS: Up to 20 ELO drop is about the same I encountered in my case. I never would have thought that 6% performance loss yields to such a big difference in ELO.