Bug 2259052 - Improve rbd_diff_iterate2() performance in fast-diff mode [7.0z]
Summary: Improve rbd_diff_iterate2() performance in fast-diff mode [7.0z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.0z1
Assignee: Ilya Dryomov
QA Contact: Sunil Angadi
Rivka Pollack
URL:
Whiteboard:
: 2269335 (view as bug list)
Depends On:
Blocks: 2260311 2269336
TreeView+ depends on / blocked
 
Reported: 2024-01-18 21:35 UTC by Ilya Dryomov
Modified: 2024-03-13 09:42 UTC (History)
8 users (show)

Fixed In Version: ceph-18.2.0-141.el9cp
Doc Type: Enhancement
Doc Text:
.Improved `rbd_diff_iterate2()` API performance Previously, RBD diff-iterate was not guaranteed to execute locally if exclusive lock was available when diffing against the beginning of time (`fromsnapname == NULL`) in fast-diff mode (`whole_object == true` with `fast-diff` image feature enabled and valid). With this enhancement, `rbd_diff_iterate2()` API performance is improved, thereby increasing the performance for QEMU live disk synchronization and backup use cases, where the `fast-diff` image feature is enabled.
Clone Of: 2258997
Environment:
Last Closed: 2024-03-07 11:40:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 63341 0 None None None 2024-01-18 21:35:02 UTC
Red Hat Issue Tracker RHCEPH-8198 0 None None None 2024-01-18 21:37:36 UTC
Red Hat Product Errata RHBA-2024:1214 0 None None None 2024-03-07 11:40:16 UTC

Description Ilya Dryomov 2024-01-18 21:35:02 UTC
+++ This bug was initially created as a clone of Bug #2258997 +++

Description of problem:
when user tries rbd du <pool>/<image>
irrespective of the image size command takes quite long to provide disk usage of an image
It can be improved in terms of performance.


Version-Release number of selected component (if applicable):
Issue exist in RHCS 5, RHCS 6 and RHCS 7

How reproducible:
Always 

Steps to Reproduce:
1.Deploy ceph and create pools and image
2.Run some image with huge IO and some with less IO
3.Notice the time taken to execute the rbd du command both the images

Actual results:
irrespective of the image size command rbd du takes quite long to provide disk usage

Expected results:
The performance of fast-diff can be improved

Additional info:
https://tracker.ceph.com/issues/63341
https://gitlab.com/qemu-project/qemu/-/issues/1026

Comment 13 errata-xmlrpc 2024-03-07 11:40:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 7.0 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:1214

Comment 14 Ilya Dryomov 2024-03-13 09:42:02 UTC
*** Bug 2269335 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.