Unfortunately such a tool does not exist at this time. You will have to go
dependencies. The .Net Framework installer will automatically ngen many of
need when doing your setup. Note that you only need to ngen assemblies
.Net Framework. We may even automate it in the form of a service that will
>Subject: Re: How to shorten startup time on low power machine?
>Date: Thu, 30 Oct 2003 18:24:57 +0100
>Lines: 111
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <ukohnqwnDHA.2312@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.performance
>NNTP-Posting-Host: olymp.funworld.at 213.157.135.202
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.performance:5743
>X-Tomcat-NG: microsoft.public.dotnet.framework.performance
>
>Thanks for 'mscorjit.dll' hint.
>It seems that not all of our referenced assemblies are native images.
>Is there a tool that simply ngen all referenced dlls of an specified
>assembly? Or is there a tool that creates native images of all assemblies
in
>the gac at least.
>(Getting this information out of the manifest file manually, isn't a
>convenient way ;-)!)
>
>Thanks for your response,
>Claus
>
>"Ori Gershony [MSFT]" <Ori_Gershony@online.microsoft.com> schrieb im
>Newsbeitrag news:H0gGnDLnDHA.2148@cpmsftngxa06.phx.gbl...
>>
>> Have you tried profiling your application? Things are not always what
>they
>> appear, and you never know what is actually happening at startup time
>until
>> you measure it. Beyond that, my tips would be:
>>
>> 1) Make sure you ngen all the assemblies that are used at startup
>> (including the application). If you see mscorjit.dll loaded into your
>> process, it means that you missed something (or that the application is
>> generating code dynamically which is an even bigger perf problem).
>> 2) After you profile your application, see if you can avoid loading some
>of
>> the assemblies (by deferring initialization until later, or maybe not
>using
>> them at all). Avoiding assembly loads can give you big wins.
>>
>> Good luck!
>>
>> -- Ori.
>>
>> --------------------
>> >From: "Jason Smith" <jason@nospam.com>
>> >References: <uA6BW8VmDHA.1244@TK2MSFTNGP11.phx.gbl>
>> >Subject: Re: How to shorten startup time on low power machine?
>> >Date: Fri, 24 Oct 2003 21:29:02 -0600
>> >Lines: 39
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <udIflgqmDHA.684@TK2MSFTNGP09.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.performance
>> >NNTP-Posting-Host: dpc6682114093.direcpc.com 66.82.114.93
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl
>> microsoft.public.dotnet.framework.performance:5692
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.performance
>> >
>> >96 megs isn't a whole lot. Are you running into any memory thrashing?
>> >Check Task Manager to see if you are using more memory than is
physically
>> >available in the machine. If so, upgrade to 128MB.
>> >
>> >It sounds like you have done most everything you can do to speed up
.NET.
>> >But you are using not only DirectX managed extensions, but also DirectX
>> >underneath, plus probably a bunch of other libraries.
>> >
>> >Does it run as slowly on a 366MHz machine with 256MB of RAM? That would
>be
>> >a clue right there.
>> >
>> >Have you tried it with different operating systems? Windows 98 is going
>to
>> >have a much smaller footprint than Windows Server 2003...
>> >
>> >"news.microsoft.com" <klammer@utanet.at> wrote in message
>> >news:uA6BW8VmDHA.1244@TK2MSFTNGP11.phx.gbl...
>> >> I've to run .net applications on a low power machine (366mhz and 96mb
>> >ram!).
>> >> Unfortunately this application needs about 23 seconds to startup,
which
>> >> isn't acceptable. The app uses a custom library which in turn uses
>> >DirectX9
>> >> managed extensions.
>> >> This library (assembly) contains about 10 assembly references. So I
>used
>> >> 'ngen' to create native images of these assemblies. However this
>doesn't
>> >> help.
>> >>
>> >> Are there other ways to improve the startup time?
>> >> How can I accelerate loading assemblies? Can I disable some security
>> >checks
>> >> for instance? (I use the default machine configuration so far)
>> >> Is there a way to keep assemblies loaded?
>> >>
>> >> Any tips, hints, and tricks are welcome.
>> >>
>> >> Thanks, Claus
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>> --
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>rights.
>> Use of included script samples are subject to the terms specified at
>>
http://www.microsoft.com/info/cpyright.htm >>
>> Note: For the benefit of the community-at-large, all responses to this
>> message are best directed to the newsgroup/thread from which they
>> originated.
>>
>
>
>
This posting is provided "AS IS" with no warranties, and confers no rights.
originated.