DYNAMIC STORAGE OF CACHE DATA FOR SOLID STATE DISKS
First Claim
1. A method of determining, by a media controller, a size of a cache hash table for managing a cache of data being transferred between a host device and one or more sectors of a storage device, the one or more sectors segmented into a plurality of chunks, wherein each chunk corresponds to at least one sector, the method comprising:
- at startup of the media controller;
initializing, by a buffer layer module of the media controller, the cache in a buffer of the media controller;
during operation of the media controller;
determining, by the buffer layer module, a number of chunks allocated to the cache;
determining, based on the number of chunks allocated to the cache, a size of the of the cache hash table.
8 Assignments
0 Petitions
Accused Products
Abstract
Described embodiments provide a media controller that determines the size of a cache of data being transferred between a host device and one or more sectors of a storage device. The one or more sectors are segmented into a plurality of chunks, and each chunk corresponds to at least one sector. The contents of the cache are managed in a cache hash table. At startup of the media controller, a buffer layer module of the media controller initializes the cache in a buffer of the media controller. During operation of the media controller, the buffer layer module determines a number of chunks allocated to the cache. Based on the number of chunks allocated to the cache, the buffer layer module updates the size of the of the cache hash table.
-
Citations
20 Claims
-
1. A method of determining, by a media controller, a size of a cache hash table for managing a cache of data being transferred between a host device and one or more sectors of a storage device, the one or more sectors segmented into a plurality of chunks, wherein each chunk corresponds to at least one sector, the method comprising:
-
at startup of the media controller; initializing, by a buffer layer module of the media controller, the cache in a buffer of the media controller; during operation of the media controller; determining, by the buffer layer module, a number of chunks allocated to the cache; determining, based on the number of chunks allocated to the cache, a size of the of the cache hash table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A machine-readable storage medium, having encoded thereon program code, wherein, when the program code is executed by a machine, the machine implements a method of determining, by a media controller, a size of a cache hash table for managing a cache of data being transferred between a host device and one or more sectors of a storage device, the one or more sectors segmented into a plurality of chunks, wherein each chunk corresponds to at least one sector, the method comprising:
-
at startup of the media controller; initializing, by a buffer layer module of the media controller, the cache in a buffer of the media controller; during operation of the media controller; determining, by the buffer layer module, a number of chunks allocated to the cache; determining, based on the number of chunks allocated to the cache, a size of the of the cache hash table. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A media controller for determining a size of a cache of data being transferred between a host device and one or more sectors of a storage device, the one or more sectors segmented into a plurality of chunks, wherein each chunk corresponds to at least one sector, the contents of the cache managed in a cache hash table, the media controller comprising:
a buffer layer module, adapted to i) at startup of the media controller, initialize the cache in a buffer of the media controller, ii) during operation of the media controller, determine a number of chunks allocated to the cache, and iii) based on the number of chunks allocated to the cache, determine a size of the of the cache hash table. - View Dependent Claims (18, 19, 20)
Specification