MD5 check performance - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Kim.Martin
Posts: 15
Joined: Mon Oct 18, 2010 5:27 pm

MD5 check performance

I was thinking of including an MD5 check on our installation program.

However, while it is very quick (<1s) when run from a hard disc drive or downloaded, it takes several minutes when run from a CD/DVD. Once cached it seems to run again very quickly. I've tried it on a few different machines.

Our .exe file is currently around 100MB but is likely to grow to 2-3 times that.

Is there anything I can do to increase performance? I'm assuming that it is caused by a lot of random read access on the CD: if I copy the file to desktop it takes a few seconds; the check then runs in a second.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: MD5 check performance

Hello Kim,

I am not sure there is anything to be done about this, as this seems largely dependent on the machine.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Kim.Martin
Posts: 15
Joined: Mon Oct 18, 2010 5:27 pm

Re: MD5 check performance

Thanks Gabriel.

Obviously it's not a show-stopper: we can turn it off. I appreciate that it is usually for web downloads...it just seemed a 'nice to have' function.

I'm just puzzled by why it was so slow - copying the file from CD to HDD was a few seconds, and doing an MD5 check on the HDD was a second, but doing it from the source CD was minutes.

I did try it on several machines and the fastest one was still over a minute, so there is something odd happening.

Return to “Common Problems”