IP Library Granted Patent US 12,293,090
Granted Patent B2
US 12,293,090 · App. 17/939,949 · Granted May 6, 2025

Systems and methods for managing bias mode switching

Inventors: Vincent Tung Pham (San Jose, CA); Andrew Zhenwen Chang (Los Altos, CA)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
G06F3/0622G06F3/0655G06F3/0679
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 12,293,090
App. No.
17/939,949
Granted
May 6, 2025
Kind
B2
Abstract

A storage device is disclosed. The storage device may include a storage for a data and a controller to manage access to the data in the storage. A mechanism may automatically manage a bias mode for a chunk of the data in the storage, the bias mode including one of a host bias mode and a device bias mode.

Claims (34)

1. A storage device, comprising:

a storage media for a data;

a controller to manage access to the data in the storage media; and

a mechanism to store and manage a bias score and a bias mode for a chunk of the data in the storage media based at least in part on the bias score, the bias mode including one of a host bias mode and a device bias mode, the bias score including a multi-bit counter to track access of the chunk of the data in the storage media from a host processor or a device.

2. The storage device according to claim 1 , wherein the mechanism to store and manage the bias mode for the chunk of the data in the storage media is configured to issue one of an invalidate request or a back invalidate request to the host processor for the chunk of the data in the storage media based at least in part on the bias mode for the chunk of the data in the storage media being switched to the device bias mode.

3. The storage device according to claim 1 , wherein the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media includes the bias score and the bias score for the chunk of the data in the storage media.

4. The storage device according to claim 3 , wherein the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media is configured to adjust the bias score for the chunk of the data in the storage media based at least in part on an access of the chunk of the data in the storage media by one of the device or the host processor.

5. The storage device according to claim 3 , wherein the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media is configured to change the bias mode for the chunk of the data in the storage media to the host bias mode based at least in part on the bias score reaching a first threshold, and to change the bias mode for the chunk of the data in the storage media to the device bias mode based at least in part on the bias score reaching a second threshold.

6. The storage device according to claim 1 , wherein the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media is configured to store and manage the bias score and the bias mode for the chunk of the data in the storage media based at least in part on the device accessing a second chunk of the data in the storage media.

7. The storage device according to claim 6 , wherein:

the second chunk of the data in the storage media includes a first page;

the chunk of the data in the storage media includes a second page;

the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media is configured to further store and manage a second bias score and a second bias mode for the second chunk of the data in the storage media; and

the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media is configured to store and manage bias score and the bias mode for the chunk of the data in the storage media based at least in part on the fact that the second page is contiguous to the first page.

8. The storage device according to claim 1 , wherein the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media includes a snoop filter including an entry for the chunk of the data in the storage media as accessed by the host processor, the snoop filter further including a cache controller.

9. The storage device according to claim 8 , wherein:

the entry for the chunk of the data in the storage media identifies that the chunk of the data in the storage media is unmodified by the host processor; and

the mechanism to store and manage the bias mode for the chunk of the data in the storage media is configured to invalidate the chunk of the data in the storage media from a cache of the host processor based at least in part on the snoop filter evicting the entry for the chunk of the data in the storage media.

10. The storage device according to claim 8 , wherein:

the entry for the chunk of the data in the storage media identifies that the chunk of the data in the storage media is modified by the host processor; and

the mechanism to store and manage the bias score and the bias mode for the chunk of the data in the storage media is configured to back-invalidate the chunk of the data in the storage media from a cache of the host processor based at least in part on the snoop filter evicting the entry for the chunk of the data in the storage media.

11. The storage device according to claim 1 , wherein the multi-bit counter includes at least two bits.

12. A method, comprising:

receiving, at a storage device, a request to access a chunk of a data in a storage media of the storage device, the request received from a source;

identifying a bias score for the chunk of the data stored in the storage media of the storage device, the bias score including a multi-bit counter to track access of the chunk of the data in the storage media from a host processor or a device, the storage media of the storage device further storing a bias mode for the chunk of the data, the bias mode based at least in part on the bias score; and

adjusting the bias score for the chunk of the data in the storage media of the storage device based at least in part on the source of the request.

13. The method according to claim 12 , wherein:

receiving, at the storage device, the request to access the chunk of the data in the storage media of the storage device includes receiving, at the storage device, the request to access the chunk of the data in the storage media of the storage device, the request received from the host processor; and

adjusting the bias score for the chunk of the data in the storage media of the storage device based at least in part on the source of the request includes incrementing the bias score for the chunk of the data in the storage media of the storage device based at least in part on the source including the host processor.

14. The method according to claim 13 , further comprising switching the bias mode for the chunk of the data in the storage media of the storage device to a host bias mode based at least in part on the bias score crossing a threshold.

15. The method according to claim 12 , wherein:

receiving, at the storage device, the request to access the chunk of the data in the storage media of the storage device includes receiving, at the storage device, the request to access the chunk of the data in the storage media of the storage device, the request received from the device; and

adjusting the bias score for the chunk of the data in the storage media of the storage device based at least in part on the source of the request includes decrementing the bias score for the chunk of the data in the storage media of the storage device based at least in part on the source including the device.

16. The method according to claim 15 , further comprising switching the bias mode for the chunk of the data in the storage media of the storage device to a device bias mode based at least in part on the bias score crossing a threshold.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 9, 2023
From: PHAM, VINCENT TUNG; CHANG, ANDREW ZHENWEN
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 064853/0193 →
Continuity (2)
Provisional Application 63389353 · Jul 14, 2022
Related Publication 20240020027A1 · Jan 18, 2024
References Cited (20)
US 8799582B2 · Sheaffer et al. · 2014 [cited by applicant]
US 10346944B2 · Nurvitadhi et al. · 2019 [cited by applicant]
US 10373285B2 · Ray et al. · 2019 [cited by applicant]
US 10649956B2 · Koker et al. · 2020 [cited by applicant]
US 11030126B2 · Koufaty et al. · 2021 [cited by applicant]
US 11036650B2 · Agarwal · 2021 [cited by applicant]
US 11204867B2 · Agarwal et al. · 2021 [cited by applicant]
US 11263143B2 · Gupta et al. · 2022 [cited by applicant]
US 20060080508A1 · Hoover · 2006 [cited by examiner]
US 20160062893A1 · Tune · 2016 [cited by examiner]
US 20180285266A1 · Koker et al. · 2018 [cited by applicant]
US 20190018806A1 · Koufaty · 2019 [cited by examiner]
US 20190102311A1 · Gupta et al. · 2019 [cited by applicant]
US 20210011864A1 · Guim Bernat et al. · 2021 [cited by applicant]
US 20210089459A1 · Lu et al. · 2021 [cited by applicant]
US 20210311646A1 · Malladi et al. · 2021 [cited by applicant]
US 20210373951A1 · Malladi et al. · 2021 [cited by applicant]
EP 3985520A1 · 2022 [cited by applicant]
European Partial Search Report for Application No. 23185267.4, mailed Dec. 11, 2023. [cited by applicant]
European Extended Search Report for Application No. 23185267.4, mailed Apr. 18, 2024. [cited by applicant]