Using processAffinityMask CVAR in config.wtf
by Nandini | 26/09/2007 22:51:03![]() 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". ----------------------------------------------------- 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 ] |
by Datth | 02/10/2007 18:31:17![]() 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. Technical Support ERROR #132 (0x85100084) Fatal Exception Exception: 0xC0000094 (INT_DIVIDE_BY_ZERO) at 001B:0080E69E |
by Datth | 02/10/2007 18:47:24![]() 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. Technical Support ERROR #132 (0x85100084) Fatal Exception Exception: 0xC0000094 (INT_DIVIDE_BY_ZERO) at 001B:0080E69E |
by Datth | 01/02/2008 21:20:59![]() 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 ] Technical Support Each time an actual upgrade drops, I end up rolling 1's. |
by Datth | 09/10/2008 21:59:05![]()
It natively does that by itself unless you restrict it via Task Manager or the processAffinityMask cvar. Tech Support Echoes of DOOOOOOOOOOOOM! How did I do? https://www.surveymk.com/s.aspx?sm=0o9_2bN8NdNe5k1ArM6eRbqg_3d_3d |
by Datth | 09/10/2008 22:05:06![]() 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. Tech Support Echoes of DOOOOOOOOOOOOM! How did I do? https://www.surveymk.com/s.aspx?sm=0o9_2bN8NdNe5k1ArM6eRbqg_3d_3d |
by Datth | 07/01/2009 01:04:43![]() Just an update, this cvar can support up to 32 processors. Just extend the binary to fit your needs. Tech Support OS X 10.5.6 - Improves the performance and reliability of Chess. Windows 7 - Improved Calculator! How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 17/04/2009 02:09:05![]() 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 ] Tech Support i thought it was me switching to ultra mode, i was like, wow! ive had a mustache this whole time? - Meow How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 04/05/2009 19:32:52![]()
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). Tech Support i thought it was me switching to ultra mode, i was like, wow! ive had a mustache this whole time? - Meow How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 04/05/2009 19:43:02![]() 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. :) Tech Support i thought it was me switching to ultra mode, i was like, wow! ive had a mustache this whole time? - Meow How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 09/05/2009 01:20:45![]() 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. Tech Support To Algalon, World of Warcraft is also a real-time strategy game. - Yurihime, Elune How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 15/05/2009 18:07:42![]()
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. Tech Support When Algalon falls off of a cliff, the world takes fall damage - Yoriko, Kel'Thuzad How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 15/05/2009 18:15:55![]() If you have an i7, remember that there's a little turbo feature that you could take advantage of. http://www.intel.com/technology/turboboost/index.htm Something to keep in mind for people trying to tweak processaffinitymask. Tech Support When Algalon falls off of a cliff, the world takes fall damage - Yoriko, Kel'Thuzad How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 21/05/2009 22:48:39![]()
Dual core machines should default to 3 (first and second). Tech Support When Algalon falls off of a cliff, the world takes fall damage - Yoriko, Kel'Thuzad How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 21/05/2009 22:54:06![]()
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. Tech Support When Algalon falls off of a cliff, the world takes fall damage - Yoriko, Kel'Thuzad How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 11/06/2009 19:41:03![]() The OP's chart is inverted. I'm going to update it to this type of format:
[ Post edited by Datth ] Tech Support ...when I said, "sitting around" that was in reference to idling, hanging out and being bearlike - Neth How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 11/06/2009 20:08:04![]()
3 has something nice going along for it too: Intel Turbo Boost. Some systems run faster with that than a different affinity setting. Tech Support ...when I said, "sitting around" that was in reference to idling, hanging out and being bearlike - Neth How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 23/07/2009 18:11:18![]() 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 ] Tech Support FATAL ERROR: Resulting sum was -6.762888850188534e+017, expected: 5.27520182268495e+016 How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 23/07/2009 18:25:07![]()
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://en.wikipedia.org/wiki/Affinity_mask Tech Support FATAL ERROR: Resulting sum was -6.762888850188534e+017, expected: 5.27520182268495e+016 How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 14/08/2009 17:01:57![]() Addons are managed by the game. You can't set aside a core to run a specific part of WoW. Tech Support Cutting off her head and hanging it in Stormwind/Orgimmar was clearly just a setback. - Zigz, Korgath How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 25/08/2009 22:31:37![]() 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. Tech Support Molten Core was clearly just a setback... How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 29/08/2009 00:18:55![]() 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. Tech Support I'm not darth, dathh or other variantions of datth "When he refers to 'Darth', he means Dat" - cprompt How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 08/09/2009 17:46:24![]() Just tossing something into the mix: i5 turbo mode behaviors - http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=3634&p=5 Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 08/09/2009 17:48:37![]()
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 ] Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 11/09/2009 23:42:20![]() 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 ;) Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 16/09/2009 21:00:59![]() 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. Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 21/09/2009 19:44:05![]() There shouldn't be any problems with that. Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 21/09/2009 23:01:49![]() 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. Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 23/09/2009 00:50:34![]()
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. Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 23/09/2009 01:49:08![]() 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. Tech Support http://img261.imageshack.us/img261/7280/existence.jpg How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 05/10/2009 17:17:22![]() 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. Tech Support ...If this problem persists, please contact Technical Support. (IsAbsolutePath/path is not absolute) How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 05/10/2009 19:35:30![]() Yes Tech Support ...If this problem persists, please contact Technical Support. (IsAbsolutePath/path is not absolute) How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 05/10/2009 20:01:03![]() 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. Tech Support ...If this problem persists, please contact Technical Support. (IsAbsolutePath/path is not absolute) How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 19/10/2009 20:16:22![]() Which variable works better for you will be specific to your setup. It's one of those try-it-and-report-results type of thread. The default is 3 but you can always remove the entire SET processAffinityMask line if it's giving you trouble or unexpected results so it's not like it's going to kill your system. Tech Support How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 12/11/2009 18:03:13![]() 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 ] Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 12/11/2009 18:15:54![]() 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 :) Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 20/11/2009 17:07:15![]() 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://ark.intel.com/ProductCollection.aspx?familyID=42912 i7 800 and 900 series = http://ark.intel.com/ProductCollection.aspx?familyId=28037 Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 20/11/2009 17:58:27![]() 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. Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 20/11/2009 18:12:53![]() It's referenced to in the System Performance Guide sticky :) Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 20/11/2009 20:42:11![]() 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. _____User tips and tricks Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 02/12/2009 23:34:59![]()
I'm not sure what you mean. Can you elaborate? Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 02/12/2009 23:41:27![]() 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. Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 02/12/2009 23:51:01![]() 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 ] Tech Support Each time you email us a password, we perform a /facepalm. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 08/12/2009 17:32:39![]()
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 ] Tech Support You keep using that word. I do not think it means what you think it means. How did I do? https://www.surveymk.com/s.aspx?sm=lfO7GX4hyFtZ1WJ5pB7JhQ_3d_3d |
by Datth | 12/12/2009 02:23:50![]()
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. Tech Support You keep using that word. I do not think it means what you think it means. How did I do? https://www.surveymk.com/s/H2S6NPZ |
by Datth | 12/12/2009 02:24:20![]()
My i7 is behaving the same way before and after patch 3.3.0. Tech Support You keep using that word. I do not think it means what you think it means. How did I do? https://www.surveymk.com/s/H2S6NPZ |
by Datth | 19/01/2010 18:39:24![]()
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). Tech Support Each town has a wise man. Learn from him. If all else fails use fire. https://www.surveymk.com/s/H2S6NPZย |
by Datth | 19/01/2010 18:40:53![]()
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 ] Tech Support Each town has a wise man. Learn from him. If all else fails use fire. https://www.surveymk.com/s/H2S6NPZย |
by Datth | 19/01/2010 18:59:54![]() 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. Tech Support Each town has a wise man. Learn from him. If all else fails use fire. https://www.surveymk.com/s/H2S6NPZย |
by Datth | 28/01/2010 16:53:46![]() 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. Tech Support Each town has a wise man. Learn from him. If all else fails use fire. https://www.surveymk.com/s/H2S6NPZย |
by Datth | 02/02/2010 17:35:36![]() Updated with new info. Tech Support Each town has a wise man. Learn from him. If all else fails use fire. https://www.surveymk.com/s/H2S6NPZย |
by Datth | 02/02/2010 17:36:40![]()
For now. I'm interested in seeing AMD's implementation of it. I think it's in Bulldozer? Tech Support Each town has a wise man. Learn from him. If all else fails use fire. https://www.surveymk.com/s/H2S6NPZย |


Recent Blizzard Announcements