got me thinking about how/whether the auto updating was likely to change as Avast! is further developed.
For some time Iāve been perplexed by the long apparent pauses between downloading increments during which the message: āSaving package, this may take a whileā¦ā (āAvast_2-15.jpgā)
is displayed when automatic updating on a older PC with Windows 9X thatās not been used for a week or two. In these cases itās typically faster to download (2 minutes) and run (8 minutes) the latest VpsUpd.exe than to wait 20 to 40 minutes (see āAvast_update.jpgā) for the auto updater, which seems to spend at least 70% if its time āSaving packageā(s).
Now,the intriguing bit. My assessment is that the amount of time taken, and the percentage of that time displaying āSaving package, this may take a whileā¦ā seems to be more dependent on RAM than CPU speed.
E.G. the example in āAvast_update.jpgā (27 minutes) is for a 98SE machine with 200mhz processor and 90MB RAM, whereas another 95OSR2 machine with 200mhz processor but only 48MB RAM took about 45 minutes for the same update.
1. Why does it take such a relatively long time to save the small incremental packages?
2. Is this apparent RAM-related difference in speed consistent with the resource demands of the updater or are other factors likely to be causing the time difference?
3. I donāt imagine that it would be a high priority ;D but is the auto updater in the next version of Avast likely to be more or less cumbersome on such āancientā hardware as this?
We will probably not change it for an ancient hardware.
The āsavingā is quite straghtforward. It decompresses two buffers, creates the third, performs diff and then compresses the third buffer again. I can guess that one diff step of VPS may take about 40-50MB of ram. Thatās probably why it is crawling on your machine.
Since this was made with ābetter safe than sorryā approach, it does the mentioned operation for each diff step (which may sound stupid because it compresses/uncompresses the very same file again and again).
Also, the whole updating is optimized regarding to sizes of downloaded files.
Actually I āmisunderrememberedā (sorry Mr President) when I said one PC had 90MB, itās 80MB.
Clearly, if I want to even consider using the Avast auto-updater without the long delays and āpainā of swap-file paging on the PC with 48MB RAM , I really should go for the āradicalā upgrade, take out the original 2 x 8MB 72pin EDO RAM modules that came installed in the machine back in 1997, and replace them with the 2 x 32MB ones that have been sitting on my desk for the last 6 years! :-[ (Wow! a whole 96MB. Just think how fast FF1.5 would load then!) ;D
I donāt expect that any Avast changes will be focused on āancientā hardware and/or OS. Itās very good that Avast still works so well on these machines. Perhaps just a link to the āVpsUpd.exeā download could be added to the āAboutā box. I wonder if many Avast users forget this option?
I think kubecj and Vlk explained the most likely scenario for this in their posts, a ethernet card or modem are unlikely to be the bottleneck in this case, especially when we are talking about small incremental updates.