Object-server: keep SLO manifest files in page cache.
Currently, SLO manifest files will be evicted from page cache after reading it, which cause hard drives very busy when user requests a lot of parallel byte range GETs for a particular SLO object. This patch will add a new config 'keep_cache_slo_manifest', and try keeping the manifest files in page cache by not evicting them after reading if config settings allow so. Co-Authored-By: Tim Burke <tim.burke@gmail.com> Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com> Co-Authored-By: Alistair Coles <alistairncoles@gmail.com> Change-Id: I557bd01643375d7ad68c3031430899b85908a54f
This commit is contained in:
@@ -143,6 +143,11 @@ use = egg:swift#object
|
||||
# if small enough
|
||||
# keep_cache_private = false
|
||||
#
|
||||
# If true, SLO object's manifest file for GET requests may be kept in buffer cache
|
||||
# if smaller than 'keep_cache_size'. And this config will only matter when
|
||||
# 'keep_cache_private' is false.
|
||||
# keep_cache_slo_manifest = false
|
||||
#
|
||||
# on PUTs, sync data every n MB
|
||||
# mb_per_sync = 512
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user