Opened 8 years ago

Last modified 5 years ago

#738 assigned enhancement

Record true start/end time for build steps

Reported by: catlee Owned by: toinbis
Priority: minor Milestone: 0.9.+
Version: Keywords: sprint, eta
Cc: toinbis

Description

Buildbot currently records the start/end time for steps on the master. This means that end time of step N is always the same as the start time of step N+1.

When master load is high, the latency between a slave actually finishing a command and receiving the next one can be significant.

One idea is to have the slaves record the command start time internally, and then when the command is done, send the slave start/end time to the master. The master would use its version of the start time as the step start time, and then calculate the delta between slave start time as master start time as clock scew/network latency and add it to the slave's end time.

Change History (5)

comment:1 Changed 8 years ago by dustin

  • Cc toinbis added
  • Milestone changed from 0.8.+ to 0.8.1
  • Owner set to toinbis
  • Status changed from new to assigned

This would make ETA calculations a good bit more accurate, too.

comment:2 Changed 8 years ago by dustin

  • Milestone changed from 0.8.2 to 0.8.3

comment:3 Changed 7 years ago by dustin

  • Milestone changed from 0.8.3 to 0.8.+

comment:4 Changed 5 years ago by dustin

  • Keywords sprint added
  • Milestone changed from 0.8.+ to 0.9.+

This would involve some protocol changes, so some care will be required in the implementation.

comment:5 Changed 5 years ago by dustin

  • Keywords eta added
Note: See TracTickets for help on using tickets.