摘要 |
The order of data returned from a non-volatile memory to a host following a read request is determined based on a total cost. The total cost takes into account operation costs for each memory die 208 involved with the request. Operation monitor 202 manages counters holding metrics characterising the estimated time to complete a read operation on corresponding dies. The maximum of such times is then evaluated to calculate the total cost. The value stored in each counter can also be based on the operational history and physical location of the operation. Whether a die is idle, busy with erase, page program, or read operations can also affect the operation cost. The determined order is used to schedule data transfers to the host so that a minimum number of read commands gets blocked by other read commands. The memory can be a solid-state device (SSD), e.g. NAND or NOR flash. |