* [ptxdist] Build speed ups
@ 2017-09-18 12:33 Erwin Rol
2017-09-18 13:43 ` Alexander Dahl
2017-09-18 17:14 ` Root
0 siblings, 2 replies; 5+ messages in thread
From: Erwin Rol @ 2017-09-18 12:33 UTC (permalink / raw)
To: ptxdist
Hey All,
first thanks for the replies on my Yocto mail.
Now I have a real PTXdist question;
What do you use to speed up your builds?
For example I use webkitgtk and that clips my 24 core Xeon at 100% for
like 30 minutes.
ccache doesn't really help by a first run, it even makes it worse. Also
I must build several versions and so the ccache hast to be massive or
else the cache is always just updating and before you can use it it is
flushed from it already.
So get faster hardware? Of course one could get a >100k euro multi CPU
system, but I don't think that is the most economic choice.
Distributed CC (distcc/icecc) seem a possibly to scale up things in
smaller steps (ad cheap compile server one by one) Sadly I don't have
any experience with it, but it is something I want to look into.
PTXDist's -j functionality I can not use for all my builds, for example
I am stuck on kernel 3.1.10 (thanks nVidia), which means I am stuck on a
older systemd and can't use gcc 5.4 etc. So I am stuck at a rather old
ptxdist, and never got to try the -j stuff. (But with the webkitgtk
example it won't help much, the CPU is at 100% already)
So what do ppl do to make things faster ? I would really like to hear
other ppls experiences with large builds.
- Erwin
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] Build speed ups
2017-09-18 12:33 [ptxdist] Build speed ups Erwin Rol
@ 2017-09-18 13:43 ` Alexander Dahl
2017-09-18 17:14 ` Root
1 sibling, 0 replies; 5+ messages in thread
From: Alexander Dahl @ 2017-09-18 13:43 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 897 bytes --]
Hei hei,
On Mon, Sep 18, 2017 at 02:33:50PM +0200, Erwin Rol wrote:
> Distributed CC (distcc/icecc) seem a possibly to scale up things in
> smaller steps (ad cheap compile server one by one) Sadly I don't have
> any experience with it, but it is something I want to look into.
We use icecc here. Before using it, I had some doubts and thought it
would be complicated to setup, but it wasn't, also thanks to the
transparent integration in ptxdist. You can easily integrate
machines already running in your local network. Definitly something I
would give a try before buying new hardware.
Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF 08FA 34AD CD00 7221 5CC6 ***
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] Build speed ups
2017-09-18 12:33 [ptxdist] Build speed ups Erwin Rol
2017-09-18 13:43 ` Alexander Dahl
@ 2017-09-18 17:14 ` Root
2017-09-19 4:45 ` Ulrich Ölmann
2017-09-19 6:42 ` Schenk, Gavin
1 sibling, 2 replies; 5+ messages in thread
From: Root @ 2017-09-18 17:14 UTC (permalink / raw)
To: ptxdist
Hi,
> What do you use to speed up your builds?
>
do you know PTXCONF_PROJECT_CREATE_DEVPKGS and PTXCONF_PROJECT_USE_DEVPKGS?
You find this options in ptxdist menuconfig submenu Project name & version.
This does not speed up the compile step, it skips the compile step and use
prebuild packages from an earlier build instead for all packages you
want to do this.
> Distributed CC (distcc/icecc) seem a possibly to scale up things in
> smaller steps (ad cheap compile server one by one) Sadly I don't have
> any experience with it, but it is something I want to look into.
>
Depending on your PTXDIST version this is really easy to setup in
PTXDIST. Do you see the option SETUP_ICECC in ./ptxdist setup?
Depending on the amount of workstations in your icecream network this is
a real boost!
Regards
Gavin
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] Build speed ups
2017-09-18 17:14 ` Root
@ 2017-09-19 4:45 ` Ulrich Ölmann
2017-09-19 6:42 ` Schenk, Gavin
1 sibling, 0 replies; 5+ messages in thread
From: Ulrich Ölmann @ 2017-09-19 4:45 UTC (permalink / raw)
To: ptxdist
Hi there,
On Mon, Sep 18, 2017 at 07:14:52PM +0200, Root wrote:
> > What do you use to speed up your builds?
>
> do you know PTXCONF_PROJECT_CREATE_DEVPKGS and PTXCONF_PROJECT_USE_DEVPKGS?
> You find this options in ptxdist menuconfig submenu Project name & version.
>
> This does not speed up the compile step, it skips the compile step and use
> prebuild packages from an earlier build instead for all packages you
> want to do this.
quite recently we reviewed the corresponding section of the PTXdist
documentation, see
http://testbed.ptxdist.org/doc/daily_work_section.html#using-pre-built-archives
for more information.
Best regards
Ulrich
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] Build speed ups
2017-09-18 17:14 ` Root
2017-09-19 4:45 ` Ulrich Ölmann
@ 2017-09-19 6:42 ` Schenk, Gavin
1 sibling, 0 replies; 5+ messages in thread
From: Schenk, Gavin @ 2017-09-19 6:42 UTC (permalink / raw)
To: ptxdist
Hi,
cool send my mail as root ... sorry.
> Depending on your PTXDIST version this is really easy to setup in
> PTXDIST. Do you see the option SETUP_ICECC in ./ptxdist setup?
>
> Depending on the amount of workstations in your icecream network this is
> a real boost!
>
Setup is easy if SETUP_ICECC is available in your PTXDIST version.
1.) Install packages something like:
apt-get install icecc icecc-monitor
2.) Define a scheduler host in /etc/icecc/icecc.conf
ICECC_SCHEDULER_HOST="YOUR-SCHEDULER-HOSTNAME-OR-IP"
3.) Restart daemon e.g.
service iceccd restart
4.) Build with -ji option e.g.
./p targetinstall kernel -ji32
You can watch your build with icemon. Try something like:
export USE_SCHEDULER=YOUR-SCHEDULER-HOSTNAME-OR-IP && icemon
Regards
Gavin
(alias root)
Eckelmann AG
Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann
Dr.-Ing. Marco Münchhof Dr.-Ing. Frank Uhlemann
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Stv. Vorsitzender des Aufsichtsrats: Dr.-Ing. Gerd Eckelmann
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-09-19 6:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18 12:33 [ptxdist] Build speed ups Erwin Rol
2017-09-18 13:43 ` Alexander Dahl
2017-09-18 17:14 ` Root
2017-09-19 4:45 ` Ulrich Ölmann
2017-09-19 6:42 ` Schenk, Gavin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox