Enable multithreading in TF2 and DOD:S

Associate
Joined
9 Jun 2008
Posts
349
This may have already been posted somewhere on ocuk, but someone helped me find a command that enables multithreading (for dual/triple/quad core CPUs) in team fortress 2 and day of defeat: source.

I have an AMD 4200X2 @ 2.8Ghz, this was the effect in Day of Defeat: Source, the fps is displayed bottom right;

Before
After

Quite a considerable increase isn't it? But I guess as my CPU is quite poor now it will increase a lot because it was a bottleneck.



OK so to do this (make sure you have a multiple core CPU!), in the game console add this line:

mat_queue_mode 2

I recommend firstly though you show the fps (net_graph 1 in console, 0 to get rid of it), just so you can see if there is a difference.

To make this permanent:
Open Notepad
Make a document
Add the line mat_queue_mode 2 on its own
Save as autoexec.cfg (Make sure save as 'All files' is selected!)
Save it in (#:/program files/steam/steamapps/username/*day of defeat source/dod/cfg or *team fortress 2/tf/cfg)


Hope this helps some people!
 
Nice increase ! :cool:
Is it just TF2 and DOD:S that this can work in, or can other HL2 engined games also have this config applied to them ?

Not sure mate, I haven't tried it. If the command is there on CSS or other mods in the console, I presume it will be. I don't have any other source games installed though, so you'll have to try it mate.

Sinny said:
Also just a quick note i want to get DoD Source how many active servers are up?

Yes mate, there are plenty up. Its not a dead game by far :)
 
Last edited:
Ahh I haven't had a single crash yet so I must just be a fortunate one. I need to test the sniper on TF2 though. All the people I have asked to put that command in have reported a nice fps boost, none have reported a crash.
 
I've just played TF2 for about a hour, no crashes, and my sniper scope works fine.

Admittedly the fps boost wasn't as great as in DOD, but was still pretty hefty (from about 70 to 100).

I guess at the moment its hit'n'miss, but I presume its hard for Valve to re-engineer the engine to support multithreading, rather than games that were built from scratch to support it.

any news on this working on css?

No it doesn't until they update it to the later source engine.
 
Back
Top Bottom