×

Allocation enforcement in a multi-tenant cache mechanism

  • US 9,235,443 B2
  • Filed: 05/21/2012
  • Issued: 01/12/2016
  • Est. Priority Date: 11/30/2011
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented cache optimization method comprising:

  • monitoring cache access rate for a plurality of cache tenants sharing the same cache mechanism having an amount of data storage space,wherein each cache tenant is allocated a cache space having a cache size within the data storage space;

    determining cache profiles for the plurality of cache tenants according to data collected during the monitoring;

    analyzing the cache profiles for the plurality of cache tenants to determine an expected cache usage model for the cache mechanism;

    analyzing the cache usage model and factors related to cache efficiency or performance for the plurality of cache tenants to dictate one or more occupancy constraints that define data storage space allocations to the plurality of cache tenants;

    examining the data storage allocations to the plurality of cache tenants, in response to receiving a request to increase a first cache size by an amount so that additional cache space is allocated to a first cache tenant;

    in response to determining that there is a second cache tenant from among the plurality of cache tenants for which reducing a second cache size allocated to the second cache tenant by the amount will not violate the occupancy constraints for a cache size allocated to the second cache tenant,decreasing the second cache size by deallocating data storage space allocated to the second cache tenant by the amount and increasing the first cache size by allocating the same amount of data storage space to the first cache tenant to satisfy the request; and

    in response to determining that there is not a second cache tenant from among the plurality of cache tenants for which reducing a second cache size allocated to the second cache tenant by the amount will not violate the occupancy constraints for a cache size allocated to the second cache tenant, increasing the first cache size by allocating the amount of data storage space to the first cache tenant without deallocating the same amount of data storage space allocated to another cache tenant from among the plurality of cache tenants.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×