Project

General

Profile

Actions

Feature #7178

closed

Support parallel processing of sub-jobs

Added by Evgeny Novikov about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Immediate
Category:
-
Target version:
-
Start date:
05/07/2016
Due date:
% Done:

0%

Estimated time:
Published in build:
af3b58e

Description

Now sub-jobs are decided one by one primarily because of we wouldn't like to copy Linux kernel source code for each sub-job especially when we deal with the Git repository (it will take too much time and splace) while each sub-job needs a fresh source code (thus it is completely cleaned up at the beginning of each sub-job decision).

Nevertheless we do can process sub-jobs in parallel. Just source preparation (e.g. commit checkouting) and build processes of different sub-jobs should be executed strictly sequantially. As for the rest we don't need to put anything inside the source tree (yes, I already realized that it has not so much sense) and, that is much more tricky, we need to prepare true verification objects rather than just descriptions like now. That is when a build command is executed we need to copy all its input files, including headers, outside of the source tree so that we will repeat it there absolutely like the original command. It also can help to deal with very "clever" build scripts, that like remove or even worse overwrite referenced source files during build.

Technically everything looks quite simple to be implemented. Some overhead will be presented since we will need some extra time and disk space to get all referred source files, for instance when checking all modules, we will likely have to copy the most of source files.


Related issues 3 (0 open3 closed)

Related to Klever - Feature #6596: Implement more generic class JobClosedEvgeny Novikov01/29/2016

Actions
Related to Klever - Feature #6606: Process and filter raw build commands immediately after they are extractedClosedEvgeny Novikov01/29/2016

Actions
Copied from Klever - Bug #6595: Fix wating of uploading repots from other sub-jobsRejectedEvgeny Novikov01/29/2016

Actions
Actions

Also available in: Atom PDF