Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-106275

thin_check performance improvements

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • Moderate
    • rhel-storage-dm
    • 6
    • 8
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      We aim to reduce the thin_check's execution time to improve the responsiveness of LVM thin-pool activation and error checking. The v1.0 release has already brought significant performance improvements, reducing the time to examine a 16 GB metadata on an SSD from over 5 minutes in v0.9.0 to just 30 to 40 seconds. However, performance bottlenecks remain, and v1.0 does not scale well on multi-core systems. For example, adding more than two worker threads yields little to no additional performance gain, even though the current configuration uses four worker threads.

      Goal

      • As a user, I want thin_check to run twice as fast so that I can activate thin-pools more quickly.

      Acceptance criteria

      The POC has shown that a runtime reduction of approximately 50% is achievable. For example, on a laptop system, checking the 16 GB metadata from RHBZ 1763895 should complete within 15 seconds, compared to 32 seconds in the current release.

              mtsai@redhat.com Ming Hung Tsai
              mtsai@redhat.com Ming Hung Tsai
              Ming Hung Tsai Ming Hung Tsai
              Filip Suba Filip Suba
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: