Hi Community,
last year my Company decided to replace our old ERP-System with Dynamics AX so with the beginning of this year we started using AX in our Finance Department.
Since the productive Start there was a feeling, that the AX-Environment slow, but it was only a feeling I could not measure.
As the records in the Database grew our batch jobs started taking longer and longer so I started to analyse the performance.
One of the jobs that is running slow is the Job "Process ledger transactions" in the Cost accounting module so I created a trace in the tracing cockpit while processing the transactions for one day to find the bottleneck.
In this trace I see that The overall process took approx. 26 seconds where the Database Time is less then 6 seconds.
Another process is the Creation of collection letters in the Accounts receivable module. When I run this job for one big customer the overall process takes approx. 28 seconds where the Database Time is approx. 8 seconds.
Having this information I believe the bottleneck is the code execution on AOS and not the Database server.
I disabled our Antivirus Software and have also tried to move all other virtual Machines to another ESX Host so the AOS-Server has one exclusive Host, but both did not improve the execution time.
Having a look to the CPU load during Job-Execution I can see that the VM is consuming approx. 20% CPU and the ESX host is not consuming more than 10% on any core.
Is anyone else experiencing such performance problems and what could be the reason for this Problem? - I can not believe that executing such simple code takes that long without consuming CPU.
Some Information how our System is configured:
- Dynamics AX 2012 R3 CU9 with ISV Solution for our Business (There is no modification in the code-units mentioned above)
- Production Environment with 2 AOS Server
- Test Environment with 1 AOS Server
- Each AOS-Server is running Windows Server 2012 R2 on a ESXi Cluster with 16 GB RAM and 4 Cores
- SQL Server 2008 R2 SP2 as Hardware Cluster (1 Instance for each AX Environment with 32 GB-Ram exclusive allocated)
- Currently 15 active Users.
The Trace for the both Jobs:
I hope someone can help me
Thanks and Regards
Henning
*This post is locked for comments