IP Library Granted Patent US 10,452,556
Granted Patent B2
US 10,452,556 · App. 15/066,522 · Granted Oct 22, 2019

Memory device and information processing device

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,452,556
App. No.
15/066,522
Granted
Oct 22, 2019
Kind
B2
Abstract

According to one embodiment, a part of first information stored in a nonvolatile second memory is cached in a volatile third memory with a first cache line size in a case where a first memory included in a host is not used. A part of the first information is cached in the first memory with a second cache line size in a case where the first memory is used. The second cache line size is larger than the first cache line size.

Claims (71)

1. A memory device connectable to a host including a first memory, the memory device comprising:

a second memory that is nonvolatile;

a third memory that is volatile; and

a controller configured to:

in a case where the first memory is not used, cache a part of first information stored in the second memory into the third memory with a first cache line size, and cache a first number of pieces of first data into respective cache lines configuring second information, the second information being the part of the first information cached in the third memory; and

in a case where the first memory is used, cache a part of the first information into the first memory with a second cache line size, and cache a second number of pieces of first data into respective cache lines configuring third information, the second number being a value acquired by first constant times of the first number, the third information being the part of the first information cached in the first memory, the second cache line size being larger than the first cache line size.

2. The memory device according to claim 1 , wherein the controller sets the second cache line size to become larger accordingly as a size of the first memory becomes larger.

3. The memory device according to claim 1 , wherein the controller is configured to:

in a case where the first memory is not used, store, in the third memory, fourth information that is a cache tag of second information; and

cache tag information that corresponds to one piece of the first data among the first number of pieces of the first data into respective tag area configuring the fourth information.

4. The memory device according to claim 3 , wherein the controller is configured to:

in a case where the first memory is used, store, in the third memory, fifth information that is a cache tag of the third information; and

cache tag information that corresponds to one piece of the first data among the second number of pieces of the first data into respective tag area configuring the fifth information.

5. The memory device according to claim 4 , wherein the controller sets the first constant to a different value in accordance with a size of the first memory.

6. The memory device according to claim 4 , wherein the controller is configured to:

in a case where the first memory is not used, set some bits excluding bits corresponding to the number of bits corresponding to the first number from a plurality of bits configuring the tag information as a search target; and

in a case where the first memory is used, set some bits excluding bits corresponding to the number of bits corresponding to the second number from the plurality of bits configuring the tag information as a search target.

7. The memory device according to claim 4 , wherein,

the first information includes an association of a logical address specified by the host with a physical address of the second memory,

the second information includes the physical address,

the third information includes the physical address,

the fourth information includes the logical address, and

the fifth information includes the logical address.

8. The memory device according to claim 7 , wherein the controller is configured to:

cache a first number of the physical addresses into respective cache lines configuring the second information;

cache a logical address that corresponds to one physical address among the first number of the physical addresses into respective tag areas configuring the fourth information as tag information;

cache a second number of the physical addresses into respective cache lines configuring the third information, the second number being a value acquired by first constant times of the first number; and

cache a logical address that corresponds to one physical address among the second number of the physical addresses into respective tag areas configuring the fifth information as tag information.

9. The memory device according to claim 8 , wherein,

in a case where the first memory is not used, and when the read command is received from the host, the controller excludes low-order bits having the number of bits corresponding to the first number from a first logical address included in a read command and the tag information and compares the first logical address from which the low-order bits are excluded with the tag information from which the low-order bits are excluded, and

in a case where the first memory is used, and when the read command is received from the host, the controller excludes low-order bits having the number of bits corresponding to the second number from the first logical address included in a read command and the tag information and compares the first logical address from which the low-order bits are excluded with the tag information from which the low-order bits are excluded.

10. The memory device according to claim 9 , wherein the controller, in a case where the first memory is used, is configured to:

in a case where the tag information matching the first logical address is present inside the fifth information as a result of the comparison, acquire a physical address corresponding to the first logical address from a cache line included in the third information corresponding to matching tag information; and

in a case where the tag information matching the first logical address is not present inside the fifth information, acquire a physical address corresponding to the first logical address from the first information stored in the second memory.

11. An information processing device comprising:

a host that includes a first memory; and

a memory device that is connectable to the host,

the memory device including:

a second memory that is nonvolatile;

a third memory that is volatile; and

a controller configured to:

in a case where the first memory is not used, cache a part of first information stored in the second memory into the third memory with a first cache line size and cache a first number of pieces of first data into respective cache lines configuring second information, the second information being the part of the first information cached in the third memory; and

in a case where the first memory is used, cache a part of the first information into the first memory with a second cache line size, and cache a second number of pieces of first data into respective cache lines configuring third information, the second number being a value acquired by first constant times of the first number, the third information being the part of the first information cached in the first memory, the second cache line size being larger than the first cache line size.

12. The information processing device according to claim 11 , wherein the controller sets the second cache line size to become larger accordingly as a size of the first memory becomes larger.

13. The information processing device according to claim 11 , wherein the controller is configured to:

in a case where the first memory is not used, store, in the third memory, third information that is a cache tag of second information; and

cache tag information that corresponds to one piece of the first data among the first number of pieces of the first data into respective tag area configuring the fourth information.

14. The information processing device according to claim 13 , wherein the controller is configured to:

in a case where the first memory is used, store, in the third memory, fifth information that is a cache tag of the third information; and

cache tag information that corresponds to one piece of the first data among the second number of pieces of the first data into respective tag area configuring the fifth information.

15. The information processing device according to claim 14 , wherein the controller sets the first constant to a different value in accordance with a size of the first memory.

16. The information processing device according to claim 14 , wherein the controller is configured to:

in a case where the first memory is not used, set some bits excluding bits corresponding to the number of bits corresponding to the first number from a plurality of bits configuring the tag information as a search target; and

in a case where the first memory is used, set some bits excluding bits corresponding to the number of bits corresponding to the second number from the plurality of bits configuring the tag information as a search target.

17. The information processing device according to claim 14 , wherein

the first information includes an association of a logical address specified by the host with a physical address of the second memory,

the second information includes the physical address,

the third information includes the physical address,

the fourth information includes the logical address, and

the fifth information includes the logical address.

18. The information processing device according to claim 17 , wherein the controller is configured to:

cache a first number of the physical addresses into respective cache lines configuring the second information;

cache a logical address that corresponds to one physical address among the first number of the physical addresses into respective tag areas configuring the third fourth information as tag information;

cache a second number of the physical addresses into respective cache lines configuring the third information, the second number being a value acquired by first constant times of the first number; and

cache a logical address that corresponds to one physical address among the second number of the physical addresses into respective tag areas configuring the fifth information as tag information.

19. The information processing device according to claim 18 , wherein,

in a case where the first memory is not used, and when the read command is received from the host, the controller excludes low-order bits having the number of bits corresponding to the first number from a first logical address included in a read command and the tag information and compares the first logical address from which the low-order bits are excluded with the tag information from which the low-order bits are excluded, and

in a case where the first memory is used, and when the read command is received from the host, the controller excludes low-order bits having the number of bits corresponding to the second number from the first logical address included in a read command and the tag information and compares the first logical address from which the low-order bits are excluded with the tag information from which the low-order bits are excluded.

20. The information processing device according to claim 19 , wherein the controller, in a case where the first memory is used, is configured to:

in a case where the tag information matching the first logical address is present inside the fifth information as a result of the comparison, acquire a physical address corresponding to the first logical address from a cache line included in the third information corresponding to matching tag information; and

in a case where the tag information matching the first logical address is not present inside the fifth information, acquire a physical address corresponding to the first logical address from the first information stored in the second memory.

Assignments (5)
MERGER Recorded Jan 22, 2021
From: TOSHIBA MEMORY CORPORATION
To: K.K. PANGEA
Reel/Frame 055659/0471 →
CHANGE OF NAME AND ADDRESS Recorded Jan 22, 2021
From: TOSHIBA MEMORY CORPORATION
To: KIOXIA CORPORATION
Reel/Frame 055669/0001 →
CHANGE OF NAME AND ADDRESS Recorded Jan 22, 2021
From: K.K. PANGEA
To: TOSHIBA MEMORY CORPORATION
Reel/Frame 055669/0401 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 5, 2017
From: KABUSHIKI KAISHA TOSHIBA
To: TOSHIBA MEMORY CORPORATION
Reel/Frame 043088/0620 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 13, 2016
From: KABURAKI, SATOSHI
To: KABUSHIKI KAISHA TOSHIBA
Reel/Frame 038895/0626 →