IP Library › Granted Patent US 11,327,891
Granted Patent B2
US 11,327,891 · App. 16/887,567 · Granted May 10, 2022

Prefetching operations in storage devices

Inventors: Heekwon Park (Cupertino, CA); Ho bin Lee (San Jose, CA); Ilgu Hong (Santa Clara, CA); Yang Seok Ki (Palo Alto, CA)
Assignee: Samsung Electronics Co., Ltd.
G06F12/0862G06F16/2379G06F2212/602
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 11,327,891
App. No.
16/887,567
Granted
May 10, 2022
Kind
B2
Abstract

Provided is a method of adjusting prefetching operations, the method including setting a prefetching distance, accessing a prefetching-trigger key, determining a target key is outside of the prefetching distance from the prefetching-trigger key, increasing the prefetching distance, and successfully fetching a subsequent target key of a subsequent prefetching-trigger key from a prefetching read-ahead buffer.

Claims (53)

1. A method of adjusting prefetching operations, the method comprising:

setting a prefetching distance;

accessing a prefetching-trigger key;

determining a target key is outside of the prefetching distance from the prefetching-trigger key;

increasing the prefetching distance; and

successfully fetching a subsequent target key of a subsequent prefetching-trigger key from a prefetching read-ahead buffer.

2. The method of claim 1 , wherein increasing the prefetching distance comprises increasing the prefetching distance exponentially.

3. The method of claim 1 , further comprising:

determining that the prefetching read-ahead buffer has overflown; and

inserting an entry corresponding to an additional subsequent prefetching-trigger key into a cache of a key-value database.

4. The method of claim 3 , further comprising:

determining the subsequent prefetching-trigger key is present in the simulation cache; and

reinitiating prefetching operations.

5. The method of claim 1 , further comprising:

determining an additional subsequent prefetching-trigger key is missing from the prefetching read-ahead buffer; and

skipping a prefetching operation for an additional subsequent target key of the additional subsequent prefetching-trigger key.

6. The method of claim 5 , further comprising decreasing the prefetching distance.

7. The method of claim 6 , wherein decreasing the prefetching distance comprises decreasing the prefetching distance by one key.

8. A system for managing prefetching operations for transferring data from a storage device to a prefetching read-ahead buffer, the system being configured to:

set a prefetching distance;

access a prefetching-trigger key;

determine a target key is outside of the prefetching distance from the prefetching-trigger key;

increase the prefetching distance; and

successfully fetch a subsequent target key of a subsequent prefetching-trigger key from the prefetching read-ahead buffer.

9. The system of claim 8 , wherein the system is configured to increase the prefetching distance by increasing the prefetching distance exponentially.

10. The system of claim 8 , wherein the system is further configured to:

determine that the prefetching read-ahead buffer has overflown; and

insert an entry corresponding to an additional subsequent prefetching-trigger key into a cache of a key-value database of the system.

11. The system of claim 10 , wherein the system is further configured to:

determine the subsequent prefetching-trigger key is present in the simulation cache; and

reinitiate prefetching operations.

12. The system of claim 8 , wherein the system is further configured to:

determine an additional subsequent prefetching-trigger key is missing from the prefetching read-ahead buffer; and

skip a prefetching operation for an additional subsequent target key of the additional subsequent prefetching-trigger key.

13. The system of claim 12 , wherein the system is further configured to decrease the prefetching distance.

14. The system of claim 13 , wherein the system is configured to decrease the prefetching distance by decreasing the prefetching distance by one key.

15. A non-transitory computer readable medium implemented on a system for managing prefetching operations for transferring data from a storage device to a prefetching read-ahead buffer, the non-transitory computer readable medium having computer code that, when executed on a processor, implements a method of adjusting prefetching operations, the method comprising:

setting a prefetching distance;

accessing a prefetching-trigger key;

determining a target key is outside of the prefetching distance from the prefetching-trigger key;

increasing the prefetching distance; and

successfully fetching a subsequent target key of a subsequent prefetching-trigger key from a prefetching read-ahead buffer.

16. The non-transitory computer readable medium of claim 15 , wherein the computer code, when executed on a processor, is configured to increase the prefetching distance by increasing the prefetching distance exponentially.

17. The non-transitory computer readable medium of claim 15 , wherein the computer code, when executed on a processor, further implements the method of adjusting prefetching operations by:

determining that the prefetching read-ahead buffer has overflown; and

inserting an entry corresponding to an additional subsequent prefetching-trigger key into a cache of a key-value database.

18. The non-transitory computer readable medium of claim 17 , wherein the computer code, when executed on a processor, further implements the method of adjusting prefetching operations by:

determining the subsequent prefetching-trigger key is present in the simulation cache; and

reinitiating prefetching operations.

19. The non-transitory computer readable medium of claim 15 , wherein the computer code, when executed on a processor, further implements the method of adjusting prefetching operations by:

determining an additional subsequent prefetching-trigger key is missing from the prefetching read-ahead buffer; and

skipping a prefetching operation for an additional subsequent target key of the additional subsequent prefetching-trigger key.

20. The non-transitory computer readable medium of claim 19 , wherein the computer code, when executed on a processor, further implements the method of adjusting prefetching operations by decreasing the prefetching distance.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2020
From: PARK, HEEKWON; LEE, HO BIN; HONG, ILGU; KI, YANG SEOK
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 053536/0658 →
Continuity (2)
Provisional Application 62903642 · Sep 20, 2019
Related Publication 20210089457A1 · Mar 25, 2021
Cited By (2)
US 12,687,981 US 12,689,682