-
公开(公告)号:US20180276143A1
公开(公告)日:2018-09-27
申请号:US15990816
申请日:2018-05-28
Applicant: Nutanix, Inc.
Inventor: Gary Jeffrey LITTLE , Huapeng YUAN , Karan GUPTA , Peter Scott WYCKOFF , Rickard Edward FAITH
IPC: G06F12/128 , G06F12/0808
CPC classification number: G06F12/128 , G06F9/5083 , G06F12/0284 , G06F12/0811 , G06F12/0846 , G06F2212/1016 , G06F2212/152 , G06F2212/154 , G06F2212/502 , G06F2212/601 , G06F2212/70
Abstract: Embodiments serve to balance overall performance of a finite-sized caching system having a first cache of a first cache size and a second cache of a second cache size. A tail portion and a head portion of each of the caches are defined wherein incoming data elements are initially stored in a respective head portion and wherein evicted data elements are evicted from a respective tail portion. Performance metrics are defined wherein a performance metric includes a predicted miss cost that would be incurred when replacing an evicted data elements. A quantitative function is defined to include cache performance metrics and a cache reallocation amount. The cache performance metrics are evaluated periodically to determine a then-current cache reallocation amount. The caches can be balanced by increasing the first cache size by the cache reallocation amount and decreasing the second cache size by the cache reallocation amount.