Shared OpenTTD server
Posted: 12 May 2021 18:05
Hello, i've run OpenTTD server for russian community.
The problem is - when i run my server on 2048*1024 map, my CPU is up to 80% usage and server game is slowing down.
my server config is 1*2.2Ghz CPU + 1Gb RAM
Some notes:
- when i had 3 companies, and 150 trains - usage was about 40%
- when i had 10 companies and ~2000 trains - 80-95%
Questions:
1. Is OpenTTD single-thread, if i request 2 CPU the problem would gone ?
2. How can i reduce CPU usage:
2.1 Stop Trees growing
2.2 Probably ban Path Signal (?)
Could you suggest - how can i boost up my server ?
- Increase CPU core count
- Increase CPU frequency (2.2->3.2Ghz)
- Disable some settings on the server side ?
The problem is - when i run my server on 2048*1024 map, my CPU is up to 80% usage and server game is slowing down.
my server config is 1*2.2Ghz CPU + 1Gb RAM
Some notes:
- when i had 3 companies, and 150 trains - usage was about 40%
- when i had 10 companies and ~2000 trains - 80-95%
Questions:
1. Is OpenTTD single-thread, if i request 2 CPU the problem would gone ?
2. How can i reduce CPU usage:
2.1 Stop Trees growing
2.2 Probably ban Path Signal (?)
Could you suggest - how can i boost up my server ?
- Increase CPU core count
- Increase CPU frequency (2.2->3.2Ghz)
- Disable some settings on the server side ?