Method and system for automatic space organization in tier2 solid state drive (SSD) cache in databases for multi page support
AssigneeGlobalfoundries Inc.
InventorsBishwaranjan Bhattacharjee, Mustafa Canim, Kenneth A Ross
Life of this patent
Estimating the term…
Abstract
A system and method for adjusting space allocated for different page sizes on a recording medium includes dividing the recording medium into multiple blocks such that a block size of the multiple blocks supports a largest page size, and such that each of the multiple blocks is used for a single page size, and assigning an incoming page to a block based on a temperature of the incoming page.
Claims17
A method of adjusting space allocated for different page sizes on a non-transitory recording medium, the method comprising:
- dividing the recording medium into multiple blocks such that a block size of the multiple blocks supports a largest page size of the different page sizes, and such that each of the multiple blocks is used for a single page size;
- assigning an incoming page to a block based on a temperature of the incoming page;
- creating temperature heaps for each page size;
- and
- if all of the blocks are assigned;
- checking for a highest rejected temperature for each page size to determine a coldest block;
- and
- converting the coldest block to another page size if a difference in the highest rejected temperature and a temperature of the coldest block is greater than a temperature threshold for admission.
A non-transitory computer-readable medium tangibly embodying a program of machine-readable instructions executable by an apparatus to perform a method of adjusting space allocated for different page sizes on a recording medium, the method comprising:
- dividing the recording medium into multiple blocks such that a block size of the multiple blocks support a largest page size of the different page sizes, and such that each of the multiple blocks is used for a single page size;
- assigning an incoming page to a block based on a temperature of the incoming page;
- creating temperature heaps for each page size;
- and
- if all of the block are assigned;
- checking for a highest rejected temperature for each page size to determine a coldest block;
- and
- converting the coldest block to another page size if a difference in the highest rejected temperature and a temperature of the coldest block is greater than a temperature threshold for admission.
A memory management system, comprising:
- a non-transitory recordable medium configured to store page data in page slots;
- a storage device configured to store the page data;
- and
- a processor configured so as to divide the recordable medium into multiple blocks such that a largest page size of different page sizes is supported by a block size of the multiple blocks, and such that each of the multiple blocks is used for a single page size, and to assign an incoming page to a block of the multiple blocks based on a temperature of the incoming page,
- wherein the processor receives temperature information related to the page data in the storage device, and is configured so as to create temperature heaps for each page size stored in the recordable medium, and
- wherein the processor is configured to analyze the recordable medium and if all of the blocks area assigned;
- determine a coldest block of the multiple blocks based on a highest rejected temperature for each page size;
- convert the coldest block to another page size if a difference in the highest rejected temperature and a temperature of the coldest block is greater than a temperature threshold for admission.
Dependencies are inferred from the claim text.