multicore/multithread optimization?
Moderator: TM-Patrol
-
- smooth traffic navigator
- Posts: 260
- Joined: 04 Dec 2006 11:10
- Owned TM-games: all
- Manialink(s): redlion, ming
multicore/multithread optimization?
i wonder how good trackmania can make use of more than one core/thread?
because as far as i can see it only uses one single core (the first one), this often at max, wheras all other cores are nearly empty.
this gives me lags from time to time, even if the option "enable multi-threads" is enabled.
is there a way to better optimize trackmania for multicore systems, some special options or similar?
thanx
because as far as i can see it only uses one single core (the first one), this often at max, wheras all other cores are nearly empty.
this gives me lags from time to time, even if the option "enable multi-threads" is enabled.
is there a way to better optimize trackmania for multicore systems, some special options or similar?
thanx
- Wolf68k
- speedy pilot
- Posts: 590
- Joined: 23 Jan 2009 16:33
- Owned TM-games: TMS, TMUF, TMNF
- Location: Houston, Texas
Re: multicore/multithread optimization?
There's a setting ingame to enable multi-threads? Where?
My game runs smooth as silk for me an I have a C2Q Q8200.
I never looked to see how many cores were being used before. With the help of RivaTuner's Hardware monitor I saw that Core3 was getting most of the use at around 70-80% and that Core0 was only around 50% usually just under. Cores1 and 2 stayed around 10% so I don't really count that for much of anything. So yeah I'd say for the most part it only used the 1 core.
My game runs smooth as silk for me an I have a C2Q Q8200.
I never looked to see how many cores were being used before. With the help of RivaTuner's Hardware monitor I saw that Core3 was getting most of the use at around 70-80% and that Core0 was only around 50% usually just under. Cores1 and 2 stayed around 10% so I don't really count that for much of anything. So yeah I'd say for the most part it only used the 1 core.
TM name: wolf68k
Display name: Wolf68k (the 8 is actually white ingame, kinda hard to do here)
Display name: Wolf68k (the 8 is actually white ingame, kinda hard to do here)
- Generator
- speedy pilot
- Posts: 339
- Joined: 18 Apr 2008 00:35
- Owned TM-games: TMNF - TMUF
- Manialink(s): Generator
- Location: Lancashire, England
- Contact:
Re: multicore/multithread optimization?
He's reffering to the launcher Wolf (its in 'Configure\Advanced\Compatability\'), as shown below.

I couldn't comment on how well TM uses it though, my dually seems fair even in usage but that could be the 'AMD Dual-Core Optimizer' doing its stuff.

I couldn't comment on how well TM uses it though, my dually seems fair even in usage but that could be the 'AMD Dual-Core Optimizer' doing its stuff.
Customize your virtual world to the max! >> http://www.virtualcustoms.net
3D Models, 2D skins & horns on my Manialink >> Generatorcolor>
3D Models, 2D skins & horns on my Manialink >> Generatorcolor>
- Wolf68k
- speedy pilot
- Posts: 590
- Joined: 23 Jan 2009 16:33
- Owned TM-games: TMS, TMUF, TMNF
- Location: Houston, Texas
Re: multicore/multithread optimization?
I forgot to look there. Thanks.
TM name: wolf68k
Display name: Wolf68k (the 8 is actually white ingame, kinda hard to do here)
Display name: Wolf68k (the 8 is actually white ingame, kinda hard to do here)
- anonymous345
- happy cruiser
- Posts: 146
- Joined: 30 Jun 2008 00:55
- Owned TM-games: TMN, TMNF, TMUF, TM2
Re: multicore/multithread optimization?
my cpu usage wasn't that bad with the multi-threads enabled on my dual core

I had a few other programs running at the same time but they weren't doing anything

I had a few other programs running at the same time but they weren't doing anything

-
- smooth traffic navigator
- Posts: 260
- Joined: 04 Dec 2006 11:10
- Owned TM-games: all
- Manialink(s): redlion, ming
Re: multicore/multithread optimization?
thanx for your answers.
after some further research i found out that there is in fact a problem with some cpu's...
dualcore (core2duo) seem to work fine, and both of the cores are used at almost the same level.
tripple core (like amd phenom 8750 model), and for my part nehalem Xeons E5520 (quadcore) seem to have the problem that only the first core is used and this almost at max, for whatever reason...
what about other cpu's and architectures? any reports? can anyone else confirm this issue?
after some further research i found out that there is in fact a problem with some cpu's...
dualcore (core2duo) seem to work fine, and both of the cores are used at almost the same level.
tripple core (like amd phenom 8750 model), and for my part nehalem Xeons E5520 (quadcore) seem to have the problem that only the first core is used and this almost at max, for whatever reason...
what about other cpu's and architectures? any reports? can anyone else confirm this issue?
- Leak
- speedy pilot
- Posts: 497
- Joined: 13 Aug 2005 10:01
- Owned TM-games: TMO, TMS, TMU
- Location: Linz, Austria
- Contact:
Re: multicore/multithread optimization?
Ignore the CPU graphs. That's just the OS bouncing one thread around between several cores, usually to distribute the generated heat evenly over the CPU die.ming wrote:dualcore (core2duo) seem to work fine, and both of the cores are used at almost the same level.
tripple core (like amd phenom 8750 model), and for my part nehalem Xeons E5520 (quadcore) seem to have the problem that only the first core is used and this almost at max, for whatever reason...
What's the total CPU usage shown in task manager? If it's 50% for a dual core or 25% for a quad core CPU the game is still only using the equivalent of a single core.
np: DOOM - Cellz (Born Like This)
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
Intel Core 2 Quad Q9450, 2x ATI Radeon 4850 512MB, Creative Soundbastler X-Fi Platinum, 2GB RAM, XBox 360 Controller
Intel Core 2 Quad Q9450, 2x ATI Radeon 4850 512MB, Creative Soundbastler X-Fi Platinum, 2GB RAM, XBox 360 Controller
- anonymous345
- happy cruiser
- Posts: 146
- Joined: 30 Jun 2008 00:55
- Owned TM-games: TMN, TMNF, TMUF, TM2
Re: multicore/multithread optimization?
not necessarily, if you're limited by your gpu then you can't say the game is using the equivalent of a single coreLeak wrote:Ignore the CPU graphs. That's just the OS bouncing one thread around between several cores, usually to distribute the generated heat evenly over the CPU die.ming wrote:dualcore (core2duo) seem to work fine, and both of the cores are used at almost the same level.
tripple core (like amd phenom 8750 model), and for my part nehalem Xeons E5520 (quadcore) seem to have the problem that only the first core is used and this almost at max, for whatever reason...
What's the total CPU usage shown in task manager? If it's 50% for a dual core or 25% for a quad core CPU the game is still only using the equivalent of a single core.
np: DOOM - Cellz (Born Like This)

-
- smooth traffic navigator
- Posts: 260
- Joined: 04 Dec 2006 11:10
- Owned TM-games: all
- Manialink(s): redlion, ming
Re: multicore/multithread optimization?
well the global cpu utilisation does usually not exceed 7-8% when running trackmania plus usual backround tasks like AV aso... this is for me even more annoying since my system can virtually treat 16 threads spread over 8 cores, and as i said, tm makes only use of one single thread, despite the fact hat the mulithread option is enabled!Leak wrote:Ignore the CPU graphs. That's just the OS bouncing one thread around between several cores, usually to distribute the generated heat evenly over the CPU die.ming wrote:dualcore (core2duo) seem to work fine, and both of the cores are used at almost the same level.
tripple core (like amd phenom 8750 model), and for my part nehalem Xeons E5520 (quadcore) seem to have the problem that only the first core is used and this almost at max, for whatever reason...
What's the total CPU usage shown in task manager? If it's 50% for a dual core or 25% for a quad core CPU the game is still only using the equivalent of a single core.
np: DOOM - Cellz (Born Like This)
the GPU is definitely not involved into this issue, since i run tm with nearly constant 60FPS limited by v-sync.
and i must also say that other apps/games run good, and are better spread around on the different cores.
and i repeat, my problem is not that the game is unplayable laggy, it runs very smooth, i have only some microlags from time to time, wich is due to t the fact that the tm-thread hits 100% usage of the first core!
anyhow, i will try to find more people concerned by this issue, to try to pinpoint the source of the problem...
-
- speed demon
- Posts: 1623
- Joined: 08 Mar 2006 17:10
- Owned TM-games: all PC versions
- Manialink(s): Tom.CZ.73, sQs
- Location: Czech Republic
- Contact:
Re: multicore/multithread optimization?
There is no game which can benefit form 16physical cores, you will be always limited by GPU. I bought i7 few month ago amd according to my abservation Capcom MT Framework is best multithreading engine i have seen so far
-
- smooth traffic navigator
- Posts: 260
- Joined: 04 Dec 2006 11:10
- Owned TM-games: all
- Manialink(s): redlion, ming
Re: multicore/multithread optimization?
yes, i totally agree with you.Tom.CZ.73 wrote:There is no game which can benefit form 16physical cores, you will be always limited by GPU. I bought i7 few month ago amd according to my abservation Capcom MT Framework is best multithreading engine i have seen so far
but why does trackmania uses all cores on some systems without any trouble, and one other ones it only uses one single core, depsite the fact that the mulithread option is enabled? thats what i dont get... are there maybe incompatibilities between that piece of code and some (newer) CPU's, or is that option limited to some specific architectures?
-
- speed demon
- Posts: 1623
- Joined: 08 Mar 2006 17:10
- Owned TM-games: all PC versions
- Manialink(s): Tom.CZ.73, sQs
- Location: Czech Republic
- Contact:
Re: multicore/multithread optimization?
This is first time I hear that TM is capable to (efective) use more cores. As I heard so far TM loads one core to 95% and second approximately about 25% at hi-end PC. Maybe on PC with slower dualcore CPU TM load first core to 100% and second at 75% which could be considered as "uses all cores (efectively)"
-
- smooth traffic navigator
- Posts: 260
- Joined: 04 Dec 2006 11:10
- Owned TM-games: all
- Manialink(s): redlion, ming
Re: multicore/multithread optimization?
well my cpu has the same base-architechture as yours, so if my theory is right, you might be in the same case as i am.
and yeas, it seems that some cpu's different cores are used near equal, f.ex: http://tm-forum.com/viewtopic.php?p=150537#p150537
and thats what i was told by some friends.
but i guess it would be great to have a confirmation from nadeo, to clear up this issue
and yeas, it seems that some cpu's different cores are used near equal, f.ex: http://tm-forum.com/viewtopic.php?p=150537#p150537
and thats what i was told by some friends.
but i guess it would be great to have a confirmation from nadeo, to clear up this issue

- TStarGermany
- speedy pilot
- Posts: 387
- Joined: 27 Aug 2006 18:12
- Owned TM-games: TMN,TMNF,TMUF
- Manialink(s): creative
- Location: GER
- Contact:
Re: multicore/multithread optimization?
one comment: i got a core2duo system and only turning the multithread option OFF will eliminate the stuttering i had when playing the game earlier.

- Leak
- speedy pilot
- Posts: 497
- Joined: 13 Aug 2005 10:01
- Owned TM-games: TMO, TMS, TMU
- Location: Linz, Austria
- Contact:
Re: multicore/multithread optimization?
I have the feeling I keep repeating the same explanation over and over again each time this comes up.ming wrote:yes, i totally agree with you.
but why does trackmania uses all cores on some systems without any trouble, and one other ones it only uses one single core, depsite the fact that the mulithread option is enabled? thats what i dont get... are there maybe incompatibilities between that piece of code and some (newer) CPU's, or is that option limited to some specific architectures?

That's the OS's scheduler bouncing the one thread TM uses around the cores to (more or less) evenly distribute the load on the cores and keep the overall temperature down. It doesn't do this with all kinds of CPUs, just with some of them.
If you look at the "CPU usage" reading, it'll still be around 50% for dual cores or 25% for quad cores, i.e. it'll run just as fast or slow had you set the game's CPU affinity to a single core.
np: DOOM - Angelz ft. Tony Starks (Born Like This)
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
Intel Core 2 Quad Q9450, 2x ATI Radeon 4850 512MB, Creative Soundbastler X-Fi Platinum, 2GB RAM, XBox 360 Controller
Intel Core 2 Quad Q9450, 2x ATI Radeon 4850 512MB, Creative Soundbastler X-Fi Platinum, 2GB RAM, XBox 360 Controller