Skip to content

Listing of Trashbin Items Slow #7844

Closed
Closed

Description

@dragotin

Based on findings in https://github.com/owncloud/enterprise/issues/6213 it is understood that listing the trashbin items is taking too long if a significant amount of files were deleted and are in the trashbin.

The code is known to be not optimized. So the action to undertake is

  • Check the code and find the bottlenecks
  • Find a way to increase the listing performance by (probably) parallelize the reading of the items from the trashbin structure
  • Propose a as small as possible code patch to fix the behaviour and increase listing performance that can be applied to the v4 code branch.

Activity

  1. added
    Severity:sev2-high
    on Nov 29, 2023
  2. moved this from Qualification to In progress in Infinite Scale Team Boardon Nov 29, 2023
  3. dragonchaser commented on Nov 29, 2023

    @dragonchaser
    Contributor

    With cs3org/reva#4374 & delay (vm nfs-server, delay via tc):

    delay edge cold edge warm pr cold pr warm
    2.5ms 33.5s 12.7s 20s 10.29s
  4. dragonchaser commented on Nov 30, 2023

    @dragonchaser
    Contributor

    After parallelizing the globbing we end up with the following values:

    delay edge cold edge warm pr cold pr warm
    2.5ms 28.46s 10.58s 703ms 280ms
  5. micbar commented on Dec 8, 2023

    @micbar
    Contributor

    fixed and relased with ocis v4.0.4

  6. moved this from In progress to Done in Infinite Scale Team Boardon Dec 8, 2023
  7. removed their assignment
    on Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Severity:sev2-highType:Bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions