Program performance problems July 16, 2010, 04:35:38 pm Hi, I'm having few performance related problems running Simutrans. I have a fairly large and busy map. On loading the map it quite regularly have a vehicle behaving strangely and refuse to move. After running the program for a while frequently I have errors with route possession not released or level crossing stuck. It is also very slow to close, it takes a few minutes for the program to close after I press Quit. Is there any boundaries to the Simutrans program in relation to number of vehicles in use, number of routes, map size, etc? Appreciate tips to improving performance. Quote Selected
Re: Program performance problems Reply #1 – July 16, 2010, 05:53:42 pm Could you please give more details about the map size, amount of cities and vehicles, and finally pc characteristics, OS, Simutrans version and pakset you're using? Quote Selected
Re: Program performance problems Reply #2 – July 17, 2010, 03:41:14 am I'm running Simutrans 102.2.2, with pak128.Britain 1.07Map size: 896x448, Cities: 33Total inhabitants: 1,755,905Total p****engers: 4,638,906Total goods: 9,759,956Trips last year: 19,795,956Active vehicles: about 1300My computerIntel Core 2 Duo P8400 2.26GHz, 4GB RAM, Windows 7 x64I just timed it, it takes 2:30 minutes to quit the program. Quote Selected
Re: Program performance problems Reply #3 – July 17, 2010, 03:46:18 pm Using same Simutrans version, pak128.Britain 1.08 (I think, should not matter)Map size: 1024x1024Cities: 256Total inhabitants: 273,911Trips last year: 4,934,199Active vehicles: 14934 years old computer with less specs than yours, Windows XP.I have no performance problems whatsoever. It quits for instance in a few seconds.So, it is either something on your computer (virus checker?), or the number of inhabitants is playing a role. Quote Selected
Re: Program performance problems Reply #4 – July 24, 2010, 08:40:52 pm It may help to reduce the frame pre second setting. either on the command line (-fps 10) or in your simuconf.tab.You can also try the simutrans 102.2.2 GDI version, which is built without any debug support and can thus handle about twice the normal load. Quote Selected
Re: Program performance problems Reply #5 – July 28, 2010, 03:51:59 am Thank you Combuijs and prissi. I sent my computer away to fix an unrelated problem, hence the long silence.I downloaded the gdi version and it now runs much better. Here's the stats, same map, same computer, same pak, both 102.2.2; Running On Exit CPU Memory CPU Memory Time TakenSimutrans sdl 26-35 113,076 41-57 113,160 2:23Simutrans gdi 15-23 118,492 46-54 118,528 0:56May I suggest this info (gdi version can handle higher load) be put on the wiki and download page so everyone is aware of it. Quote Selected
Re: Program performance problems Reply #6 – July 28, 2010, 11:38:28 am That really depends only on compiler settings. It is not neccessary true for the next version. Quote Selected
Re: Program performance problems Reply #7 – July 30, 2010, 12:45:55 pm It also depends on the hardware details. For some people the SDL works better for others the GDI version. Quote Selected