Runtime licensing understanding2

Hi guys. I have a question about runtime.

To run 6 processes simultaneously, whether in the foreground or the background, 6 runtimes are required. Of course, if they are in the foreground, 6PCs are needed, whereas if they are in the background, only one PC is sufficient. Nonetheless, we understand that the number of PCs does not affect the required number of runtimes.

However, why does the document below state that only 2 runtimes are needed to run 6 background processes? It mentions that 3PCs can run 6 processes by using two runtimes on each PC. In that case, wouldn’t simultaneous execution be impossible?

Even if this content does not assume simultaneous execution as a requirement, something still seems off. In the example below, it states that 4 runtimes are needed when 4 Windows background processes are running. If simultaneous execution is not necessary, it should be possible with only one runtime. Why am I so confused?

The link to this document is here Orchestrator - How is unattended automation performed

@Yoichi @ppr @Parvathy

hi @rinum01,

I think you missed the detail prior to the table.
The scenario described has 3x Linux machines and 1x high-density Windows Server.

I believe if you have 3x high-density Windows Server, then you will be able to run 6x concurrent jobs with 2 unattended runtimes.

Also important to remember this applies only for background processes.

Hi @Keegan_Kosasih .
I don’t understand…

If 6 foreground processes need to run simultaneously, and 2 processes are already running, wouldn’t the remaining 4 processes be unable to run because all the runtimes are in use?

If the number of PCs affects the runtime, only 2 runtimes are allocated to a machine template, then can 200 background processes be run simultaneously if there are 100 PCs connected to that template?

hi @rinum01,

Short answer is yes.

With 6 foreground processes and 2 runtime licenses, the 4 will be pending until the 2 running processes are finished.

With 200 background processes, 2 runtime licenses, 100 PCs, it will run but you also need to ensure only 2 robot accounts are involved.

More details on background process here:
Studio - Background Process (uipath.com)

Sorry, Keegan. I’m still uncertain. I also checked the link you provided. I’ll try asking in a different way.

I need to run 100 background processes, but I only have one Linux PC. I want to run all 100 processes simultaneously. Background processes can run multiple instances on a single PC. However, 100 runtimes need to be registered with the machine template that the PC uses. If there are only 30 runtimes, only 30 processes will run on one PC, and the remaining 70 processes will be pending. Is my understanding correct so far?

If my understanding is correct so far, my question is this: a single PC can run 100 processes as long as there are enough runtimes available.

So, why is the optimal setting for 6 background processes 2 runtimes in the original screenshot? Since a single PC can run multiple background processes, the number of Linux PCs we have is not important. Therefore, the explanation that only 2 runtimes are needed because 6 processes divided by 3 (the number of PCs) equals 2 runtimes is hard to understand.

@Yoichi @Anil_G @supermanPunch

Hi guys.
I saw this Information on Simultaneous Background Processes in UiPath - #11 by Yoichi

And I need your help, I think this is similar problem with that link.
I can not understand this screenshot.

If there are enough runtimes, a single PC can run all background processes simultaneously. So why does the optimal setting in the screenshot depend on the number of Linux PCs?

Thank you always for your activities.

Wrong.

You are mixing up background and foreground processes.

Background processes can run simultaneously while consuming 1 runtime license.
With the right setup.

Foreground processes require 1 runtime license for every process that needs to run.
If there is not enough, jobs will remain on pending status.

But In the first example, it is stated that 4 runtimes are needed when running 4 background processes on a single Windows PC. If it’s possible to run multiple background processes with a single runtime, why are there 4 runtimes set up?

Additionally, according to this link(Robot - Background Process Automation), Attended robots can run multiple background processes with a single runtime, but Unattended robots consume a separate runtime for each background process.

Oh, I fully understand now. It’s not that PCs divide the number of runtimes set in the machine template at runtime. When PCs are connected to the machine template, each PC gets the runtime set. For example, if the runtime of the machine template is 2 and 3 PCs are connected to the template, it doesn’t mean that 3 PCs share 2 licenses. Each PC has the right to use 2 runtimes, so you need to purchase a total of 6 tenant-level unattended licenses. If you connect 3 PCs to a template with 2 runtimes allocated, but you’ve only purchased 5 runtimes at the tenant level, 2 PCs will have complete licenses, but 1 PC will have an incomplete license.

This link contains the answer. I believe it’s not good for learners because this document was not in the runtime or machine template documents but in the wrong place(It was in the Monitoring document).