Skip to content

See if we can minimize ls'ing for S3FS bug #214

Closed

Description

@bethac07

Right now we os.listdir the top level, and then ls each subdirectory - do we need to do that? can we just ls the top level? We should just check (based on collaborators with different data structures than us).

Activity

  1. bethac07 commented on Apr 1, 2026

    @bethac07
    CollaboratorAuthor

    I've also noticed job startup in DCP on buckets that mount the gallery being SUPER slow, not sure if it's due to this specifically, but it couldn't hurt startup time to get this reduced!

  2. bethac07 commented on Jun 16, 2026

    @bethac07
    CollaboratorAuthor

    We found a MUCH more compelling reason to care about this - we had a collaboration where there were tons of money ($10-20 on a good run, sometimes much more on a bad run, for something we usually pay <$10/year for) on S3 Tier 2 requests, that we are reasonably certain were due to this because they have many thousands of folders in the second level of their bucket. Eep!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions