* [ptxdist] [PATCH] prelink: first boot warning
@ 2015-06-18 12:51 Bruno Thomsen
2015-06-18 13:08 ` Jürgen Borleis
0 siblings, 1 reply; 3+ messages in thread
From: Bruno Thomsen @ 2015-06-18 12:51 UTC (permalink / raw)
To: ptxdist; +Cc: bth
Running prelink with rc.once.d causes a first boot stall
of about 2 minutes on Freescale i.MX28 454MHz ARM9 processor.
This can be expensive if first device boot is during product
manufacturing (assembly, programming, configuration, test).
Signed-off-by: Bruno Thomsen <bth@kamstrup.com>
---
rules/prelink.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules/prelink.in b/rules/prelink.in
index 5d04fb0..1e06200 100644
--- a/rules/prelink.in
+++ b/rules/prelink.in
@@ -21,6 +21,7 @@ config PRELINK_RC_ONCE
help
install a script that will be run on the first boot to
prelink all programs and libraries.
+ warning! this can increase first boot with a few minutes!
config PRELINK_SKIP_ON_NFSROOT
bool
--
1.9.1
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH] prelink: first boot warning
2015-06-18 12:51 [ptxdist] [PATCH] prelink: first boot warning Bruno Thomsen
@ 2015-06-18 13:08 ` Jürgen Borleis
2015-06-19 10:41 ` Bruno Thomsen
0 siblings, 1 reply; 3+ messages in thread
From: Jürgen Borleis @ 2015-06-18 13:08 UTC (permalink / raw)
To: ptxdist; +Cc: Bruno Thomsen
Hi Bruno,
On Thursday 18 June 2015 14:51:39 Bruno Thomsen wrote:
> Running prelink with rc.once.d causes a first boot stall
> of about 2 minutes on Freescale i.MX28 454MHz ARM9 processor.
> This can be expensive if first device boot is during product
> manufacturing (assembly, programming, configuration, test).
>
> Signed-off-by: Bruno Thomsen <bth@kamstrup.com>
> ---
> rules/prelink.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/rules/prelink.in b/rules/prelink.in
> index 5d04fb0..1e06200 100644
> --- a/rules/prelink.in
> +++ b/rules/prelink.in
> @@ -21,6 +21,7 @@ config PRELINK_RC_ONCE
> help
> install a script that will be run on the first boot to
> prelink all programs and libraries.
> + warning! this can increase first boot with a few minutes!
With Using a recent linker the prelink becomes redundant. It is already done
when the linker hash-style it set to "gnu" (which is the default in a recent
PTXdist).
Or did you still see improvements with or without the pre-link step and that's
why you are still using this feature?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH] prelink: first boot warning
2015-06-18 13:08 ` Jürgen Borleis
@ 2015-06-19 10:41 ` Bruno Thomsen
0 siblings, 0 replies; 3+ messages in thread
From: Bruno Thomsen @ 2015-06-19 10:41 UTC (permalink / raw)
To: Jürgen Borleis; +Cc: ptxdist
Hi Juergen,
> > Running prelink with rc.once.d causes a first boot stall of about 2
> > minutes on Freescale i.MX28 454MHz ARM9 processor.
> > This can be expensive if first device boot is during product
> > manufacturing (assembly, programming, configuration, test).
>
> With Using a recent linker the prelink becomes redundant. It is already done when the linker hash-style it set to "gnu" (which is the default in a recent PTXdist).
> Or did you still see improvements with or without the pre-link step and that's why you are still using this feature?
The feature was enabled by mistake during a ptxdist upgrade from 2012.04 (TQ BSP 0101) to 2013.12 (TQ BSP 0109).
Normally I cherry-pick rule upgrades rather than doing full ptxdist upgrade, since it's easier to maintain auto build servers, if they only need to do a source checkout.
We don't see any noticeable app start improvements. But disabling prelink result in a significant lower product production time.
/Bruno
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-19 10:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 12:51 [ptxdist] [PATCH] prelink: first boot warning Bruno Thomsen
2015-06-18 13:08 ` Jürgen Borleis
2015-06-19 10:41 ` Bruno Thomsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox