web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Improve VM performance

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

I have a VM with below configurations:

Single Server Environment.

RAM- 32GB

HDD- 150GB

Concurrent users- 15

AOS- Single

Basically the problem here is when all the users are logged in and try to hit the  DB(ie creating a new table,EDT or so) then  the AX Client gets very slow and hangs otherwise the VM performance is good.

I have tried increasing the SQL Server  max memory and it works for some time and then the issue comes again.

Does installing multiple instances of AOS will help?

Any suggestions on how to improve the performance???

 

 

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,570 Most Valuable Professional on at
    RE: Improve VM performance

    Does it mean that you have everything (DB, AOS, 15 AX clients) on the same VM? That's definitely not a wise setup and it's not supported for production use.

    I wouldn't strongly recommend moving SQL Server to a dedicated box and configuring it according to best practices (transaction log on its own disk etc.).

    Then you have to measure what's slow. For example, if your database files lie on a very slow disk, adding more RAM can't solve it.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Improve VM performance

    Martin,

    Thank you for the inputs.

    First of all it is not a production env, just a training env which should be up for a few days.

    Yes, All the DB, AOS and the client in the same VM.

    We cannot do much of moving the components into other VM's.

    Any more suggestions?

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: Improve VM performance

    Like Martin said, you need to monitor the system to see the bottlenecks. Also for a training environment I would not have 15 users on this machine. Installing a second AOS on the same machine also has no use. It is only consuming additional resources.

    By the way: what type of virtualization technology are you using?

    Is the training about development? Then for sure I would provide a VM per attendee.

  • Suggested answer
    Chino Profile Picture
    130 on at
    RE: Improve VM performance

    If you have a single machine installation it will not get any faster I am afraid. Unless you scale up your hardware you might get a performance boost but its not an efficient upgrade

  • Community Member Profile Picture
    on at
    RE: Improve VM performance

    Thanks Arnaud.

    I would also definetely assign a VM per attendee. But here it is just a BootCamp training and we do not have so many VM's up and running.

    Also there is not much of Dev work it is just showing them how to create and use the stuff from AOT.

  • Suggested answer
    Umesh Pandit Profile Picture
    9,315 User Group Leader on at
  • dekaasboer Profile Picture
    1,530 on at
    RE: Improve VM performance

    I regurary set up test and dev enviroments on a single machine. I have some crude guidelines for these crude enviroments.

    • Set all DB's to simple recovery mode to reduce logging.
    • Balance your ram. SQL will consume everything if left unchecked but you need to give the AOS and clients enough room to build their own caches. In you case I would capp SQL on 10-12 gb. If you have SSRS and SSAS running as well you will need to capp these too.
    • Turn off preview panes and fact boxes in AX.
    • Minimise database logging.
    • Spread your IO as much as possible. The AOS caches some tables on disk. The clients have caches in their local profile. Your tempdb, LOG and AX DB's all generate reads and writes.
    • Set up your virus scanner to exclude DB's, log files, AX Client and AOS chaches and the generated CIL files.

  • Guy Terry Profile Picture
    28,911 Moderator on at
    RE: Improve VM performance

    The biggest single performance boost I have found when running all AX components on one VM comes from putting the VHDs on an SSD drive.

  • Community Member Profile Picture
    on at
    RE: Improve VM performance

    Hey Rik,

    This looks pretty Good.

    Let me try it and will share the results soon..

    Thanks....

  • UhimU Profile Picture
    5 on at
    RE: Improve VM performance

    A list of 20 tweaks which can be used to optimize and improve VM performance in a Hyper-V environment:

    Enable Hyper-V Integration Services
    Use fixed VHD files
    Don’t use Hyper-V snapshots as a Hyper-V backup alternative
    Configure the size of paging files
    Do not create too many virtual network switches
    Avoid overloading the management OS
    Close unnecessary applications
    Install Hyper-V on Windows Server Core
    Determine a performance baseline
    Allocate resources effectively
    Enable Multipath I/O
    Use the Dynamic Memory Feature
    Enable VLAN tagging
    Defragment virtual hard disks
    Ensure that your hardware is certified
    Use RAID 10 volumes
    Deploy 64-bit guest OSs and Generation 2 VMs
    Properly configure your anti-virus
    Organize busy VMs into separate volumes
    Automate tasks with PowerShell cmdlets

    More here: https://www.nakivo.com/blog/top-20-tips-improve-vm-performance-hyper-v

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans