Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads

Technical threads All discussions about technical issues

Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2011, 09:05 AM
DVAFP DVAFP is offline
Registered Member
 
Join Date: Apr 2011
Posts: 6
Default ProcessAffinityMask

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.
Reply With Quote
  #2  
Old 04-16-2011, 09:53 AM
322Sqn_Dusty's Avatar
322Sqn_Dusty 322Sqn_Dusty is offline
Approved Member
 
Join Date: May 2010
Location: the Netherlands
Posts: 214
Default

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.
Reply With Quote
  #3  
Old 04-16-2011, 10:19 AM
DVAFP DVAFP is offline
Registered Member
 
Join Date: Apr 2011
Posts: 6
Default

but the latest patch has optimizations for multicore and its still at 2, i dont get it.
Reply With Quote
  #4  
Old 04-16-2011, 12:56 PM
322Sqn_Dusty's Avatar
322Sqn_Dusty 322Sqn_Dusty is offline
Approved Member
 
Join Date: May 2010
Location: the Netherlands
Posts: 214
Default

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).

Last edited by 322Sqn_Dusty; 04-16-2011 at 04:58 PM.
Reply With Quote
  #5  
Old 04-16-2011, 01:07 PM
maclean525 maclean525 is offline
Approved Member
 
Join Date: Feb 2010
Posts: 95
Default

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)
Reply With Quote
  #6  
Old 04-16-2011, 01:19 PM
322Sqn_Dusty's Avatar
322Sqn_Dusty 322Sqn_Dusty is offline
Approved Member
 
Join Date: May 2010
Location: the Netherlands
Posts: 214
Default

Great, indeed i'm with 14 on my q9550. Thank you for the info.
Reply With Quote
  #7  
Old 04-16-2011, 01:22 PM
Vengeanze Vengeanze is offline
Approved Member
 
Join Date: Apr 2011
Location: Stockholm
Posts: 837
Default

So Affinity set to 2 is to make CoD use the second core on a dual core leaving the first core for windows?
Reply With Quote
  #8  
Old 04-16-2011, 01:30 PM
322Sqn_Dusty's Avatar
322Sqn_Dusty 322Sqn_Dusty is offline
Approved Member
 
Join Date: May 2010
Location: the Netherlands
Posts: 214
Default

Yes, Core 0 (first core) is bit 1. Core 1 (second core) is bit 2 etc.
Reply With Quote
  #9  
Old 04-16-2011, 02:01 PM
b101uk b101uk is offline
Approved Member
 
Join Date: Apr 2011
Location: UK
Posts: 80
Default



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.
Reply With Quote
  #10  
Old 04-16-2011, 03:00 PM
FlushMeister FlushMeister is offline
Approved Member
 
Join Date: Oct 2010
Location: Sweden/Seattle
Posts: 57
Default

So on a hexacore machine it's: 1+2+4+8+16+32=63 ?

Thanks

Quote:
Originally Posted by maclean525 View Post
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)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.