![]() |
|
#11
|
|||
|
|||
|
AFAIK ProcessAffinityMask is a bit-weighted value meaning
bit 0 governs core0 bit1 governs core1 etc If it is commented out the OS will decide which cores to use. "IL-2 is not a ,ultithread application." True IL-2 only uses 1 core" False. so PAF=1 - core 0 =2 - core 1 =3 - core 0+1 =4 - core 2 =5 - core 0+2 =6 - core 1+2 =7 - core 0+1+2 commented out - all cores If a core is enabled, it does NOT mean that core will be performing 100% while the other cores that are not enabled do nothing. The enabled core needs an active thread to perform, The disabled cores will be assigned tasks by the OS if needed. There is only one way to switch off cores - the power switch - meaning all or nothing lol. There was an long thread at SimHQ some time back exploring this(end 2005/beginning of 2006). a '1' bit will enable the core, a '0' bit disable it. Actual activity of cores can be checked through TaskManager. Keep in mind in general Windows OS runs hundreds of threads at the same time IL-2 runs. download a free process viewer here - Have Fun! A substantial part of IL-2 is written in Java which can use in excess of 100 threads. (source: Sun Microsystems) Shift-Tab opens the Java console in-game |
|
|