Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3   Go Down

Author Topic: Process affinity mask hidden settings?  (Read 12901 times)

0 Members and 1 Guest are viewing this topic.

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: Process affinity mask hidden settings?
« Reply #12 on: February 10, 2013, 03:12:31 AM »

ummm....so, without delving into the binary options,
who can tell me the correct setting to use both my cores on my Athlon 5200+ dual-core?  :P
Logged
.....taking fun seriously since 1968.....  8)

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: Process affinity mask hidden settings?
« Reply #13 on: February 10, 2013, 03:19:18 AM »

Hi Greybeard,

Thanks for testing, as I said I can't confirm as tracks not running on my install. Did you check in Resource monitor that there is activity on three cores with =84?

I tend to agree with you that this is not going to unlock IL2 for super performance, but I had been getting freezes and some stuttering when only one core is loaded and these seem to be gone when activity is shown on three.

The main point from me is that all the guides on ProcessAffinitymask settings only go up to 15 and none of the settings 0-15 showed activity on more than two cores on my system

Regards,

M
Logged

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: Process affinity mask hidden settings?
« Reply #14 on: February 10, 2013, 03:28:09 AM »

Hi Malone, well as Mike says you need to know if you have hyperthreading (i.e. two real and two virtual cores)

If you have hyperthreading on a dual core:

binary 0101 = 4+1 = 5 in your conf.ini

if you don't have hyperthreading:

binary 11 = 2+1 = 3 in your conf.ini, which by the way agrees with the standard documentation on this feature

And test with resource monitor or similar

Regards,

m
Logged

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: Process affinity mask hidden settings?
« Reply #15 on: February 10, 2013, 03:49:55 AM »

ok, thanks mate - i have tried those settings to see if i can get rid of a micro-stutter that keeps ocurring every 5 seconds or so.
so far, no difference that i can see....
Logged
.....taking fun seriously since 1968.....  8)

greybeard

  • Modder
  • member
  • Offline Offline
  • Posts: 1931
  • diligo veritatem
Re: Process affinity mask hidden settings?
« Reply #16 on: February 10, 2013, 05:09:54 AM »

I tend to agree with you that this is not going to unlock IL2 for super performance, but I had been getting freezes and some stuttering when only one core is loaded and these seem to be gone when activity is shown on three.

Computers are like persons: there aren't two identical or, like said a collegue of mine, they're built according a "Babel tower" standard.  :)

So, if you get improvements with that setting, just use it!

I would only add that, from what I learned in this same forum, game-freezing and stuttering issues can be also depending on available memory: just use the max your system allows (I mean by those special Ivan's il2fb.exe in a modded game or by SAS ModAct)! I tested that my old crappy single-core, 2GB RAM could deal with 768 MB exe, while now (i7, 8GB RAM) I've installed the 2GB exe and furtherlly modded it by that patch which makes 4GB RAM available for IL2, when running a 64 bit Win 7.
Logged
CPU: Intel Core i5 3570K @ 3.40GHz - RAM: 16,0GB DDR3 @ 799 MHz - MoBo: ASUSTeK COMPUTER INC. P8Z77-V LX2 (LGA1155) - Vidcard: 4095 MBNVIDIA GeForce GTX 970 - Screen: EK241Y (1920x1080@75Hz) - Audio: Sennheiser HD 4.50BTNC headset.

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: Process affinity mask hidden settings?
« Reply #17 on: February 10, 2013, 05:56:00 AM »

Thanks Greybeard, I forgot about using the modified .exe's since Up3 days. I was running the standard HSFX one patched with 4gb patcher but now running the 4gb 6dof one and again without being able to benchmark I think I got a few more FPS (40+ over heavy ground smokes, was 30 something)

Regards,

M
Logged

Hans-Joachim Marseille

  • member
  • Offline Offline
  • Posts: 540
Re: Process affinity mask hidden settings?
« Reply #18 on: February 10, 2013, 05:59:13 AM »

Hm , but how come that on the internet some say settings like "3" are most recommended then  some say "1" is the only one working all other the game don't support - at this point I'm even  playing with "15" which someone says it's best for 4-core AMD (or "8"). That is kinda tricky too,right... ??? What is the best then? :( But gonna try "21" now too... :P
Logged
"United we stand against Evil." #FCKPTN. #SlavaUkraini

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: Process affinity mask hidden settings?
« Reply #19 on: February 10, 2013, 06:14:40 AM »

Hans I've only learnt about this in the last 24 hours but I think the original list 0 to 15 works for up to 4 cores if they don't have hyperthreading (a second 'virtual' core for each real one).

If you have 4 cores and hyperthreading i.e. 8 cores then apply Mike's binary calculation to force the cores you want to use.

Regards,

M
Logged

SAS~Tom2

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 7954
  • no sweat
Re: Process affinity mask hidden settings?
« Reply #20 on: February 11, 2013, 03:35:36 PM »

Win XP and an AMD Athlon II X4 Quad with 2.8 or so GHz and usually either apply "8" or "15" where 15 seems to be better.

BUT: Tried 28, and 84 today and could swear things ran considerably smoother with both, especially with 84 (?). Tried with the WIP soon to be released Russian master blaster at super sonic and hazy weather in Benghalli and unless I flew over shallow corals, all very smooth and fast...which is rather surprising.

Need to try it in HistoMod with Freddy's Sabre, then I know for sure. :D That pit eats FPS..
Logged

Ass Eagle

  • member
  • Offline Offline
  • Posts: 938
Re: Process affinity mask hidden settings?
« Reply #21 on: February 11, 2013, 05:48:46 PM »

I didn't notice much difference, except for PAM=3 was a little better. Otherwise all is about the same.

The Black Death:
DBW v1.71, with all the eyecandy effects, 2048HD skins/textures, and my version of 30k smoke.

ProcessAffinityMask=3
Frames, Time (ms), Min, Max, Avg
  4829,    152834,  19,  69, 31.596

ProcessAffinityMask=5
Frames, Time (ms), Min, Max, Avg
  4748,    152637,  16,  68, 31.106

;ProcessAffinityMask=5 <- here I disabled and let W7 decide
Frames, Time (ms), Min, Max, Avg
  4752,    152802, 18,  68, 31.099

ProcessAffinityMask=15 <- inludes hyperthreading
Frames, Time (ms), Min, Max, Avg
  4785,    152508,   18,  70, 31.375

----------------------------------------------------------------------------------------------------
Code: [Select]
~Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1
~Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2 CPUs), ~2.6GHz
             Memory: 4096MB RAM
~Card name: AMD Radeon HD 6570
       Manufacturer: Advanced Micro Devices, Inc.
          Chip type: AMD Radeon Graphics Processor (0x6759)
           DAC type: Internal DAC(400MHz)
     Display Memory: 2805 MB
   Dedicated Memory: 1014 MB
      Shared Memory: 1791 MB
       Current Mode: 1680 x 1050 (32 bit) (60Hz)
       Monitor Name: SyncMaster T220HD(Digital)
      Monitor Model: SyncMaster
         Monitor Id: SAM03F1
        Native Mode: 1680 x 1050(p) (59.954Hz)
        Output Type: HDMI
Code: [Select]
CPU-Z TXT Report
-------------------------------------------------------------------------

Binaries
-------------------------------------------------------------------------

CPU-Z version 1.61.5

Processors
-------------------------------------------------------------------------

Number of processors 1
Number of threads 2

APICs
-------------------------------------------------------------------------

Processor 0
-- Core 0
-- Thread 0 0
-- Core 1
-- Thread 0 1

Timers
-------------------------------------------------------------------------

ACPI timer 3.580 MHz
HPET timer 25.000 MHz
Perf timer 25.000 MHz
Sys timer 1.000 KHz


Processors Information
-------------------------------------------------------------------------

Processor 1 ID = 0
Number of cores 2 (max 2)
Number of threads 2 (max 2)
Name AMD Athlon 64 X2 5000+
Codename Brisbane
Specification AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Package Socket AM2 (940)
CPUID F.B.2
Extended CPUID F.6B
Brand ID 4
Core Stepping BH-G2
Technology 65 nm
Core Speed 2591.0 MHz
Multiplier x FSB 13.0 x 199.3 MHz
HT Link speed 996.6 MHz
Stock frequency 2600 MHz
Instructions sets MMX (+), 3DNow! (+), SSE, SSE2, SSE3, x86-64, AMD-V
L1 Data cache 2 x 64 KBytes, 2-way set associative, 64-byte line size
L1 Instruction cache 2 x 64 KBytes, 2-way set associative, 64-byte line size
L2 cache 2 x 512 KBytes, 16-way set associative, 64-byte line size
FID/VID Control yes
Max FID 13.0x
Max VID 1.350 V
# of P-States 6
P-State FID 0x2 - VID 0x12 (5.00x - 1.100 V)
P-State FID 0xA - VID 0x10 (9.00x - 1.150 V)
P-State FID 0xC - VID 0x10 (10.00x - 1.150 V)
P-State FID 0xE - VID 0x0E (11.00x - 1.200 V)
P-State FID 0x10 - VID 0x0C (12.00x - 1.250 V)
P-State FID 0x12 - VID 0x0A (13.00x - 1.300 V)


K8 Thermal sensor yes
K8 Revision ID 6.0
Attached device PCI device at bus 0, device 24, function 0
Attached device PCI device at bus 0, device 24, function 1
Attached device PCI device at bus 0, device 24, function 2
Attached device PCI device at bus 0, device 24, function 3

Code: [Select]
[Render_OpenGL]
TexQual=3
TexMipFilter=3
TexCompress=0
TexFlags.UseDither=0
TexFlags.UseAlpha=0
TexFlags.UseIndex=1
TexFlags.PolygonStipple=0
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=0
TexFlags.UseVertexArrays=0
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=1
TexFlags.UsePaletteExt=0
TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=0

TexFlags.TexEnvCombine4NV=0
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=0
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=0

HardwareShaders=1

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=3
LandShading=3
LandDetails=2
CountryDetails=2
LandGeom=3
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=17
Water=2
Effects=1
ForceShaders1x=0

PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24036
  • Taking a timeout
    • STFU
Re: Process affinity mask hidden settings?
« Reply #22 on: February 12, 2013, 06:47:09 AM »

In order to make life easier for all of us I made some little tool which calculates the ProcessAffinityMask setting for you, see here:
https://www.sas1946.com/main/index.php/topic,32520.0.html

Hope that helps.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

thefruitbat

  • member
  • Offline Offline
  • Posts: 334
  • http://dangerdogz.com
    • Dangerdogz
Re: Process affinity mask hidden settings?
« Reply #23 on: February 12, 2013, 09:02:20 AM »

there some stuff in this thread i did about 3 years ago re hyperthreading mainly on page 2,

http://forums.ubi.com/showthread.php/551254-wish-you-could-unlock-the-power?highlight=hyperthreading

i came to the conclusion that i didn't notice any difference in il2 if i recall.
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.073 seconds with 20 queries.