[sldev] Optimizing load time.

Phoenix phoenix at secondlife.com
Mon May 21 14:03:52 PDT 2007


The MD5 load is almost certainly the viewer calculating a hash of  
itself. This used to be used for tracking, but is no longer of use.  
We have an internal issue to remove this startup process.

SL-43139 Remove MD5 hash at viewer startup


On 2007 May 21, at 13:58, James Cook wrote:
> The MD5 calls may be something as dumb as repeatedly MD5-ing the  
> password every frame at the login screen.
>
> These options speed up startup time for developers:
>
> -noaudio
> Skip audio library initialization, which on Windows takes a couple  
> seconds
>
> -noquicktime
> Skip QuickTime initialization, which takes several seconds due to  
> DLL loading.
>
> -nopreload
> Skip UI texture decompression, makes buttons look wonky for a while  
> but saves a few seconds
>
> -noprobe
> Skips DirectX hardware probe to determine available VRAM.  Causes  
> VRAM setting to default to 512 MB but that doesn't matter for  
> simple scenes.
>
> James
>
> Dale Glass wrote:
>> В сообщении от 17 мая 2007 06:27 Alan Grimes  
>> написал(a):
>>> I did a profile run where I loaded the client in the profiler,
>>> waited for the welcome screen to come up, then selected quit...
>>>
>>> I was surprised to find that class LLMD5 was eating 41% of the
>>> CPU!! =P
>> This is probably irrelevant in the bigger scheme of things.
>> The viewer checksums itself as a part of the startup. IIRC this is  
>> used to send the hash to LL, presumably to have a way of  
>> identifying the exact version running.
>> I'm not sure if it does MD5 on anything else after that, but this  
>> specific case wouldn't be really very relevant as it's done only  
>> once on startup. And since you only got as far as the login screen  
>> you have very skewed statistics, since not all that much needs to  
>> happen to get to it.
>> --------------------------------------------------------------------- 
>> ---
>> _______________________________________________
>> Click here to unsubscribe or manage your list subscription:
>> /index.html
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070521/e269bfd8/PGP.pgp


More information about the SLDev mailing list