forked from fedora-copr/copr
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
:orphan: | ||
|
||
.. _powerful_builders: | ||
|
||
Default builders in Copr are too slow! | ||
====================================== | ||
|
||
The default Fedora Copr workers are typically fast enough for the vast majority | ||
of package builds. However, some package builds are extremely | ||
resource-intensive, and our default workers struggle with them. A notable | ||
example is Blink_-based browsers, which can take even more than 24 hours to | ||
build. | ||
|
||
From a build system perspective, this isn't a problem. You can simply specify | ||
``--timeout 180000`` (in seconds) and be prepared to wait for the build to | ||
finish. But if you want to expedite your builds, you do have the option to | ||
request "powerful" builders. | ||
|
||
Pros & Cons | ||
----------- | ||
|
||
The "powerful" builders will handle your builds much faster (according to the | ||
configuration as of October 2023, they are approximately 8 times faster than the | ||
default builders). The downside is that they are in limited supply. We can | ||
only start a few of them, and if multiple users request them and compete with | ||
each other, they may spend more time in the queue, resulting in longer wait | ||
times. Additionally, because these machines are costly, we don't pre-allocate | ||
them (as we do with the normal builders). We only start these powerful ones | ||
when "enabled builds" request them (which may itself take several minutes). | ||
|
||
As a consequence, when you configure your project, chroot or package to use | ||
powerful builders, there's no "magical fallback to normal builders" implemented. | ||
You'll simply have to wait for the powerful builder. | ||
|
||
The rule of thumb is to avoid using high-performance workers for builds that are | ||
expected to complete in less than two hours on normal builders. | ||
|
||
How to request powerful builders | ||
-------------------------------- | ||
|
||
As of October 2023, we only support powerful builders for ``x86`` and | ||
``aarch64`` architectures. Please think carefully (ensure you understand the | ||
previous section, especially the cons) and submit an issue_. Specify your | ||
project, chroot, and the packages you want to configure to use powerful | ||
builders. | ||
|
||
.. _Blink: https://en.wikipedia.org/wiki/Blink_(browser_engine) | ||
.. _issue: https://github.com/fedora-copr/copr/issues |