PDA

View Full Version : ProcessAffinityMask


DVAFP
04-16-2011, 09:05 AM
what does it do? I've noticed it's at 2. I've read posts that suggested changing it to 15. but after the patch its still at 2.

322Sqn_Dusty
04-16-2011, 09:53 AM
According to other threads, 15 could stand for all cores. Assumed is that 14 would use all cores except the first (core 0 ). But a table of mask numbers is welcome. I wouldn't use the core in use by Windows.

DVAFP
04-16-2011, 10:19 AM
but the latest patch has optimizations for multicore and its still at 2, i dont get it.

322Sqn_Dusty
04-16-2011, 12:56 PM
The game doesn't read the config of your system on that matter. Openup the conf.ini to change the affinitymask and change it manually (see post in this forum).

maclean525
04-16-2011, 01:07 PM
Affinity Mask works like this:

Each core is one bit of an 8 bit byte. So if you have 8 cores:
11111111

Here's how you calculate those affinity mask numbers:
128 64 32 16 8 4 2 1

So if you wanted the game to use only the first two cores you would set it to 1+2=3. If you wanted it to use all 4 cores on a quad core machine it would be 1+2+4+8=15.

From my experience with other games, hyperthreading on a quad-core is counter-productive so turn it off. In addition freeing up the first core for windows seems to reduce micro-stutters (in other games I'm talking about here like FSX)

I've found 14 to be the sweet spot for my system (using cores 2,3,4 core 1 free for windows)

322Sqn_Dusty
04-16-2011, 01:19 PM
Great, indeed i'm with 14 on my q9550. Thank you for the info.

Vengeanze
04-16-2011, 01:22 PM
So Affinity set to 2 is to make CoD use the second core on a dual core leaving the first core for windows?

322Sqn_Dusty
04-16-2011, 01:30 PM
Yes, Core 0 (first core) is bit 1. Core 1 (second core) is bit 2 etc.

b101uk
04-16-2011, 02:01 PM
:rolleyes:

As far as I am concerned “ProcessAffinityMask” dose absolutely nothing either as Luthier described it or anyone else has (without the “;”), so it works much like that other game placebo the anti epilepsy filter which either never existed or is imposable to turn off.

placebo are used in medicine for good reason because of the way the mind works which is why no end of people report getting better when taking them in clinical trials etc. ;)

FlushMeister
04-16-2011, 03:00 PM
So on a hexacore machine it's: 1+2+4+8+16+32=63 ?

Thanks:)

Affinity Mask works like this:

Each core is one bit of an 8 bit byte. So if you have 8 cores:
11111111

Here's how you calculate those affinity mask numbers:
128 64 32 16 8 4 2 1

So if you wanted the game to use only the first two cores you would set it to 1+2=3. If you wanted it to use all 4 cores on a quad core machine it would be 1+2+4+8=15.

From my experience with other games, hyperthreading on a quad-core is counter-productive so turn it off. In addition freeing up the first core for windows seems to reduce micro-stutters (in other games I'm talking about here like FSX)

I've found 14 to be the sweet spot for my system (using cores 2,3,4 core 1 free for windows)

BrassEm
04-16-2011, 03:35 PM
So on a hexacore machine it's: 1+2+4+8+16+32=63 ?

Thanks:)

Yes, you got it! (111111 binary to decimal conversion = 63)

Good to see you around again Flushy!

touchdown42
04-16-2011, 03:50 PM
Well,

at least for me it doesn't work.
I changed it to 14 but still my first core does most of the work.

2600K Hyper threading disabled

FlushMeister
04-16-2011, 05:01 PM
Hey m8! Thanks a lot :) man I have another 10 years of my life dedicated for this sim How bout you? :D


Yes, you got it! (111111 binary to decimal conversion = 63)

Good to see you around again Flushy!

322Sqn_Dusty
04-16-2011, 05:02 PM
the ; in front of it is removed i assume. Does it save it or does steam put the files back to original?

BrassEm
04-16-2011, 05:32 PM
Hey m8! Thanks a lot :) man I have another 10 years of my life dedicated for this sim How bout you? :D

Only for the rest of my life! It just keeps getting better and better. The pits seem to be really squared away this time round too, (Slotted screw heads and all!)

MegOhm
04-18-2011, 06:52 PM
So on a hexacore machine it's: 1+2+4+8+16+32=63 ?

Thanks:)

Yeah, what he said. So on a hexacore machine it's: 1+2+4+8+16+32=63 ?
Anyone have an answer for this? With an i7 980X extreme is there really any point in turning off Hyperthreading? I mean I would love to optimize but it is running prettty good right now. Guess more is always better? Nah, sometimes that isn't true.

Intel Core i7-980X Extreme(12MB L2 Cache, 3.33GHz), 12GB DDR3 SDRAM,1333MHZ, 6x2GB, ATI Radeon HD5970, Sound Blaster X-Fi Titanium, 2TB Serial ATA 2 Hard Drive 7200 RPM, Windows 7 Home Premium, 64bit, 52" Panasonic Plasma, Logitech G930 wireless Surround Sound Headset, TM H.O.T.A.S.

JG14_Jagr
04-18-2011, 09:52 PM
Since the patch I am sure the multicore support is working, and I think it works regardless of the settig you have.. I left mine with the semi colon in front and all 4 cores worked fine...