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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 only uses one processor core to compile

(0) ShareShare
ReportReport
Posted on by

I have a local version of AX installed on my Laptop.  The laptop has an Intel i7 cpu installed with 4 cores.  I have 8 Gig of memory and an SSD hard drive.

The machine is blinding fast and runs AX better than our server.  There is another posting on this forum concerning the long compile times, but my full compile only takes three hours or so (compiler set to level 3).

My question is: Why does AX only use 25% of my total CPU to compile.  When I look at the resource monitor durring a compile the disk usage is zip, there are no memory page faults, and the CPU holds steady at 25%. Is the AX compile not multi-processor friendly? Is there a way to get it to use my other processor cores?

Thanks,

Alan

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Also, the combination of AX32Serv.exe, sqlservr.exe, and Ax32.exe will not use more than 25% processing power (1 core).  This is all very strange as I have not set the processor affinity.

  • Community Member Profile Picture
    on at

    Both a DB synchronize and CIL Build will use all four of my processor cores.

  • Verified answer
    Denis Patrakov Profile Picture
    on at

    An AX client session runs in a single thread and thus most of the time it loads at most one CPU core. Yes, a client itself runs more then one thread (mostly to make the UI responsive), but that doesn't matter here. When I need to compile the entire application quickly I usually run several clients simultaneously - each of them compiles its own AOT branch (data dictionary, form, reports) except for classes: I run three clients to compile them, just select about one third of their number in each client. That usually loads four cores for good.

  • Community Member Profile Picture
    on at

    Sweet!  Good answer.  :-D

  • Nicholas Peterson Profile Picture
    365 on at

    Is there any downside to performing a compiliation this way? For instance, is there any way this could cause compilation failures or problems? Is this a viable option after than initial install to get the system going quickly?

  • Community Member Profile Picture
    on at

    Without knowing more details about the compile process, I would not reccomend this for a production environment. The compiler is a multi-pass compiler and therefore if there are dependancies accross your compile batches, then there could possibly be unknown errors. I would use this method when installing a new model or XPO and you want to find compile issues.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans