KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: CPU Priority and default settings
PRODUCT: 4D | VERSION: 12 | PLATFORM: Mac & Win
Published On: December 16, 2011

The CPU Priorities database settings allow for the customization of the frequency with which 4D applications must "switch back" to other applications. By default, these values are set to the "average" setting.

As a general rule, the default values are the recommended values. In the case of the CPU priorites, the defaults are set to the "average" setting in order to allow for 4D and the operating system to work out how much CPU time 4D should get. Modern operating systems are designed for multi-tasking and it is best to not "bunk" with the way they decide to switch between the applications that are running on a machine.

Using non-default settings can have unforseen side affects. For example, setting the priority to 4D, can result in a high CPU time being reported by the operating system. In this case, a developer may look at the high CPU time and think that the database is very busy, when in reality, the number is a result of the operating system giving the 4D application more CPU time.