IP Library › Granted Patent US 10,810,132
Granted Patent B1
US 10,810,132 · App. 15/084,996 · Granted Oct 20, 2020

Object based extent mapping for flash memory

Inventor: Richard H. Van Gaasbeck (Mountain View, CA)
Assignee: EMC IP Holding Company, LLC
G06F12/1009G06F12/0246G06F2212/1044G06F2212/2022G06F2212/7201
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,810,132
App. No.
15/084,996
Filed
Mar 30, 2016
Granted
Oct 20, 2020
Kind
B1
Art Unit
2137
USPC
711/103
Abstract

Logical to physical mapping of managed units (“MUs”) of object data in a flash memory system storing MUs that are being created continuously by applications running on a client system is maintained in an extent based tree in DRAM for extents of contiguous MUs and in an override tree in DRAM for individual MUs. Extent mapping data in the extent tree for extents comprises a starting address and a length. Mapping data for individual MUs in the override tree comprises individual pointers from logical addresses to physical addresses. Source erase blocks in flash memory are reorganized asynchronously by iteratively moving individual MUs of an object in order from a source erase block to a free erase block to empty the source erase block and free up associated DRAM.

Claims (24)

1. In a flash memory system comprising a controller and flash memory that stores object data of a plurality of executing applications as a plurality of managed units (“MUs”) of object data distributed non-contiguously in a plurality of erase blocks of said flash memory, a MU comprising an addressable storage location in said flash memory containing a unit of object data of a single one application of said plurality of applications, and an erase block comprising a block said flash memory sized to contain a plurality of MUs of object data of different ones of said applications, a method of managing the flash memory by rearranging valid MUs of valid object data in consecutive order of creation in free erase blocks to empty an erase block of valid object data and reclaim that empty erase block for new object data of said executing applications, comprising:

selecting as a candidate erase block for reclamation an erase block in said flash memory;

determining costs to move directly from said selected candidate erase block to one or more free erase blocks valid MUs of all objects present in said selected candidate erase block and to move directly to said free erase blocks other valid MUs of the same applications which produced said valid MUs present in said selected candidate erase block that are distributed among other ones of said plurality of erase blocks, said determining comprising determining for all of said valid MUs a number and a sequence of said valid MUs of said objects that must be moved to said free erase block from said selected candidate erase block and from said other ones of said plurality of erase blocks in said flash memory to arrange all valid MUs of each application moved to said free erase block in contiguous order of creation by such application in said free erase block to form an extent of contiguous valid MUs of said each object in said free erase block;

repeating said selecting and determining steps for other candidate erase blocks;

selecting from among candidate erase blocks a selected erase block for movement of valid MUs requiring the fewest moves to move all of said valid MUs in said selected erase block and all valid MUs produced by the same executing applications in other erase blocks to a free erase block;

moving from said selected erase block and from said other erase blocks directly to said free erase block said valid MUs in said contiguous order of creation to contiguous storage locations of said free erase block to form said extent without intermediate moves of said valid MUs to a memory external to said flash memory;

determining whether said moving leaves said selected erase block empty of valid MUs; and

if not, repeating said foregoing steps until at least one selected erase block is empty of valid MUs.

2. The method of claim 1 wherein said moving comprises reorganizing a selected object into said free erase block by writing individual valid MUs of the selected object directly from one or more of said other ones of said plurality of erase blocks in said contiguous order of creation as said extent of MUs into said free erase block of the flash memory.

3. The method of claim 2 , wherein said reorganizing is performed as part of refreshing the contents of said flash memory.

4. The method of claim 1 , wherein, upon there being two or more erase blocks having valid MUs of objects of different applications, the movement of which MUs results in said two or more of said blocks being equally less full, the method further comprises selecting first the object to move that has the least cost to move.

5. The method of claim 4 , wherein selecting the object that has the least cost to move comprises selecting that object that has the fewest valid MUs to move.

6. The method of claim 4 further comprising erasing said empty erase block for reuse.

7. In a flash memory system comprising a controller and flash memory that stores object data of executing applications as a plurality of managed units (“MUs”) of object data distributed non-contiguously in a one or more physical erase blocks of said flash memory, a MU comprising an addressable storage location in said flash memory containing a unit of object data of a single one executing application, and an erase block comprising a block of said flash memory sized to contain a plurality of MUs, a method of managing the flash memory by rearranging valid MUs of valid object data into consecutive order of creation in a free erase block directly without the need for intermediate moves of said valid MUs to a memory external to said flash memory to reclaim erase blocks for new object data of said executing applications, comprising:

inspecting a plurality of erase blocks containing MUs of object data for a candidate erase block for movement of MUs of objects to a free erase block, and selecting as a candidate erase block an erase block having valid MUs of the fewest number of objects;

determining costs to move to said free erase block valid MUs of all said objects that have valid MUs present in said selected candidate erase block and to move to said free erase block other valid MUs of such objects distributed among other ones of said plurality of erase blocks, said determining comprising determining for all said valid MUs a number and a sequence of said valid MUs of such objects that must be moved to said free erase block from said selected erase block and from said other ones of said plurality of erase blocks to arrange all valid MUs of such objects that are moved to said free erase block in contiguous order of creation in said free erase block to form an extent of contiguous valid MUs of said object in said free erase block;

said selected candidate erase block having the least cost to move all valid MUs of objects in said selected candidate erase block and all valid MUs of said objects in said other ones of said plurality of erase blocks in said flash memory; and

moving directly from said selected candidate erase block and from said plurality of other erase blocks valid non-contiguous MUs of an object, in order of creation by one application, to the free erase block without intermediate moves of said valid MUs to a memory external to said flash memory such that after movement said MUs are stored in said order of creation in contiguous locations in said free erase block.

8. The method of claim 7 , wherein upon there being two or more erase blocks having valid MUs, the movement of which results in more than one erase block being equally less full, selecting for movement MUs in an erase block that has the fewest valid MUs.

9. The method of claim 8 , wherein said moving comprises moving valid MUs in an order that results in the greatest reductions in the number of MUs in said selected erase block.

10. The method of claim 7 , wherein said moving comprises moving a plurality of individual valid MUs in order of creation from said selected and said plurality of erase blocks of said flash memory to said free erase block of said flash memory to create an extent of contiguous MUs, and storing in an extent tree mapping data comprising a starting address and a length for said extent.

11. The method of claim 7 , wherein said flash memory system further comprises program memory that stores computer readable executable instructions for controlling said controller to perform said method.

12. The method of claim 11 , wherein said computer readable executable instructions further control said controller to select objects asynchronously with applications writing MUs to said flash memory by iteratively moving in order of creation individual MUs of said objects from source erase blocks to one or more free erase blocks to create extents of contiguous MUs in said free erase blocks, and to erase a source erase block for reuse upon all valid MUs being moved from said source erase block.

13. The method of claim 7 further comprising erasing said selected erase block if said selected erase block is empty following movement of said valid MUs.

Assignments (10)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (045455/0001) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061753/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (040136/0001) Recorded Apr 26, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061324/0001 →
RELEASE OF SECURITY INTEREST Recorded Nov 3, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL, L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058216/0001 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 29, 2016
From: EMC CORPORATION
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 040203/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 040136/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 040134/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 15, 2016
From: VAN GAASBECK, RICHARD H.
To: EMC CORPORATION
Reel/Frame 038293/0064 →
Cited By (3)
US 12,386,738 US 12,524,339 US 12,639,208