Interesting CPU affinity results from WoW

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Denithor

Diamond Member
Apr 11, 2004
6,300
23
81
When you've got two full raid parties on each side (160 players) fighting for control of WG I have a feeling your CPU is carrying more of the load than your GPU. I run on an e8400 with a GTX 260/216 and even this system bogs down noticeably under said conditions. Dal at its busiest doesn't slow me a whit but heavy raiding definitely does require more horsepower than I've currently got. C'mon Intel - release i5 already!


Just for further info -

If you are into multiboxing with two sessions open on a non-HT quad-core you want to set the first session affinity to 3 (first two cores) and the second to 12 (cores three and four).

For a quad with HT enabled the numbers are totally different, should be 15 (first four virtual cores - encompassing the first two physical cores) and 240 (last four virtual cores - second pair of physical cores).


EDIT: And just for clarity - on a dual-core setup you won't even have this option available. The game doesn't bother to create the affinity file unless it detects >2 cores. Soccerballtux - what you needed was more processor power not an affinity change. <-- that sounds dirty, somehow...
 

Idontcare

Elite Member
Oct 10, 1999
21,118
58
91
Originally posted by: kami
Originally posted by: Idontcare

If you set it to 3 and run WoW with task manager in the background and then pop out of WoW over to the task manager how many threads does task manager show WoW was running and at what CPU utilization rate?

Same thing when you are now using 255...does it change the number of threads spawned and/or the effective utilization rate for the cores in any way?

See here: http://i43.tinypic.com/2d0b9eu.jpg

It looks like at 255 its using at least a small amount from each thread.

:thumbsup:

Thanks very much for generating the data.

It is an interesting result...I must admit I was hoping for something far more compelling to jump out of the task manager graphs.

What this does tell us though is that whatever "bottleneck" is involved with affinity setting "3", eliminating the bottleneck involves using little additional CPU power when going to "255" while somehow nearly doubling the fps.

The next "I wonder if..." to hit my mind is DPC...deferred procedure call...I wonder if affinity setting of 3 is somehow invoking DPC's (I have zero reasoning why this would happen, but...).

Let me find that link to the DPC detection software so you can easily run it in the background while WoW is playing, that will eliminate DPC as a suspect right away.
 

SunSamurai

Diamond Member
Jan 16, 2005
3,914
0
0
Originally posted by: yh125d
Originally posted by: Idontcare
Interesting indeed, I had no idea WoW was a CPU dependent game like that.

WoW is probably the most CPU limited game there is right now. So much so that 4830/9800GT can pretty much max out settings and still be held back by an i7 in the main cities


Exactly right. In a normal raid situation (25 people a few computer controlled things) framerate drops like a rock compared to soloing.

In situations like a battleground when everyone is bunched up and you have veiw distance to max, it will bring almost any system under 30FPS without and special effects like AA or AF turned up.

I do not see why Anand still has no way from Blizzard to get a nice bench properly made. Its pretty lame to keep seeing Crysis and other games benched but still not Wow? It only has 12million people playing for the past several years! What does crysis have? 1% of that?

It shouldent be "Can it play Crysis?" No. Can it play wow at max settings during a 25 man.
 

Denithor

Diamond Member
Apr 11, 2004
6,300
23
81
I'm personally waiting for i5. Although I really wish Intel was going to release the i5 4/8 chip on 32nm instead of 45nm. I may end up grabbing one of those 2/4 mainstream models to hold me over until they release a 32nm 4/8. But it seems like a 2/4 wouldn't really be much faster than my current e8400 so I'm a bit put out.

Still hoping for an i5/SSD/Win7 combo late this year.
 

Idontcare

Elite Member
Oct 10, 1999
21,118
58
91
Originally posted by: Idontcare
Originally posted by: kami
Originally posted by: Idontcare

If you set it to 3 and run WoW with task manager in the background and then pop out of WoW over to the task manager how many threads does task manager show WoW was running and at what CPU utilization rate?

Same thing when you are now using 255...does it change the number of threads spawned and/or the effective utilization rate for the cores in any way?

See here: http://i43.tinypic.com/2d0b9eu.jpg

It looks like at 255 its using at least a small amount from each thread.

:thumbsup:

Thanks very much for generating the data.

It is an interesting result...I must admit I was hoping for something far more compelling to jump out of the task manager graphs.

What this does tell us though is that whatever "bottleneck" is involved with affinity setting "3", eliminating the bottleneck involves using little additional CPU power when going to "255" while somehow nearly doubling the fps.

The next "I wonder if..." to hit my mind is DPC...deferred procedure call...I wonder if affinity setting of 3 is somehow invoking DPC's (I have zero reasoning why this would happen, but...).

Let me find that link to the DPC detection software so you can easily run it in the background while WoW is playing, that will eliminate DPC as a suspect right away.

kami, I finally found what I was looking for...if you have time do you mind using this DPC latency tool and check to see if the deferred procedure calls are any different for your rig (run it in the background while running WoW) depending on whether you use affinity of 3 versus 255?
 

Dravic

Senior member
May 18, 2000
892
0
76
PH II 955 @ 3.8
4890 @ 950/1100

I actually get better performance when only selecting 3 cores (Affinity = 10) rather then distributing the load to all 4 cores (Affinity = 15). My guess is windows threading over the 4 cores begins to introduce some kind of thread thrashing over using 3 cores.

Beginning Ulduar 25 man before selecting vehicles
Settings everything maxed

Affinity 10 = 71 fps (allowed me to put on 4x AA 8x AF and go down too 51fps)
Affinity 15 = 51 fps

similar results in Dalaran




 
Dec 30, 2004
12,554
2
76
Still confused as to why my e2180@3.4ghz was running 40% and I had FPS issues...even with resolution and effects turned all the way down...
 

SunSamurai

Diamond Member
Jan 16, 2005
3,914
0
0
Here is the answer to your FPS issues; Blizzard doesnt give a crap about details like that anymore. The money machine is in full swing and more manpower is being directed into the new MMO.
 
Dec 30, 2004
12,554
2
76
Originally posted by: aeternitas
Here is the answer to your FPS issues; Blizzard doesnt give a crap about details like that anymore. The money machine is in full swing and more manpower is being directed into the new MMO.

Has to be World of Starcraft.
 

SunSamurai

Diamond Member
Jan 16, 2005
3,914
0
0
I would assume so, as a Diablo MMO would get in the way of Diablo III and not make much marketing sense.
 

Phoenix86

Lifer
May 21, 2003
14,643
9
81
So I looked this up and it turns out this setting is not even enabled on my system, so it was defaulting to one core. However CPU usage was spread out over both cores in task manager. Figured I'd set it to 3 anyways for my dual core setup and the gains were visible. Panning around in Dalaran produced no stutter-lag and increased fps by 3-5. I had guildies set it, most had 2 physical cores not newer i7s and a couple doubled their fps in Dalaran.

Basically, this isn't just for people with newer setups.
 

Senpuu

Member
Oct 2, 2008
77
4
66
Originally posted by: soccerballtux
Originally posted by: aeternitas
Here is the answer to your FPS issues; Blizzard doesnt give a crap about details like that anymore. The money machine is in full swing and more manpower is being directed into the new MMO.

Has to be World of Starcraft.

Actually, the new MMO they're developing was confirmed by Blizzard to be a brand new IP.

This core tweak makes me wish I hadn't quit WoW. Maybe I'll reactivate and see how it works on my i7 rig. I seem to remember rather a lot of stuff in WotLK made my old machine stutter like crazy and Dalaran was always a picture show.
 

NitroTurtle

Member
Jun 3, 2004
123
0
71
Originally posted by: Phoenix86
So I looked this up and it turns out this setting is not even enabled on my system, so it was defaulting to one core. However CPU usage was spread out over both cores in task manager. Figured I'd set it to 3 anyways for my dual core setup and the gains were visible. Panning around in Dalaran produced no stutter-lag and increased fps by 3-5. I had guildies set it, most had 2 physical cores not newer i7s and a couple doubled their fps in Dalaran.

Basically, this isn't just for people with newer setups.

Placebo effect. The fact that the setting wasn't present in your config file indicates that it was using the default setting, which is 3.
 

Sylvanas

Diamond Member
Jan 20, 2004
3,752
0
0
Just like to add I have also confirmed this on my i7, with the default setting I was sitting at around 21-25 fps in Dal, I log out and set it to 255 and now at the same scene I am now at 40fps. This is at 1920x1200 Ultra settings. Very pleased :)
 

MODEL3

Senior member
Jul 22, 2009
528
0
0
Originally posted by: VirtualLarry
Interesting that the OP in that thread seems to have a physical dual-core CPU with Hyperthreading (4 threads total). What CPU might that be? Since C2Ds don't have HT, and there are no dual-core/four-thread Nehalems yet on the market AFAIK.

Is it some sort of Pentium D EE chip? Did they make any of those with HT? Or is it an Intel Atom dual-core, since those chips DO have HT?

Do you remember the Pentium D 9X1 or 9X2 series?

Was the difference of the Pentium D 9X1 or 9X2 series with the regular Pentium D 9X0 series, the hyper threading?



 

Idontcare

Elite Member
Oct 10, 1999
21,118
58
91
Originally posted by: MODEL3
Originally posted by: VirtualLarry
Interesting that the OP in that thread seems to have a physical dual-core CPU with Hyperthreading (4 threads total). What CPU might that be? Since C2Ds don't have HT, and there are no dual-core/four-thread Nehalems yet on the market AFAIK.

Is it some sort of Pentium D EE chip? Did they make any of those with HT? Or is it an Intel Atom dual-core, since those chips DO have HT?

Do you remember the Pentium D 9X1 or 9X2 series?

Was the difference of the Pentium D 9X1 or 9X2 series with the regular Pentium D 9X0 series, the hyper threading?

The MCM'ed dual-core Prescott P4-based chips had their hyperthreading disabled. So they showed as 2 Cores and 2 Threads (2C/2T), not 2C/4T as VirtualLarry was pointing out the OP has. 2C/4T is something like what we'd expect for Clarkdale/Arrandale.
 

MODEL3

Senior member
Jul 22, 2009
528
0
0
Originally posted by: Idontcare
Originally posted by: MODEL3
Originally posted by: VirtualLarry
Interesting that the OP in that thread seems to have a physical dual-core CPU with Hyperthreading (4 threads total). What CPU might that be? Since C2Ds don't have HT, and there are no dual-core/four-thread Nehalems yet on the market AFAIK.

Is it some sort of Pentium D EE chip? Did they make any of those with HT? Or is it an Intel Atom dual-core, since those chips DO have HT?

Do you remember the Pentium D 9X1 or 9X2 series?

Was the difference of the Pentium D 9X1 or 9X2 series with the regular Pentium D 9X0 series, the hyper threading?

The MCM'ed dual-core Prescott P4-based chips had their hyperthreading disabled. So they showed as 2 Cores and 2 Threads (2C/2T), not 2C/4T as VirtualLarry was pointing out the OP has. 2C/4T is something like what we'd expect for Clarkdale/Arrandale.

I thought Pentium D 9X1 series (and maybe 9X2, or it was 9X3?) series, had Hyperthreading!

Are you sure, that the Pentium D 9X1/2/3 series had not Hyperthreading?

EDIT*
VirtualLarry was correct he said EE!
I was just asking for the lower priced series of Pentium D 9X1!
Do you remember a Pentium 4 revision Cedar Mill?
I checked again, there was only Pentium D 9X0 series &
Pentium D 9X1 series!
I thought Intel to distinguish Cedar Mill CPUs from Prescott CPUs with the same features, it added 1 to their model numbers!

 
Dec 30, 2004
12,554
2
76
Wonder if my dual core back then had a setting even lower than 3. Would explain why I would never get above 40%/core.
I reinstalled with my sig-rig and it "detected" it as dual core, maybe that's just the default setting. Edited and changed to 15, the setting for a quad core CPU.

I turned my OC down from 3.5Ghz to 2.2Ghz and FPS in Dalaran went from 38fps to 28fps. All cores loaded ~25-35%, no matter the clock speed.
So there would appear to be some nasty engine latency limitation where it can't utilize the other...oh...75% of the processing power that the CPU has if computation xyz hasn't been completed yet.
 

monovillage

Diamond Member
Jul 3, 2008
8,444
1
0
My own experience with some of the CPUs on the list has me questioning the validity of their results.