forked from cvmfs/cvmfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add memory buffer to streaming cache manager (cvmfs#3632)
Adds a (ring) buffer for the most recently downloaded objects to the streaming cache manager. This substantially reduces the number of HTTP requests because typically from a single file or chunk multiple blocks are requested together through fuse read callbacks. The default buffer size is 64M. Can be changed through CVMFS_STREAMING_CACHE_BUFFER_SIZE. * add ring buffer skeleton * add RingBuffer class * add RingBuffer::CopySlice() * use ring buffer in streaming cache mgr * add performance counters to streaming cache mgr * add streaming cache manager integration test
- Loading branch information
Showing
11 changed files
with
540 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.