Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products Build your own agents CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Migrate to the cloud Documentation Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
  • 1 min read

Is there a “rule of thumb” for the calculation of the number of threads per AOS instance in MS Dynamics AX 2009 SP 1?


There is a kind of rule for that which is: (Number of physical CPU cores * 2) per AOS instance where you only have 1 AOS instance installed per computer.

Example1: You have a computer (it may be physical or virtual) with 1 CPU which has 4 physical processor cores and Windows Hyperthreading is enabled.

In this scenario you would see 8 CPUs shown in Windows tasks manager. For the calculation you would not consider the “virtual” CPU cores coming from Windows Hyperthreading feature.

So the number of threads per AOS instance is: 4

Example2: You have a computer (it may be physical or virtual) with 2 CPUs which has 4 physical processor cores per CPU and Windows Hyperthreading is enabled.

In this scenario you would see 16 CPUs shown in Windows tasks manager. For the calculation you would not consider the “virtual” CPU cores coming from Windows Hyperthreading feature.

So the number of threads per AOS instance is: 8

Note: The higher the number of threads per batch AOS server the higher the CPU is loaded. It needs some performance testing in an appropriate test environment to check out that an AOS will not be overloaded system resource wise. The following tests that were performed once will give you a more detailed picture here:

http://blogs.msdn.com/b/axinthefield/archive/2011/03/25/optimizing-ax-batch-performance-using-batch-group-configurations.aspx

http://blogs.msdn.com/b/axinthefield/archive/2011/06/13/optimizing-ax-batch-performance-batch-thread-configuration.aspx

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.