![]() Nandini | Using processAffinityMask CVAR in config.wtfWed, 09/26/07 01:51:03 PM PDT Update - 2/2/2010 by Datth Manually adjusting this file is no longer needed as of 3.3.2 unless you're trying to run the game on specific cores. It is now uncapped so it will run on whatever core your OS deems as fit. Players who would like to restore the old behavior can do so by updating the Config.WTF file by adding: SET processAffinityMask "3". ---------------- I had no idea this thread would still be generating interest 2 years after I started it! I've edited out the old 4-core chart since Datth's chart is more useful anyway. I'm still happily using all my cores here. :) In machines with more than 2 logical processors (whether they are multiple physical processors, multiple DualCore or single QuadCore processors, or DualCore + HT processors), a new variable is saved to the config.wtf file. The processAffinityMask variable is a decimal number composed of a binary mask representing which cores WoW will allow certain threads to be scheduled on. By default, this variable is set to "3" representing logical processors 1 and 2. The chart can be extended to this format:
On my system, I seem to get better performance (higher FPS) when changing the mask to "15", even though I only have 1 physical processor with 2 cores and HyperThreading. I'm curious to know, which threads does this mask schedule? With the default affinity mask set to cores 1 and 2, I actually get poorer performance than when I disable HyperThreading. But enabling HyperThreading (to get those extra two logical processors) and changing the mask to "15" seems to give me about 20 more FPS. Are there any consequences to changing this setting, such as instability? Are there any recommendations for changing it from its default value to achieve better performance on systems with 4 or more logical processors? [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.Tue, 10/02/07 09:31:17 AM PDT You can use this to let WoW run on a specific core(s) but it only works up to two cores. If you set it on 15, you just let the game use 2 out of your 4 processors but you didn't tell it which ones. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Tue, 10/02/07 09:47:24 AM PDT As far as I know, it's set to default at 2 (first two cores). Your chart above describes how the number (when translated to binary positions) describe what you can set it to to enable the cores you want. I think on a hyperthread system, the system counts [Real core][HT core][Real core][HT core]. You might want to try "5" instead of "15" Also note that some system drivers take advantage of both Hyperthreading and multicore so you might notice a bigger bump in certain hardware/driver setups. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Fri, 02/01/08 12:20:59 PM PST It's technically not backwards as the OP started 1 from the left column. In your column, you started one on the right, binary style. It's just your chart inverted, making it a bit non-computer friendly. :) I have a hard time noticing it until you mentioned it. I can invert and flip things in my head at will so I can read things spelled backwards, upside down or inverted. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfThu, 10/09/08 12:59:05 PM PDT
It natively does that by itself unless you restrict it via Task Manager or the processAffinityMask cvar. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfThu, 10/09/08 01:05:06 PM PDT Yeah. Leave it alone unless you have some specific needs, like you're running a vent server or something on its own core and you don't want anything else to touch it. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 01/06/09 04:04:43 PM PST Just an update, this cvar can support up to 32 processors. Just extend the binary to fit your needs. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 04/16/09 05:09:05 PM PDT There is no three cores, but you can use whatever setting you want. Just beware of the HT cores and not try to load the game into only HT cores. The game only allows binary conversion of the numbers you want. Basically add the numbers: i7:
Performance will vary from system to system. You'll have to experiment yourself. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.Mon, 05/04/09 10:32:52 AM PDT
System setups are too different for us to start setting "optimal" affinity settings. If your system likes the 2nd and 4th cores being used, you're free to do that. You're also free to have multiple copies of World of Warcraft using different processaffinitymask variables for multiboxing if you're into that kind of stuff. We default on 2 cores (processaffinitymask 3). |
![]() Datth | Re: Using processAffinityMask CVAR in config.Mon, 05/04/09 10:43:02 AM PDT Experimenting is the way to go, or you can go with what other people use. At least you don't have an i7 and have up to 255 values to play with. :) |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfFri, 05/08/09 04:20:45 PM PDT 7 is the max that you can use for a triple core. 15 for a quad core, 31 for 6 cores, 255 for an 8 cores. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Fri, 05/15/09 09:07:42 AM PDT
There's actually a ton of threads. The optimization works for 2 cores but that doesn't stop you from telling Windows that it can send threads to different/more cores using processaffinitymask. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Fri, 05/15/09 09:15:55 AM PDT If you have an i7, remember that there's a little turbo feature that you could take advantage of. http://w Something to keep in mind for people trying to tweak processaffinitymask. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 05/21/09 01:48:39 PM PDT
Dual core machines should default to 3 (first and second). |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 05/21/09 01:54:06 PM PDT
If you have more than 1 core or physical processor (think a minimum of an Athlon MP system with 2 processors), processAffinityMask is automatically set to 3. It's the decimal value for 1,1 You don't need to change it unless you want it to use a specific core. If you want it to use the first, change it to 1. If you want it to use the second, change it to 2. If you want it to use both, use 3 or leave it alone since it's already the default. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 06/11/09 10:41:03 AM PDT The OP's chart is inverted. I'm going to update it to this type of format:
[ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 06/11/09 11:08:04 AM PDT
3 has something nice going along for it too: Intel Turbo Boost. Some systems run faster with that than a different affinity setting. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 07/23/09 09:11:18 AM PDT HT helps on smaller scales. Pentium 4 with HT on tends to run World of Warcraft a lot better than equivalently clocked P4s without HT. On a larger scale like the i7, anything goes. You can use this variable to let Windows distribute threads to your other cores. They won't be doing very much work overall but may give you a slight boost. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 07/23/09 09:25:07 AM PDT
World of Warcraft is capped to two cores because we set the default processaffinitymask to 2. There's actually quite a few threads that the game runs but mainly 2 or 3 decent-sized ones and a dozen little ones. Windows can distribute all of these among other cores if you tell it to but you can't specifically tell what thread will go where. You may want to look up the purpose of affinity masks and what it can do for you. http://e |
![]() Datth | Re: Using processAffinityMask CVAR in config.Fri, 08/14/09 08:01:57 AM PDT Addons are managed by the game. You can't set aside a core to run a specific part of WoW. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 08/25/09 01:31:37 PM PDT There are stuff in that mod that can push the game to use too much memory and crash. Beware when you use such a thing. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfFri, 08/28/09 03:18:55 PM PDT This thread isn't for the weak-of-heart or has questions about what affinity does. Those questions will be deleted from this post.
WoW is a 32-bit program. It only has access to 2 GB of memory. Once you go over that, you get a wall-of-text crash. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 09/08/09 08:46:24 AM PDT Just tossing something into the mix: i5 turbo mode behaviors - http://w |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 09/08/09 08:48:37 AM PDT
There's only three sets of chips to break this rule - the high-end Pentium D Extreme processor, higher-end model i5s and all i7s. If you want to see it done differently, you'll want to post on the Suggestions forum. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfFri, 09/11/09 02:42:20 PM PDT Then you have new chips like the i5s messing up the entire picture, where a clock speed bump will net greater increases for the game than spreading it out ;) |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfWed, 09/16/09 12:00:59 PM PDT This isn't the thread to get FPS help. It's more about this variable than anything else. The first generation Phenoms do not perform very well so you're not really going to get much of a push there since this game is more CPU-oriented. You should try checking out the new Athlon II X4s that were released today. They're faster than your first gen Phenom and their price is really low. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Mon, 09/21/09 10:44:05 AM PDT There shouldn't be any problems with that. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfMon, 09/21/09 02:01:49 PM PDT I've built a budget Athlon II X2 250 system about 2 months back, with 4 GB of RAM and a 4850 512 MB card. It was crusing around 50+ in Northrend just flying around and doing quests on High settings. I took it to Naxx 25 and didn't see any numbers below 30. A GeForce 9800 should get equivalent FPS. An Athlon II x4 should be better after the processAffinityMask change. Your best bet is to make a new thread and explain your issue in detail, and also check the report in the NVIDIA Control Panel -> System Information and make sure you're getting the full PCI Express 16 lanes. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 09/22/09 03:50:34 PM PDT
The only dual core processor with Hyperthreading is the Pentium D Extreme Edition. These chips are really rare and costs a bit over $1k at the time for that part alone. Is that what you have? If you put in invalid values, it's going to kick out your numbers and use the defaults. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 09/22/09 04:49:08 PM PDT Pentium 4s only come with one real core. Some of the later models come with Hyperthreading so systems tend to treat those as dual core parts. There's a lot of articles online dealing with the Pentium 4's HT capabilities so try searching for it. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Mon, 10/05/09 08:17:22 AM PDT Phenom X4 is a quad core processor. 15 is its max value (8 + 4 + 2 + 1). You can't turn on cores that don't exist (128 + 64 + 32 + 16 + 8 + 4 + 2 +1). You set it to a goofy setting and the game will reject it. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Mon, 10/05/09 10:35:30 AM PDT Yes |
![]() Datth | Re: Using processAffinityMask CVAR in config.Mon, 10/05/09 11:01:03 AM PDT Windows is usually smart about thread management so it wouldn't hurt the system much. Full screen mode tends to beat windowed mode or windowed+maximized mode but if you're not doing much to tax your desktop composition engine, WoW should still run well in windowed mode. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Mon, 10/19/09 11:16:22 AM PDT Which variable works better for you will be specific to your setup. It's one of those try-it-and-report-re |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 11/12/09 09:03:13 AM PST E6750 is a dual core processor so think of how to enable both cores in binary. That will give you your max value. Hint: WoW defaults on the max value for a dual core processor. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.Thu, 11/12/09 09:15:54 AM PST Check the first chart. Start with 0, then look at which cores you want on. First position, you add 1. Second position, you want to add a 2 on top of it. You only have those two so it's 1+2 = 3 :) |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfFri, 11/20/09 08:07:15 AM PST I don't see any messages from you. If you mean what's in your signature, you need to call Billing. Hijacking another thread again will get you a forum ban. Yes. You'll effectively use the last two cores + two hyperthread cores.
No it's not. It's 4 real cores with no HT. That's what differentiates the i5 720 from the i7 800 series: http://a i7 800 and 900 series = http://a |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfFri, 11/20/09 08:58:27 AM PST I only know of the consumer side of products that are out, and a few rumors here and there. :) I'm not sure about the deep inner workings of Win7. I do know that the game itself throws networking processes into other threads and Windows can do what it likes to those. I'm not sure where Windows TCP stuff runs at. It sounds like a question for the MSDN forums. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfFri, 11/20/09 09:12:53 AM PST It's referenced to in the System Performance Guide sticky :) |
![]() Datth | Re: Using processAffinityMask CVAR in config.Fri, 11/20/09 11:42:11 AM PST It's something in Windows 7 that is causing rare performance problems. I don't notice it on my home i7 / Win7 system but some people are getting microstutters and odd behavior. http://f |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfWed, 12/02/09 02:34:59 PM PST
I'm not sure what you mean. Can you elaborate? |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfWed, 12/02/09 02:41:27 PM PST Try Microsoft Wordpad instead of using Office. Yes, the number is 15. Hopefully you don't have Windows Vista or 7, and decided to install the game in Program Files. That'll get it locked. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfWed, 12/02/09 02:51:01 PM PST Just log onto the game and type this to your chat window: /console processaffinitymask 15 Hit Enter. Exit the game and then log back in. That should do the same as what you're trying to do. For future reference, please do not clog up an old thread like this with unrelated issues. This thread is for advanced users. Learn UAC and what it locks on a Windows Vista and 7 system. This thread is about the variable itself, not how to put it in. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.Tue, 12/08/09 08:32:39 AM PST
2 words: Turbo Mode. It won't kick on if WoW is using more than a certain # of cores. WoW gets more of a speed boost with Turbo Mode more than using more cores. Main game threads go up, everything else gets an easy ride. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.Fri, 12/11/09 05:23:50 PM PST
You're probably playing with the wrong set of configuration files. If your game is in Program Files or Program Files (x86), you're going to load the VirtualStore's copy of the config.wtf file when you run it normally. When you run it as an admin, you're going to load the local copy of the config.wtf file. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Fri, 12/11/09 05:24:20 PM PST
My i7 is behaving the same way before and after patch 3.3.0. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 01/19/10 09:39:24 AM PST
I think cores 0 and 2 are your real ones while 1 and 3 are your hyperthread. 5 (1 + 4) would be your numbers if you want to avoid the hyperthread cores. It's generally not a good idea to set your gxTextureCacheSize to all of your video card's memory as you want some left over for stuff like buffers and other programs (especially Vista and 7). |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 01/19/10 09:40:53 AM PST
I built four Athlon II X2 machines: two 250s and two 240s. They're not showing any drops in 25-man content but their addons usage is pretty light (SCT/SCTD + Pitbull). What issues are you having? What video cards are on those? Addons and video cards with low fill rates will get hit the hardest on spells. [ Post edited by Datth ] |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 01/19/10 09:59:54 AM PST Going to a tri-core or quad core processor won't give you any improvements as the main section of the game is still on a large thread. The fill rate on the 9800 is more than enough except at very high resolutions for a 25-man raid. I'd suggest installing FuBar and SpamFU and see if other people are causing your framerate to plummet. It can view hidden channel stuff and addons that people spew out at you. Also check your NVIDIA Control Panel - System Information to see if your video card is on PCI Express 1x or 4x mode since yours is a 16x card. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfThu, 01/28/10 07:53:46 AM PST I heard thru a g*%%@vine that the old default of 2 cores may be removed in a future patch. Those that will want to restore it can use the processaffinitymask value of 3. |
![]() Datth | Re: Using processAffinityMask CVAR in config.wtfTue, 02/02/10 08:35:36 AM PST Updated with new info. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Tue, 02/02/10 08:36:40 AM PST
For now. I'm interested in seeing AMD's implementation of it. I think it's in Bulldozer? |
![]() Datth | Re: Using processAffinityMask CVAR in config.Tue, 02/02/10 09:51:08 AM PST
That's all driver-side. WoW sees one video card target but in reality, you have two video cards divvying up the work depending on how it's set. |
![]() Datth | Re: Using processAffinityMask CVAR in config.Tue, 02/02/10 12:23:21 PM PST WoW has always seen your processor as a dual core system. Your old processaffinitymask 3 will stay the same. |





