Page 1 of 1

Linux compiled astonisingly faster than Windows binaries

Posted: Sat Jan 20, 2018 12:14 pm
by Oberlus
Recently I got my laptop upgraded to Ubuntu 16.04 and could compile FO. Laptop's CPU is slower than the desktop's, but FO application load, next turn and save/load game are around 10x faster in the laptop. Sweet. I know compiling in your system allows for extra optimisations of the code, but that's crazy.
Would I get a similar performance in Windows if I'd compile from source code?

Re: Linux compiled astonisingly faster than Windows binaries

Posted: Mon Jan 22, 2018 1:31 pm
by Ophiuchus
Oberlus wrote:Recently I got my laptop upgraded to Ubuntu 16.04 and could compile FO. Laptop's CPU is slower than the desktop's, but FO application load, next turn and save/load game are around 10x faster in the laptop.
I am not sure I understand. Do you compare self-compiled vs the binaries from the ubuntu-repositories on the same machine?
Sweet. I know compiling in your system allows for extra optimisations of the code, but that's crazy.
Would I get a similar performance in Windows if I'd compile from source code?
Dont think so. Maybe my setup is bonked but on my windows machine the self-compiled feels slower than the downloaded binaries.

Re: Linux compiled astonisingly faster than Windows binaries

Posted: Mon Jan 22, 2018 11:17 pm
by Oberlus
Ophiuchus wrote:
Oberlus wrote:Recently I got my laptop upgraded to Ubuntu 16.04 and could compile FO. Laptop's CPU is slower than the desktop's, but FO application load, next turn and save/load game are around 10x faster in the laptop.
I am not sure I understand. Do you compare self-compiled vs the binaries from the ubuntu-repositories on the same machine?
I skipped some important information: my desktop runs Ubuntu 12.04 and Windows 7 (so I couldn't play FO in that linux and I always played in the Windows 7 machine, until now).
So I was comparing laptop with Linux and compiled FO vs desktop with Windows 7 and Vezzra's binaries. Now I saw my laptop has 8 cores while my desktop has 4, but desktop's are faster. Might it be that the extra cores speed up FO next turn process?
Maybe my setup is bonked but on my windows machine the self-compiled feels slower than the downloaded binaries.
Wow, that's sad. Then I won't put any effort on having a working compiling station on my Windows.

Re: Linux compiled astonisingly faster than Windows binaries

Posted: Mon Jan 22, 2018 11:35 pm
by Geoff the Medio
Oberlus wrote:Might it be that the extra cores speed up FO next turn process?
If a game includes AIs or has multiple thread for effects processing enabled, yes.