![]() |
#261
|
|||
|
|||
![]() Quote:
|
#262
|
|||
|
|||
![]() Quote:
Also, if you check on UBI forum, someone posted an INI setting to tell Forgotten Battles which core to use but I dont remember what it was. Update: I went looking and found it and it does work: [rts] ProcessAffinityMask=1 or 2 If it equals 1, it uses the first core, if it equals 2 it uses the second core. Any other setting it uses both cores. |
#263
|
||||
|
||||
![]() Quote:
__________________
STRIKE HOLD!!! Nulla Vestigia Retrorsum |
#264
|
|||
|
|||
![]() Quote:
I'd been under the impression that unless a program is written specifically to take advantage of dual core, there is no advantage...and that IL2 specifically did not utilize a second core at all. [In fact, I thought I'd read that setting up for dual-core use would negatively impact IL2 performance] Now you have me curious. |
#265
|
|||
|
|||
![]()
I just tried it out and found out that the game is loading much faster than before. The game itself isn't any faster.
|
#266
|
||||
|
||||
![]()
it is using 2 cores, it works. utilizing core 2 more than core one though.
__________________
71st Eagle Squadron www.anon6.com - Blogger on DCS Series 71st Mastiff's You-Tube " any failure you meet is never a defeat; merely a set up for a greater come back " Asus||i7x5930k||16gb3200||GTX10808gb||ATX1200Corsa ir||CBTitanium7.1||Win10x64||TrackIr4Pro/ir||gladiator pro mkII||siatekpedals||X52Throttle||G15Keyboard/RazerMouse|| 32"LCD||2x7" lilliputs,1x9inc |
#267
|
|||
|
|||
![]()
Oleg could make a blitz era train simulator. After all we will have the physics and terrain in place. It could be a budget title.
|
#268
|
|||
|
|||
![]() Quote:
Code:
[rts] ProcessAffinityMask=1 (on core 1) [rts] ProcessAffinityMask=2 (on core 2) [rts] ProcessAffinityMask=3 (on core 3) [rts] ProcessAffinityMask=2 (on core 4) |
#269
|
|||
|
|||
![]()
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 ![]() |
#270
|
||||
|
||||
![]()
This is what I dug up. I did make a mistake about the zero value. The zero value distributes the load across ALL cores.
Bitmask: 00000000000000000000000000000000 = Decimal 0 Processor affinity is off, and the load is distributed across all available processors. Bitmask: 00000000000000000000000000000001 = Decimal 1 Processor 1 selected. The process will only run on processor 1. Bitmask: 00000000000000000000000000000010 = Decimal 2 Processor 2 selected. The process will only run on processor 2. Bitmask: 00000000000000000000000000000011 = Decimal 3 Processors 1 & 2 selected. The load is distributed across both processors, effectively the same as setting 0 above for Dual cores. Because 0 puts the load across all processors and 3 puts the load on processor 1 and 2, they are essentially the same thing for Dual core CPUs. For Quad core CPUs you can use more values: Bitmask: 00000000000000000000000000000100 = Decimal 4 Processor 3 selected. The process will only run on processor 3. Bitmask: 00000000000000000000000000001000 = Decimal 8 Processor 4 selected. The process will only run on processor 4. And any combo between 0 and 15, for example: Bitmask: 00000000000000000000000000000101 = Decimal 5 Processor 1 and 3 selected. The load is distributed across processor 1 and 3. Bitmask: 00000000000000000000000000001111 = Decimal 15 Processor 1, 2, 3, and 4 selected. The load is distributed across all processors, 1, 2, 3, and 4. This is a post from MaxMhz a while back in response to a question as to how to increase performance on my quad core rig. Please note that forcing Il2 to run on anything above 2 cores does not give me any better performance, HOWEVER running on two cores instead of one core gave me much better performance on the Black Death track, a 36% increase in the minimum frame rates actually. MaxMhz Posted Apr 26, 07 20:25 You could try ProcessAffinityMask=15 - that would spread the load over all four cores in your quad processor... ProcessAffinityMask is a bit-weighed value with each bit representing a thread/core four processors would be binary 1111 (decimal 15) The drop in FPS is probably caused by all the secundary explosions caused by pieces flying around from the primary impact. That takes a huge amount of processor power. I hope this stuff helps.
__________________
STRIKE HOLD!!! Nulla Vestigia Retrorsum |
![]() |
|
|