Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Sometime QB server give job to weaker agent. #4527

whoami ·

When a build trigger to the resource that have multiple agents.
Sometime QB give build to weaker agent.
I talked that because with same build, for example agent A took 2(weakest) hours to done job, agent B (stronger) took 1.5 hours to done job, agent C (strongest) took 1 hour.
Sometimes, the agent was given build by order: A -> C ->B.
I was confused how QB choose the agent to give the job.

I found that agent have a field benchmark. This field' purpose is to define the performance of agent, right?
If this is true, I saw this function benchmark() only calculate the single thread function. This can misleading to the wrong order of chosen agent.

@robinshen @Developers please help

  • replies 1
  • views 282
  • stars 1
robinshen ADMIN ·

An accurate benchmark might be difficult to calcualate. You may consider to configure node preference setting in advanced setting of a step if the default strategy is not optimal.