Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multithreading #6157

Closed
DorpsGek opened this issue Oct 28, 2014 · 3 comments
Closed

multithreading #6157

DorpsGek opened this issue Oct 28, 2014 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

deep42thought opened the ticket and wrote:

Hi,

it would be nice to have a multithreaded openttd, which scales well with the available CPU(core)s. I understand, that this is a serious change in the code, but I think, it is rather nice and inevitable for future generations of cpus, which usually increase number of cores and not frequency.
I played a long time with an older version (<=1.2.0), which brought it to 13% cpu usage on 8 cores in a large "common" game, and just briefly checked out 1.4.4, which seems to get to 14% with the old game.

greetings,
deep42thought

Reported version: other
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6157
@DorpsGek
Copy link
Member Author

Marctraider wrote:

Try compiling with a recent intel compiler, it can speed up the game significantly, well at least on intel cpu's. cant say much for AMD since i do not posses one.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6157#comment13590

@DorpsGek
Copy link
Member Author

Marctraider wrote:

A 'fully multi threaded' game is not going to happen though. but it does partial multi threading, i can often get 30 cpu out of 25 (100 *4) with 4 cores so its definately using more then one core, sometimes noticable with fast forward :p


This comment was imported from FlySpray: https://bugs.openttd.org/task/6157#comment13591

@DorpsGek
Copy link
Member Author

andythenorth closed the ticket.

Reason for closing: Won't implement

Additional multi-threading is not a current goal for OpenTTD.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6157

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant