Mailinglist Archive: opensuse-buildservice (327 mails)

< Previous Next >
Re: [opensuse-buildservice] job 'job is nth in queue' indicator
On Sat, Apr 16, 2011 at 11:34:52PM +0200, Claudio Freire wrote:
On Sat, Apr 16, 2011 at 12:45 AM, Greg KH <gregkh@xxxxxxx> wrote:
On Fri, Apr 15, 2011 at 11:57:00PM +0200, Claudio Freire wrote:
On Fri, Apr 15, 2011 at 7:10 PM, Greg KH <gregkh@xxxxxxx> wrote:
How do you know ahead of time how long a build process takes, or what it
even involves, in order to be able to determine where 50% is?

While technically true, there's ways to approximate.

Really?  How do you do so for something as "simple" as building the
Linux kernel?

Since, technically, most files takes roughly the same amount of time
to compile. And, technically, abnormally costly files tend to be
randomly spread. So if you count percentage by number of tasks to run
(number of files to build), it usually works out fine.

How can you count the number of files to build ahead of time?

Any half-decent build system does a pre-pass to check for changes,
dependencies, and what needs to be rebuilt.
So yes, that's already done, and rather quickly.

Ok, nice, care to show how you would do this for the kernel package as
an example? It has a very decent build system.


greg k-h
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups