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?
Linux compiled astonisingly faster than Windows binaries
Moderator: Oberlus
Re: Linux compiled astonisingly faster than Windows binaries
I am not sure I understand. Do you compare self-compiled vs the binaries from the ubuntu-repositories on the same machine?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.
Dont think so. Maybe my setup is bonked but on my windows machine the self-compiled feels slower than the downloaded binaries.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?
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Linux compiled astonisingly faster than Windows binaries
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).Ophiuchus wrote:I am not sure I understand. Do you compare self-compiled vs the binaries from the ubuntu-repositories on the same machine?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.
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?
Wow, that's sad. Then I won't put any effort on having a working compiling station on my Windows.Maybe my setup is bonked but on my windows machine the self-compiled feels slower than the downloaded binaries.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Linux compiled astonisingly faster than Windows binaries
If a game includes AIs or has multiple thread for effects processing enabled, yes.Oberlus wrote:Might it be that the extra cores speed up FO next turn process?