There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.
If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.
Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.
The Staff of SOH
Please see the most recent updates in the "Where did the .com name go?" thread. Posts number 16 and 17.
Hi RohanFor FSX, there are two types of affinity control, and even though both control which processes run in which processor core, they don't do the same thing. A process here is either a program or a program thread if it has them.
There is the internal FSX affinity control which allows you to tell the program which of its internal threads to run in which core. This control is the affinity mask setting in FSX.cfg. Note that FSX actually has just 3 of these threads, plus a thread handler.
Hope that helps,
Ro
)??? OK, here's the detail. Multiprocessing is a complicated subject and the terminology makes it worse because there are now so many different types of "thread"; it can be difficult to follow even when the correct terminology is used all the time (which even the experts can fail to do). I'll try to keep it simple so I'll only be talking about one type of thread. When a program is designed to run in more than one processor (core), the different parts of the program that are capable of being run at the same time are called threads, and the program needs a thread handler to make sure that the threads work together correctly (are effectively synchronised). Even today, there are not that many Windows programs which have been designed to run on more than one processor / in more than one core.
For FSX, there are two types of affinity control, and even though both control which processes run in which processor core, they don't do the same thing. A process here is either a program or a program thread if it has them.
There is the internal FSX affinity control which allows you to tell the program which of its internal threads to run in which core. This control is the affinity mask setting in FSX.cfg. Note that FSX actually has just 3 of these threads, plus a thread handler.
External to FSX are programs like Multicore Environment, PriFinitty and Set Affinity. These can assign programs to run in specific processor cores but, AFAIK, they cannot assign a specific program thread to run in a specific core. This means that to get the best FSX performance from using affinity tools, you need to use one or both depending on how you choose to fly in FSX.
If you fly with add-ons which run externally to FSX like TrackIR, then you need a program like PriFinitty so that you can force those add-ons to run in different cores from FSX. If you only have two cores, this is your best option.
If your add-ons are all run internally by FSX or you don't have any of this type of add-on, then you only need to use the internal FSX affinity mask. As I understand it, add-ons like Active Sky fall into this category, but I cannot be sure as I don't use that add-on. If you have either 2 or 4 cores, then I believe the best advice comes from Jesus Altuve and echo his recommendation that you use a mask setting of 14.
If you have more than 4 cores, then I would say the best option is to use a mask of 14 along with PriFinitty to force everything else to use different cores from FSX.
That's it. As with all things FSX, what works on one system will not necessarily give the same results when used on another system. If your current FSX settings give you results that you're happy with, I doubt that you'll gain much from the above, unless perhaps you're a TrackIR user.
Finally, a comment about all those programs that are NOT multi-threaded by design. Setting one of these to use more than one core will not necessarily give you better performance - in fact, doing so will increase the probability that the program will crash, and it's by no means certain that the program will actually give you the correct results.
Hope that helps,
Ro
Italo,
to set the FSX internal affinity mask, you need a job scheduler section in your FSX.cfg as follows -
[JOBSCHEDULER]
AffinityMask=14
The mask setting is actually used as a binary map to control which cores are used by FSX, so -
decimal 14 = binary 1110 = use core 3, core 2 and core 1 but not core 0
or
decimal 9 = binary 1001 = use core 3 and core 0 but not cores 2 or 1
If you'd like even more detail, this is a link to a copy of the original post by Jesus Altuve with a few minor updates compared to his original post at Avsim -
http://www.hovercontrol.com/artman/publish/article_122.shtml
The (brief) discussion of the mask setting comes just over half way down the page,
hope that helps,
Ro
:ernae:
