IP Library Granted Patent US 10,853,140
Granted Patent B2
US 10,853,140 · App. 16/263,281 · Granted Dec 1, 2020

Slab memory allocator with dynamic buffer resizing

Inventors: Tony Wong (Milpitas, CA); Abhinav Duggal (Jersey City, NJ); Hemanth Satyanarayana (Santa Clara, CA)
Assignee: EMC IP Holding Company LLC
G06F9/5016G06F9/544G06F12/0253G06F16/1748G06F16/1774G06F2209/5011G06F2212/7203G06F2212/7205
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,853,140
App. No.
16/263,281
Granted
Dec 1, 2020
Kind
B2
Abstract

Embodiments for dynamically resizing buffers for a slab allocator process are described. The slab allocator informs the consumer that the memory buffer must be shrunk to a smaller size. A buffer allocation process dynamically reclaims portions of larger memory buffers to make room for a smaller allocation by shrinking data objects in larger slabs and returning slabs to reserve or free slab lists. Initially a large limit is set, and it is dynamically reduced once all the available memory is exhausted. This allows the slab allocator to adapt to the workload.

Claims (13)

1. A computer-implemented method for dynamically allocating buffers for a slab allocator process, comprising:

maintaining a link list of all allocated buffers grouped by buffer size;

subdividing, by the slab allocator, a fixed size slab into a plurality of small data objects of a specific size;

setting an upper bound for a number of data elements in a record;

triggering, upon exceeding the upper bound, a reclaim callback mechanism to request a portion of the grouped allocated buffers back to the slab allocator;

selecting a largest buffer from the grouped allocated buffers for space reclamation; and

shrinking data objects in the largest buffer to fit a reserved slab and returning a slab of the largest buffer to a reserve slab pool and at least one other slab of the largest buffer to a free slab list.

2. The method of claim 1 wherein the buffers comprise large buffers and small buffers grouped into a large buffer group and a small buffer group.

3. The method of claim 2 wherein the shrinking shrinks the data objects in the largest buffer by one-half.

4. The method of claim 1 wherein the slab allocator allocates data objects to the buffers depending on data type.

5. The method of claim 1 wherein the data elements comprise tags identifying one or more related files, and wherein the buffers are allocated for a file selection application executed in a deduplication backup system.

6. The method of claim 3 wherein the files are related through one of: application, file size, creation time, client, or data type.

7. The method of claim 2 wherein the reclaim callback mechanism issues a callback to an application with an object pointer for the application to allocate a new object of a smaller size to fit into a small buffer.

Assignments (4)
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 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2020
From: WONG, TONY; DUGGAL, ABHINAV; SATYANARAYANA, HEMANTH
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053891/0801 →
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 →
Continuity (1)
Related Publication 20200249995A1 · Aug 6, 2020