Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split cache into subdirs for faster fs #1322

Merged
merged 4 commits into from Jul 22, 2018
Merged

Conversation

DeMoorJasper
Copy link
Member

Splits cache dir structure into subdirectories for slightly faster fs if there are a lot of cache files

@jean343
Copy link

jean343 commented May 31, 2018

Would it be even faster to have all data in one single cache file to reduce disk IO?
For info, my project has about 3000 small files for a total of 150MB.

@DeMoorJasper
Copy link
Member Author

@jean343 that would probably flood memory and require virtualfs to work properly. Also wouldn’t be very redundant as the moment that file gets corrupt the entire cache is

Sent with GitHawk

@devongovett devongovett merged commit c0a84ae into master Jul 22, 2018
@devongovett devongovett deleted the feature/split-cache branch July 22, 2018 02:44
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.

None yet

3 participants