summaryrefslogtreecommitdiff
path: root/bugs/Inaccurate_speed__47__bytes-transferred_when_resuming.mdwn
blob: b35239b212448e99182c5169b847c0d609836692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[[!tag obnam-wishlist]]

I'm using trickle to restrict obnam to 40 KB/sec.  I just resumed a backup
a few minutes ago, and obnam currently says the rate is 145 KB/sec, and
that it's transferred 111 MB.  I'm guessing it's counting the entire size
of resumed files instead of the actual bytes transferred since resuming.
Whatever the cause, it's definitely off.  I've not noticed it being off
when not resuming.

---

So, there were at least a couple of problems here:

1. Obnam was counting duplicate chunks as uploaded: when obnam found a
   chunk was a duplicate of an existing one, it didn't upload it, but
   did count it as uploaded. This has now been fixed.
1. Obnam was showing the average upload speed over the entire backup
   run. It now shows the average for the last ten seconds.

Thus, I think this bug is fixed now. [[done]] (If not, please tell me!)

--liw