Multi-Core CPUs working in il2 with all the cores
#16

Hi all,

After reading the above post, and checking out some of the links others have provided here, I decided to try just changing the "processaffinitymask" value in my config file last night. I switched the "PAM" value from 1 to 0, in effect making use of all my systems processors (quad core). It seemed to do wonders for my setup. Before, I had the objects and landscape lighting turned all the way down (= no shadows) and well as having lowered the values for object and cloud detail. After changing the "PAM" value in the config file I was able to run on full perfect settings with 32 aircraft and anti-aircraft artillery on in the quick mission builder (ps- this is with the latest version of Protenz and Holy Grail's wonderful effects mod). While this did not get rid of all lag and stuttering it did give me quite a boost in FPS. Here are some of my system settings.

OS: Windows Vista Home Premium
Gateway DX 4200-09
Processor: AMD Phenom 9150e Quad-Core Processor (4 CPUs), ~1.8 GHz
Memory: 3838 MB RAM

ATI Raedeon 3200 HD (Version: 7.15.00.10.0134)
1918 MB
1280x1024 (32 bit) (75Hz)

March Hare
Reply
#17

Now with all this talk of using one core for this and one core for that, how do I switch my IL2 and other games to run on the 2nd core and leave windows and my other prog's like TS and vent to run on core 1?
Reply
#18

IL-2, you can do as described previously. For anything else, you can use TaskManager. With your porgrams running, open TaskManager, go to Processes tab, right-click the program, select "Set Affinity..." and check the boxes as you desire.
Reply
#19

8FS_Bulau Wrote:IL-2, you can do as described previously. For anything else, you can use TaskManager. With your porgrams running, open TaskManager, go to Processes tab, right-click the program, select "Set Affinity..." and check the boxes as you desire.

Cool!! Can IL2 be done that way too? I'm assuming so.
Reply
#20

US_GRANT Wrote:
8FS_Bulau Wrote:IL-2, you can do as described previously. For anything else, you can use TaskManager. With your porgrams running, open TaskManager, go to Processes tab, right-click the program, select "Set Affinity..." and check the boxes as you desire.

Cool!! Can IL2 be done that way too? I'm assuming so.

If you do it that way, you'll have to do it every time you start the computer/game. As soon as I get home I'll post the line to Prosaffin.

It's a program I use to set programs to run on specific cores on startup withouth having to go into the task manager every time.

Though I fly through the valley of death, I will fear no evil.....
For I am the meanest SOB in the valley!

[Image: JollySignature.jpg]
Reply
#21

Hi all I have i have an AMD dual core and nvidia video card.. I have tried setting my process affinity to both 0 and 3 in the config ini folder also i have right clicked on il2 in the task manager and made sure both cores were selected in for the game.. I still get only 50% processing power when i run the game and 50% for systen idle process have i missed something or am i as dumb as i think i am.. maybe it was something i said to my P.C.
Reply
#22

Il2 is only optimized for a single core, dont modify or force anything as this could cause problems with the game engine.
In the case of Il2 its better to have a single core at a high clock rather than 2 or 4 cores at a low clock if you get what i mean.
Reply
#23

Hello again,

Since nvidia drivers v190.62, it looks like threated optimization in opengl nvidia options now works fine, so you can use both cpu cores if you have a c2d or quad cpu and the driver works fine. Before this version, it did not work fine. This is because of a new opengl driver implemention. Remember to switch threated optimization to on in the opengl nvidia options. Also select a ProcessAffinityMask=3 for 2 core cpus and ProcessAffinityMask=15 for quad core cpus.

The test:
Before, with nvidia drivers v186.18, If threated optimization was set to on, I had fps problems and continuous stoppings. (it did care what ProcessAffinityMask was set)
Also If I switched to threated optimization = off then no fps problems or 2-sec stoppings. Windows task manager was at 50% in use . It meant that 1 core worked at 100% for il2fb.exe and the other core is at 0%. That made a total of 50% cpu usage.
Well, here is the point. It did not care whatever ProcessAffinityMask was set. The only difference was if was core0 or core1 the one that was working with il2fb.exe

After nvidia drivers v190.62:
1st- Now if threated optimization in opengl nvidia options is set to on, I dont have any problems like before with nvidia drivers v186.18 or earlier ones. Now it works fine. No fps problems or 2-sec stoppings.
2nd- If you set ProcessAffinityMask=1 or ProcessAffinityMask=2 you will get a 50% cpu usage as before, but if you set ProcessAffinityMask=3 or ProcessAffinityMask=15 you will see that cpu usage gets over 50%. Ususaly it stays around 70-90% usage. So now, core 0 is at 100% usage for il2fb.exe and core 2 is at 60-80% also for il2fb.exe

PLEASE, TEST WITH ProcessAffinityMask=3 AND check in Windows task manager (select always on top in Windows task manager properties ) what cpu % usage you get for il2fb.exe.



Best settings for GTX series:
In my case gtx280 and c2d-6750 @ 3.6ghz fsb and 4GB ddr2 900mhz
I use 130308 dll
Reply
#24

The name of the program I use to set Processor Affinity for programs is called Prioaff.
It can be found here:

http://il2.netteq.com/Muliti-Core_Guide.aspx

Hope this helps you out.

Though I fly through the valley of death, I will fear no evil.....
For I am the meanest SOB in the valley!

[Image: JollySignature.jpg]
Reply
#25

der-blaue-max Wrote:someone should do a benchmark. The rest doesn`t matter.

I did do a benchmark using FRAPS on a core duo 2.0GHZ system, with everything the same except the core settings and it made exactly ZERO difference.
Reply
#26

Spinnetti Wrote:
der-blaue-max Wrote:someone should do a benchmark. The rest doesn`t matter.

I did do a benchmark using FRAPS on a core duo 2.0GHZ system, with everything the same except the core settings and it made exactly ZERO difference.

Same here.
Reply
#27

On my Dualcore Centrino (to hell with those -.-') it helped smooth out the FPS quite a bit.

No more fluctuations between 15 and 70, now it's much more stable, and perfect mode is finally playable like i wanted it to be.
Reply
#28

{HVY-E}Jinxx Wrote:The name of the program I use to set Processor Affinity for programs is called Prioaff.
It can be found here:

http://il2.netteq.com/Muliti-Core_Guide.aspx

Hope this helps you out.

The link is down, is there any other website similar to this? I am interested into having IL-2 1946 to use my dual CPU more efficiently.


Chaoic out...
Reply
#29

And if I have PAM = 3 with the threaded optimisation turned to on in the Nvidia control panel, the cores look like they're sharing the load evenly but I am 15-20 fps down on what it is with thread optimisation off. Keeping the threaded optimisation off

Just sayin'...

For the record, dc AMD 3.3ghz w/ GTX275.
Reply
#30

I don't even pretend to fully understand some of the terms used or the complex looking settings that are being displayed here, but I've just set my PAM setting to 0, ran the 'black death' track in game, and for the first time I've watched it without a single stutter!
I'm assuming that all of my cores are now sharing the load somewhat, as I've never watched that track without a stutter here and there..
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)