Slow query of changed blocks with big disks #260
Replies: 9 comments 14 replies
-
|
version with option --no-sparse-detection available for testing: |
Beta Was this translation helpful? Give feedback.
-
|
Still testing and have no trace:
Same hypervisor, same destination storage:
Those "485 extents" get less when I use fstrim or I misunderstood it completely? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
It seems that I have reproduced the situation using this image After that the images has been modified using and used as VM image. Full backup has been created. So far, so good. The idea is to create big amount of extents. Since that incremental backup becomes VERY slow and the slowness comes from the offsets merge function. This is something with which I can work now :-) Smaller image has not been tested yet. |
Beta Was this translation helpful? Give feedback.
-
|
but as a far as we have analyzed, the problem was not within the overlap function, but querying the extents for the base:allocation bitmap? The time gap is betwen querying the extents, both using the implementation in virtnbdbackup aswell as using |
Beta Was this translation helpful? Give feedback.
-
|
ok, so im able to reproduce it. Ive got an image with 498147 base extents, thats sufficient enough to make it With master version, it takes ages in the overlap function. with the version from the optimize_overlap branch containing my reworks: its much faster: changing between full and inc via image.sh:
results in:
shields: |
Beta Was this translation helpful? Give feedback.
-
|
ive pushed my changes to master branch ive created a new simple testsuite for the extent handling optimization. Im not quite sure that status quo of the tests is Ok, all it does is basically using qemu-io to change certain block ranges https://github.com/abbbi/virtnbdbackup/blob/master/t/fstrimsmall.bats it can be executed via:
I think it makes sense to have this feature tested in-depth, as i fear data-loss. See also: #263 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
Tests passed Ok. Thanx. |
Beta Was this translation helpful? Give feedback.
-
|
Same machines with 2.28 super fast: VM1
VM2
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
what need so much time (02:51:21 - 03:09:49) between this steps and what "overlap" mean?
Beta Was this translation helpful? Give feedback.
All reactions