Wildly inaccurate progress meter
New to B4A. I'm really struck by how bad the progress metering is. You can see how the file count is way off and the estimated time left is useless. The percentage meter (not shown here) on the jobs list is usually only showing 0%. Jobs do get finished, but what's the point of all the progress monitoring if it doesn't give me any kind of real idea of when the job will finish? I'm backing up to OneDrive, btw.
- Attachments
-
- progress.PNG (4.99 KiB) Viewed 11568 times
-
- Posts: 1944
- Joined: Wed Dec 16, 2009 12:46 pm
Re: Wildly inaccurate progress meter
Hi,
The estimated time is calculated based on the instant progress (upload speed for example).
If the upload is not working or it's very slow, the estimated time will be very long.
As soon as the upload speed returns to normal, the time will also be normal.
The estimated time is calculated based on the instant progress (upload speed for example).
If the upload is not working or it's very slow, the estimated time will be very long.
As soon as the upload speed returns to normal, the time will also be normal.
Re: Wildly inaccurate progress meter
Thanks, but that doesn't explain the file count discrepancy, which I figured would be a better way to assess progress.
Also, my upload speed is currently 20mbps. Shouldn't that be fast enough? What else might be causing the issue?
EDIT: I should note that on smaller backup sets, this problem doesn't occur: I get accurate file counts, the estimated completion time makes sense, and the progress meter is working. Does B4A tend to choke on large backup sets?
Thanks!
Also, my upload speed is currently 20mbps. Shouldn't that be fast enough? What else might be causing the issue?
EDIT: I should note that on smaller backup sets, this problem doesn't occur: I get accurate file counts, the estimated completion time makes sense, and the progress meter is working. Does B4A tend to choke on large backup sets?
Thanks!
-
- Posts: 1944
- Joined: Wed Dec 16, 2009 12:46 pm
Re: Wildly inaccurate progress meter
Hi,
As the progress went over 100% that means there were some upload retries.
If OneDrive server no longer responds, it doesn't matter you have 20 mbps speed as the files won't be uploaded and there is no progress.
You can send us the entire backup log to support[at]backup4all[dot]com, to see more information about that job.
As the progress went over 100% that means there were some upload retries.
If OneDrive server no longer responds, it doesn't matter you have 20 mbps speed as the files won't be uploaded and there is no progress.
You can send us the entire backup log to support[at]backup4all[dot]com, to see more information about that job.
Re: Wildly inaccurate progress meter
Thanks for the explanation about going over 100% and retries. It went over 200% (!) and now I'm thinking part of the problem is the poor OneDrive responsiveness. It's really slow! I noticed that in general. Is that a typical issue that crops up with OneDrive? Will send the backup log.
-
- Posts: 1944
- Joined: Wed Dec 16, 2009 12:46 pm
Re: Wildly inaccurate progress meter
Hi,
The upload to OneDrive involves multiple requests and wait for responses for each file.
If you have many files and you use the Mirror backup type, there will be a lot of requests. OneDrive will probably respond slowly after a while.
It is recommended to use the Smart of Incremental backup type as a larger zip file will be uploaded and less requests are made.
The upload to OneDrive involves multiple requests and wait for responses for each file.
If you have many files and you use the Mirror backup type, there will be a lot of requests. OneDrive will probably respond slowly after a while.
It is recommended to use the Smart of Incremental backup type as a larger zip file will be uploaded and less requests are made.
Re: Wildly inaccurate progress meter
Thank you, yes I did notice when I left OneDrive alone for a while things improved. I am doing mirror backup with zip, an I understand the pitfalls.
Re: Wildly inaccurate progress meter
I have experienced the exact same thing with backing up to Google Drive. The backup progress statistics are very inaccurate, and it often hits 200% of the actual number of files in the backup before finishing.
-
- Posts: 1944
- Joined: Wed Dec 16, 2009 12:46 pm
Re: Wildly inaccurate progress meter
Hi,
If there are upload retries during the backup, the percent will increase over 100%.
If there are upload retries during the backup, the percent will increase over 100%.
Do you know you can monitor your backups remotely with Backup4all Monitor? You can read more here: https://www.backup4all.com/backup4all-monitor.html