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

IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games.

Reply
 
Thread Tools Display Modes
  #21  
Old 10-18-2011, 09:27 AM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Quote:
Originally Posted by 335th_GRAthos View Post
I am very bad with (binary maths) so, what number do we need in order to make the game use cores 0+2+4+6 ????
In affinity mask each bit represents one CPU: 1 value - use CPU, 0 value - don't. Bits are counted from right to left, so you need do the same with CPUs. In our case, that would be: 7, 6, 5, 4, 3, 2, 1, 0. Now replace wanted CPUs with 1s and unwanted with 0s. You will get: 0, 1, 0, 1, 0, 1, 0, 1 or simply 1010101. Convert that from binary to decimal (use Windows calculator) and get a mask of 85.
Reply With Quote
  #22  
Old 10-18-2011, 10:00 AM
klem's Avatar
klem klem is offline
Approved Member
 
Join Date: Nov 2007
Posts: 1,653
Default

Quote:
Originally Posted by ZaltysZ View Post
In affinity mask each bit represents one CPU: 1 value - use CPU, 0 value - don't. Bits are counted from right to left, so you need do the same with CPUs. In our case, that would be: 7, 6, 5, 4, 3, 2, 1, 0. Now replace wanted CPUs with 1s and unwanted with 0s. You will get: 0, 1, 0, 1, 0, 1, 0, 1 or simply 1010101. Convert that from binary to decimal (use Windows calculator) and get a mask of 85.
Is it better to assign CoD to the first threads of each core in this way or to turn off Hyperthreading in BIOS and assign it to all cores (=15).

And why?
__________________
klem
56 Squadron RAF "Firebirds"
http://firebirds.2ndtaf.org.uk/



ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU
Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders
Reply With Quote
  #23  
Old 10-18-2011, 11:49 AM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Quote:
Originally Posted by klem View Post
Is it better to assign CoD to the first threads of each core in this way or to turn off Hyperthreading in BIOS and assign it to all cores (=15).

And why?
First or second logical core of physical core isn't important. It is important to not assign to both logical cores of the same physical core. You can achieve the same by disabling HT in BIOS (you will have single logical core per physical one), but then you may loose performance in other programs (i.e. HT is really helpful in encoding). I don't use PC just for gaming, so disabling HT isn't very attractive thing for me.

P.S.1: Windows 7 avoids putting threads on same physical core when others are free, unless thread is HT aware.
P.S.2: Some applications check CPU count and then decide how many threads it will spawn. Depending on counting method used, they may simply spawn too many threads for given mask (i.e. you have 4 cores, but give only 2 to application; application still sees that you have 4 cores total and spawns 4 threads, instead of optimal 2). If such applications does not have a way to be told about cpu count or thread count, HT might be problematic and probably should be disabled.

Last edited by ZaltysZ; 10-18-2011 at 12:12 PM.
Reply With Quote
  #24  
Old 10-18-2011, 02:50 PM
SEE SEE is offline
Approved Member
 
Join Date: Oct 2009
Posts: 1,678
Default

In the Nvidea control panel is the option of 'threaded optimisation' which can be 'auto', 'on' or 'off'. I did some reading using google and there are a wide range of opinions regards this parameter. I just tried the Black death track with it switched 'off'. (some say the 'auto' feature is bugged but may be that applies to earlier Drivers)

I didn't get any stutters or pauses (just a drop in fps as the bombs hit) but should this be 'on' and how does it relate to this discussion regards hyperthreading (especially for us whose BIOS doesn't allow the user to disable HT)?
__________________
MP ATAG_EvangelusE

AMD A8 5600K Quad Core 3.6 Ghz - Win 7 64 - 8Gb Ram - GTX660ti 2Gb VRAM - FreeTrack - X52 - Asus 23' Monitor.
Reply With Quote
  #25  
Old 10-18-2011, 04:07 PM
klem's Avatar
klem klem is offline
Approved Member
 
Join Date: Nov 2007
Posts: 1,653
Default

Quote:
Originally Posted by ZaltysZ View Post
First or second logical core of physical core isn't important. It is important to not assign to both logical cores of the same physical core. You can achieve the same by disabling HT in BIOS (you will have single logical core per physical one), but then you may loose performance in other programs (i.e. HT is really helpful in encoding). I don't use PC just for gaming, so disabling HT isn't very attractive thing for me.

P.S.1: Windows 7 avoids putting threads on same physical core when others are free, unless thread is HT aware.
P.S.2: Some applications check CPU count and then decide how many threads it will spawn. Depending on counting method used, they may simply spawn too many threads for given mask (i.e. you have 4 cores, but give only 2 to application; application still sees that you have 4 cores total and spawns 4 threads, instead of optimal 2). If such applications does not have a way to be told about cpu count or thread count, HT might be problematic and probably should be disabled.
ok I may try that. I don't have bad performance generally but I do get stutters on line.
__________________
klem
56 Squadron RAF "Firebirds"
http://firebirds.2ndtaf.org.uk/



ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU
Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders
Reply With Quote
  #26  
Old 10-18-2011, 04:29 PM
335th_GRAthos 335th_GRAthos is offline
Approved Member
 
Join Date: Oct 2007
Posts: 1,240
Default

Quote:
Originally Posted by ZaltysZ View Post
In affinity mask each bit represents one CPU: 1 value - use CPU, 0 value - don't. Bits are counted from right to left, so you need do the same with CPUs. In our case, that would be: 7, 6, 5, 4, 3, 2, 1, 0. Now replace wanted CPUs with 1s and unwanted with 0s. You will get: 0, 1, 0, 1, 0, 1, 0, 1 or simply 1010101. Convert that from binary to decimal (use Windows calculator) and get a mask of 85.

[Standing Ovation]

Thanks!
(we started with numbers 1,2,3,4 some years ago; then moved to 15 six months ago; now 85! This is progress my friends! )


I have been flying yesterday with HT = off
I must say I did not have any stutters but, I also realised I never had any stutters before.
So, I wanted to turn HT=on again and test but I also wanted to control better the use of CoD on the cores (and identify how much CPU-time is used by other processes).

Interestingly enough, I had exactly the same concern as SEE (the NV threaded optimisation usage).

~S~
Reply With Quote
  #27  
Old 10-18-2011, 05:17 PM
Kankkis Kankkis is offline
Approved Member
 
Join Date: Mar 2011
Location: Turku, Finland
Posts: 584
Default

Tryed yesterday first time without ht, no bad stutter, today i played with ht, no bad stutter. So i first thinking disabling ht was the cure but no it was yesterday official patch that was reduced much my stutter.
Reply With Quote
  #28  
Old 10-18-2011, 05:28 PM
CaptainDoggles's Avatar
CaptainDoggles CaptainDoggles is offline
Approved Member
 
Join Date: Jun 2011
Posts: 1,198
Default

Quote:
Originally Posted by ZaltysZ View Post
In affinity mask each bit represents one CPU: 1 value - use CPU, 0 value - don't. Bits are counted from right to left, so you need do the same with CPUs. In our case, that would be: 7, 6, 5, 4, 3, 2, 1, 0. Now replace wanted CPUs with 1s and unwanted with 0s. You will get: 0, 1, 0, 1, 0, 1, 0, 1 or simply 1010101. Convert that from binary to decimal (use Windows calculator) and get a mask of 85.
For those who enjoy math, the conversion from binary (base 2) to decimal (base 10) works out like this:

Code:
1010101 = 1*2^0 + 0*2^1 + 1*2^2 + 0*2^3 + 1*2^4 + 0*2^5 + 1*2^6
        =   1   +   0   +   4   +   0   +   16  +   0   +   64
        = 85
Reply With Quote
Reply


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 08:15 PM.


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