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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

Number of threads to use in a batch processing

(1) ShareShare
ReportReport
Posted on by 141
Hi experts, 
I have a doubt on maximum usage of threads in a batch process. I am right now using /Top picking/ strategy to allocate tasks to each threads in sys operation. The maximum number of threads that Microsoft recommends to set is about 16. My doubt is, can we use all the 16 threads or about 15 threads when we are running our batch job in multithreading sys operation? There are some jobs that will be run by default for some standard processes, right? Will those get affected if I use about 15 threads? I don't have any exact requirement for heavy load processing. I am just trying to understand whether it will impact anything else if use the maximum capability of threads. Any suggestions are appreciated. 
 
Thanks in advance, 
John. 
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,327 Super User 2025 Season 2 on at
    Number of threads to use in a batch processing
    Hi John,
     
    Technically, you can set up all the available batch threads. The result is that when a new batch task should be executed and no threads are available, it will queue up the tasks until there is another one available. 
     
    From an implementation point of view, you would need to check what batch processes you need. Which are critical? At what time are they running? When you know possible overlaps and priorities, you can determine what number of threads to allocate.
  • Andreas Raithel Profile Picture
    4,963 Moderator on at
    Number of threads to use in a batch processing
    Hy John,
     
    you are on the right track, as batch jobs setup and moinitoring is crucial to avoid business process breaks.
    If no threads are avaialable for other important batch jobs they will be queued until thraeds ara available again.
     
    So planning of batch jobs is very important, starting point is here to understand the priority based batch configuration Priority-based batch scheduling - Finance & Operations | Dynamics 365 | Microsoft Learn and for more planing and documentation this also a good approach for Sysadmins Batch Jobs; Take control of the executions | Kurt Hatlevik – Dynamics 365 Blog
     
    Hope this helps
     
    Herzliche Grüße / kind regards,
     
    Andreas Raithel
    D365FO Solution Architect
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on at
    Number of threads to use in a batch processing
    Hi,
    You can refer to this blog post: Priority-based batch scheduling in Dynamics 365 - ariste.info. It introduces about priority-based batch scheduling. Or you can refer to this official document: Batch processing and batch servers - Finance & Operations | Dynamics 365 | Microsoft LearnThis article describes batch processing and batch servers, and how to plan for their use.
    Best regards,
    Kevin

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,122

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 918 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 646 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans