Skip to content

Conversation

jia-kai
Copy link

@jia-kai jia-kai commented Jun 8, 2023

I added a block read cache mode, which essentially divides the file into blocks that are managed by an LRU cache. Cache size is currently fixed at startup. All opened files share the same cache structure. Serial read performance is maintained via read ahead on the block-level cache. Random access performance improves a lot, which can be further improved via parallel read (using different fds) on the same file. The code is also cleaner and supposedly more robust and easier to maintain because we no longer need the buffer pool.

This new mode serves my use case well. I am not sure if anyone else is interested in this. Feedback is welcome.

voyvodov added a commit to voyvodov/goofys that referenced this pull request Sep 13, 2024
voyvodov added a commit to voyvodov/goofys that referenced this pull request Sep 13, 2024
voyvodov added a commit to voyvodov/goofys that referenced this pull request Sep 13, 2024
voyvodov added a commit to voyvodov/goofys that referenced this pull request Sep 13, 2024
voyvodov added a commit to voyvodov/goofys that referenced this pull request Sep 16, 2024
voyvodov added a commit to voyvodov/goofys that referenced this pull request Sep 16, 2024
voyvodov added a commit to voyvodov/goofys that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant