Re: rebase native images, please help

From: cody (no_spam_deutronium_at_gmx.net)
Date: 06/29/04


Date: Tue, 29 Jun 2004 13:49:02 +0200

Stupid question: What is a base address? How can an assembly decide in which
memory location it will be loaded - that decision is up to the OS. And what
to hell does this all have to do with performance?
Can anybody bringt light into that?

--
cody
Freeware Tools, Games and Humour
http://www.deutronium.de.vu  || http://www.deutronium.tk
"Claus Klammer" <klammer@utanet.at> schrieb im Newsbeitrag
news:uTljRRWTEHA.2580@TK2MSFTNGP12.phx.gbl...
> Hi,
> I've some questions regarding rebasing.
>
> How does the process of ngen work which sets the base address? I observed
> that some native images have got the same base address. Will this harm the
> startup performance?
> I read an article which mandates that choosing the appriate base address
can
> lead to a approximate 10 percent faster application startup
> http://msdn.microsoft.com/msdnmag/issues/0500/hood/default.aspx . I think
> that can also be applied to native images, am I right?
> General question: Is it true that this base address issue is only
important
> for each process, that is, I  only have to ensure that the base addresses
of
> all modules loaded by one process don't conflict each other?
> How, if any, does the base address setting in VisualStudio affect the base
> address of the resulting native image?
>
> Thanks,
> Claus
>
>