27-05-2021 дата публикации
Номер: US20210157500A1
Принадлежит:
The present disclosure provides methods, systems, and non-transitory computer readable media for managing a primary storage unit of an accelerator. The methods include assessing activity of the accelerator; assigning, based on the assessed activity of the accelerator, a lease to a group of one or more pages of data on the primary storage unit, wherein the assigned lease indicates a lease duration; and marking, in response to the expiration of the lease duration indicated by the lease, the group of one or more pages of data as an eviction candidate. 1. A method for managing a primary storage unit of an accelerator , the method comprising:assessing activity of the accelerator;assigning, based on the assessed activity of the accelerator, a lease to a group of one or more pages of data on the primary storage unit, wherein the assigned lease indicates a lease duration; andmarking, in response to the expiration of the lease duration indicated by the lease, the group of one or more pages of data as an eviction candidate.2. The method of claim 1 , further comprising:reassessing the activity of the accelerator; andupdating, based on the reassessed activity of the accelerator, the lease duration indicated by the lease assigned to the group of one or more pages.3. The method of claim 1 , wherein reassessing the activity of the accelerator and updating the lease duration lease occurs when:one of the pages in the group of one or more pages is referenced,a page not in the group of one or more pages is referenced,a threshold amount of time has passed,a threshold amount of time has passed without the lease being reevaluated, oran update epoch is reached.4. The method of claim 1 , further comprising:determining, based on the assessed activity of accelerator, a page prefetch amount; and the group of one or more pages contains one or more referenced pages and zero or more prefetched pages, and', 'the amount of prefetched pages retrieved is based on the page prefetch amount., ' ...
Подробнее