PDA

View Full Version : How to calculate installation speed (mb/s) ?


BLACKFIRE69
08-01-2020, 07:12
I want to calculate the installation speed (MB per sec : mb/s), so how to do that? :)

Snake288
11-01-2020, 01:33
I hope that helps
Megabytes Vs Megabits Per Sec (MB Vs Mbps) (https://www.signalbooster.com/blogs/news/megabytes-vs-megabits-per-sec-mb-vs-mbps)

BLACKFIRE69
11-01-2020, 06:53
I hope that helps
Megabytes Vs Megabits Per Sec (MB Vs Mbps) (https://www.signalbooster.com/blogs/news/megabytes-vs-megabits-per-sec-mb-vs-mbps)

thanks ... but,
I need something about measuring data transfer speeds that can be used with isdone.dll.

Snake288
11-01-2020, 07:51
Inno Setup - How to show percent done, elapsed time and estimated time progress at .arc decompression? (https://stackoverflow.com/questions/43141767/inno-setup-how-to-show-percent-done-elapsed-time-and-estimated-time-progress)

BLACKFIRE69
11-01-2020, 08:03
Inno Setup - How to show percent done, elapsed time and estimated time progress at .arc decompression? (https://stackoverflow.com/questions/43141767/inno-setup-how-to-show-percent-done-elapsed-time-and-estimated-time-progress)

We already use that function. 'Data transfer speed' is not included in 'isdone.dll'. There may be a way to create something new with 'FreeMB, TotalMB'. But I don't know. :o

doofoo24
11-01-2020, 08:29
I want to calculate the installation speed (MB per sec : mb/s), so how to do that? :)

"more core + more ram + ssd = fast installation speed" ;)

depends on multiple factors :...
pc spec
compression algorithm

for example gta v xtool+srep+lolz
number of thread for xtool
srep setting using m3f:a2 you will need 7gb of ram for setup only for srep alone if you limit srep it will create temp files...
lolz 1 core around 50mb to 60mb/s...
ssd faster than hdd...
so ya :confused::confused::confused:

BLACKFIRE69
11-01-2020, 08:33
"more core + more ram + ssd = fast installation speed" ;)

depends on multiple factors :...
pc spec
compression algorithm

for example gta v xtool+srep+lolz
number of thread for xtool
srep setting using m3f:a2 you will need 7gb of ram for setup only for srep alone if you limit srep it will create temp files...
lolz 1 core around 50mb to 60mb/s...
ssd faster than hdd...
so ya :confused::confused::confused:

mate, no i need this one ..

Gupta
15-01-2020, 07:24
one way -
1. save the start time of installation in some variable
2. in progress callback of isdone:
get elapsed time(current time - start time)
transfer speed in mb -> (Install Size in mb * progress) / (1000.0 * elapsed time)

or
Use this (https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprocessiocounters?redirectedfrom=MSDN)

doofoo24
15-01-2020, 09:48
@Gupta
setup write disk show in task manager, is it possible to write script in inno show disk write ?

BLACKFIRE69
15-01-2020, 10:12
one way -
1. save the start time of installation in some variable
2. in progress callback of isdone:
get elapsed time(current time - start time)
transfer speed in mb -> (Install Size in mb * progress) / (1000.0 * elapsed time)

or
Use this (https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprocessiocounters?redirectedfrom=MSDN)

Thanks, I appreciate it. If you can show an example, it's better.
plz :);)

BLACKFIRE69
25-01-2020, 09:14
one way -
1. save the start time of installation in some variable
2. in progress callback of isdone:
get elapsed time(current time - start time)
transfer speed in mb -> (Install Size in mb * progress) / (1000.0 * elapsed time)

or
Use this (https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprocessiocounters?redirectedfrom=MSDN)

thanks it works...

.