On 08/29/2011 03:26 PM, Jeff Weber wrote:
> Bumping this post again in hopes of eliciting comments ...
>
> Jeff
>
> ---------- Forwarded message ----------
> From: Jeff Weber <[email protected]>
> Date: Fri, Aug 26, 2011 at 11:34 AM
> Subject: dynamic loader latencies
> To: Xenomai Help <[email protected]>
>
>
> The Linux ELF dynamic linker/loader ld-linux.so uses a "lazy" model by
> default, and defers symbol resolution, shared object resolution to the time
> when the symbol is first referenced. This sounds like a large latency
> threat to dynamically linked RT applications running in primary mode. Can
> this happen, or is this unlikely?
>
> If this is a latency risk, the only solutions I know of are:
>
> 1) Statically link all RT applications
>
> 2) Invoke all dynamically linked applications with LD_BIND_NOW=1 environment
> to force the dynamic loader to resolve all symbols at program startup
>
> 3) Link dynamic applications with "-z now" GNU ld option to effect same as
> 2) above.
>
> Comments?
The best way to be sure is to run some benches. I never run such
benches, so, cannot answer.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help