FreeOrion

Forums for the FreeOrion project
It is currently Wed May 23, 2018 5:16 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Jan 20, 2018 12:14 pm 
Offline
Vacuum Dragon
User avatar

Joined: Mon Apr 10, 2017 4:25 pm
Posts: 516
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?


Top
 Profile  
 
PostPosted: Mon Jan 22, 2018 1:31 pm 
Offline
Space Dragon

Joined: Tue Sep 30, 2014 10:01 am
Posts: 424
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?

Quote:
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.

_________________
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
PostPosted: Mon Jan 22, 2018 11:17 pm 
Offline
Vacuum Dragon
User avatar

Joined: Mon Apr 10, 2017 4:25 pm
Posts: 516
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?

Quote:
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.


Top
 Profile  
 
PostPosted: Mon Jan 22, 2018 11:35 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12188
Location: Munich
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group