Skip to content

Improve memory utilization #13

Description

@hayley-leblanc

SquirrelFS currently has high memory utilization due to its large in-memory indexes. We should reduce its memory footprint.

Some possible optimizations:

  • Store index information about files that are not open durably. We would need to be careful to store this in a crash-consistent manner way; we may need to be creative about how this data is stored to make sure the indexes are consistent and in-sync with the actual file tree structure.
  • Simplify the current index structures; they are likely more complicated/larger than necessary, and there is some unnecessary repetition (e.g., multiple indexes that use the same keys for different information, which duplicates all of the keys).
  • Consider whether we could change SquirrelFS' persistent layout to make lookups faster.

Activity

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

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions