-
Notifications
You must be signed in to change notification settings - Fork 421
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
Allow the kernel to cache inode attributes #115
Comments
(I don't think #114 needs to be a blocker for this one. We already cache stat results for a particular generation forever internally, in the form of the inode storing a copy of the |
Also check the effect on write performance benchmarks with small writes. Right now, it looks like the kernel has to send getattr requests for every tiny write. |
Oops, there is one subtlety here: while nothing about the GCS object can change, it can be deleted, in which case |
The performance of statting is not super great, as shown by the benchmark added in 8f8d260. Since remote updates to GCS result in a new object generation (aside from the metadata issue covered by #114) and a new generation causes a new inode number, it should be safe to tell the kernel to cache inode attributes. Do that and see how it affects performance.
The text was updated successfully, but these errors were encountered: