TWI378469B - A method and a storage device estimating a completion time for a storage operation - Google Patents

A method and a storage device estimating a completion time for a storage operation Download PDF

Info

Publication number
TWI378469B
TWI378469B TW96139734A TW96139734A TWI378469B TW I378469 B TWI378469 B TW I378469B TW 96139734 A TW96139734 A TW 96139734A TW 96139734 A TW96139734 A TW 96139734A TW I378469 B TWI378469 B TW I378469B
Authority
TW
Taiwan
Prior art keywords
storage
storage device
completion time
controller
estimate
Prior art date
Application number
TW96139734A
Other languages
Chinese (zh)
Other versions
TW200905697A (en
Inventor
Nir Perry
Original Assignee
Sandisk Il Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US11/781,259 external-priority patent/US8117415B2/en
Application filed by Sandisk Il Ltd filed Critical Sandisk Il Ltd
Publication of TW200905697A publication Critical patent/TW200905697A/en
Application granted granted Critical
Publication of TWI378469B publication Critical patent/TWI378469B/en

Links

Landscapes

  • Memory System (AREA)
  • Debugging And Monitoring (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Retry When Errors Occur (AREA)

Description

1378469 九、發明說明: 【發明所屬之技術領域】 2隨著電腦工程的進步,大量資訊係儲存在大量儲存器裝 置中。該些儲存裝置之中的一些裝置係使用整合在儲=裝 置中管理的自動記憶體操作之技術。即是,自動記^操 作不是由使用儲存裝置的主機處理器所管理。此自動記情 體#作的範例包#:垃圾收集操其係恢復及循環未使 用的動態記憶體;耗損平衡操作,其會增加在—快 體系統中的單元完全平均耗損的可能性;重組操作,其 減少檔案系統的重組量;及電源故障保護資料,其可保 資料避免不正常的程式結束與其他f料損失問題。” 3的完成例如寫入、讀取或刪除的儲存操作所需 裝置中自動一理由係因為上述記憶體操作係在儲存 。 f理,而不是由主機處理器管理。自動記 操作會導致完成儲存操作的時間改變相當大。例如,^ ::::::::將1。百⑽案一储存裝心 有效率操作,一主機處理器可如下回應於預測 70成儲存操作所需時間之不確定性: 1主機處理μ置等待直到儲存操作 理器與儲存裝置舍彳六广 1疋主機處 機處理器不能執乂 。因為當儲存操作執行時,主 間。 仃其他工作,所以此程序會浪費處理時 2在傳送一儲存命令之後,主機處理器可切換至另 125785.doc 1378469 一工作,並在儲存操作結束之後,可返回原來的工作。然 而,在主機處理器結束切換工作之前,儲存操作可結束, 原來的工作必須等待比復原所需更久的時間。 另一選項已知為"輸詢"的程序,其中主機處理器會時常 檢查在儲存裝置的儲存操作是否已完成。此連續的詢問會 消耗明顯的處理時間。 在傳送一儲存命令至儲存裝置之後,仍然另一選項係主1378469 IX. Description of the invention: [Technical field to which the invention pertains] 2 With the advancement of computer engineering, a large amount of information is stored in a large number of storage devices. Some of these storage devices use techniques integrated into the automatic memory management managed in the storage device. That is, the automatic recording operation is not managed by the host processor using the storage device. This automatic sample body #example package#: garbage collection operation restores and recycles unused dynamic memory; wear leveling operation, which increases the possibility of complete average wear of the unit in the fast body system; Operation, which reduces the amount of reorganization of the file system; and power failure protection data, which can guarantee the data to avoid abnormal program end and other f material loss problems. The reason for the completion of the storage operation such as writing, reading or deleting of 3 is automatic because the above memory operation is stored. The management is not managed by the host processor. The automatic recording operation causes the storage to be completed. The time of operation changes considerably. For example, ^::::::: will be 1. Hundred (10) case storage is efficient, and a host processor can respond to the prediction of 70% of the storage operation time as follows. Deterministic: 1 The host handles the μ device until the storage device and the storage device are smashed. The processor at the host computer cannot be executed. Because the storage operation is performed, the main room. 仃 Other work, so the program will Waste processing 2 After transmitting a save command, the host processor can switch to another work of 125785.doc 1378469 and return to the original work after the storage operation ends. However, before the host processor ends the switching work, it stores The operation can end, the original work must wait longer than the recovery takes. Another option is known as the "inquiry" program, where the host processor is timed Often check if the storage operation of the storage device has been completed. This continuous inquiry consumes significant processing time. After transferring a storage command to the storage device, there is still another option.

機處理11可執行上下文交換以執行其他I作、執行另一工 作、然後再次執行上下文交換以返回原來的工作、然而, 上下文交換係耗時,而且若儲存操作未在處理n返回原來 工作的時間之前完成,主機處理器必須再次執行上下文交 換,並消耗更多時間。 用於最佳化處理器效率的該些選項並未說明料操作持 續時間的自動記憶料作㈣。因為該些操作係在儲存裝The machine processing 11 can perform context exchange to perform other operations, perform another work, and then perform context exchange again to return to the original work. However, the context exchange is time consuming, and if the storage operation is not returned to the original work at the processing n Before the completion, the host processor must perform the context exchange again and consume more time. These options for optimizing processor efficiency do not account for the automatic memory of the operation duration (4). Because these operations are in storage

置中管理’所以有關自動儲存操作排程的資訊不輕易用於 ,機的處理P因為儲存操作的自動動作的影響係如此 顯者’所以當實施上述選項 會受限制。因此,需以某 s—的最佳化 某種方式說明儲存操作持續時間的 自動記憶體操作影響。 【發明内容】 本發明可藉由說明比杏 ^ 先别技術已知的更多因數來預測儲 存刼作的持續時間,例 ^ ir4 ^ 幻如自動記憶體操作影響。本發明τ 具體化為-處理器的儲存 Η月了 的方法。 裝置/系統或為執行一儲存操辞 125785.doc 1378469 在本發明的—具體實施例中,—健存裝置具有—非揮發 性記憶體與-控制器。該非揮發性記憶體可為—快閃記憶 體。該控制器操作上係根據來自一處理器的一儲存命令將 資料傳送給非揮發性記憶體,並從該非揮發性記憶體取回 資料。該控制器係組態可估計與儲存命令有關的一儲存操 作的完成時間,並將該估計的完成時間提供給該處理器。 在儲=操作開始之前或之後’該控制器可開始估計健存操 作的完成時間,此係取決於操作模式。 在本發明的另—具體實施例中,—主機處理器的儲存系 統包括-儲存裝置,其具有-非揮發性記憶體與一控制器 模組。此具體實施例的控制器模組係類似第一具體實施例 的控制器。該控制器模組可駐留在主機。 本發明亦可具體化為執行—儲存操作的方法其包括. 從一處理器捿收用於儲存操作的—储存命令;使用-儲存 裝置的m來估計儲存操作的完成時間; :::::给該處理器。根據操作模式,在储存操作開: =之後’該控制器可開始估計储存操作的完成時間。 而c基於在儲存裝置上應用的預期自動記憶體操作 損耗平衡操作、垃圾收集操作、電源故障: 6 /、重㈣作。該料亦可部分基㈣存裝置的一 特定儲存區域的屬性而實現。 、 明t發明之額外特徵及優點可從下面圖式及說明而變得更 【實施方式】 125785.doc 1378469 前面說明及文後中請專利範圍所定義的本發明可藉由參 考本發明具體實施例的詳細說明而更瞭解。此說明並未偈 限於文後申請專利範圍之範疇, 祀可而係提供本發明之範例。 下列討論是表達示意具體實施例,其包括一處理器的储存 裝置、-主機處理器的儲存系統、與執行健存操作的方 法。 圖1係描述根據本發明的一第一具體實施例之一儲存裝 置的方塊圖0如圖所示,一德左姑 口叮τ 储存裝置10係與一主機18的處 理器16介接。儲存裝置10包括一非揮發性記憶㈣與一控 制器…非揮發性記憶體12可為一快閃記憶體。控制器14 係根據來自處理器16的-儲存命令而從非揮發性記憶體^ 傳送資料及取回資料。儲存命令可為—寫人命令、一讀取 命令、或一刪除命令。儲存命令係由主機傳送給儲存裝置 10,並由儲存裝置10執行為一儲存操作。控制器14係組態 成估計與儲存命令有關的儲存操作完成時間,並提供估計 完成時間給該處理器16。在儲存操作開始之前或之後,控 制器14開始估計儲存操作的完成時間,此係取決於操作模 式。三個範例性操作模式係、在圖2a_2e示意性表示。 在圖2a表示的第—棍式φ + 模式中在開始執行之前,控制器14 開始及結束估計儲存操作完成時間的計算。 在圖2b表㈣第二操作模式中,在儲存操作開始之後, 控制器14開始估計—儲存操作的完成時間。當儲存操作執 仃時,當寫入或讀取或刪除來自非揮發性記憶_的資料 時’控制^ 14會經歷閒置時間。僅當儲存裝置閒置時,控 125785.doc 1378469 制器Μ會執行計算以估計錯存操作的 式顯不有關"計算"與"執行"的實線 Β (雖然圖 多重中斷。實線表示在"計算”與處理可能有 之間的時距。為了清楚,未在圖中=開始與結束 其未管理儲存操作執行期間管理在當 在圖2b的模式中m^/指存時㈣計算。) 元成時間提供給該處理器。如=估计的 止以提供在預設時間之前提供仕^ f㈣作的執行將停 所需要之資源。 、。的儿成時間給該處理器 …在圖2c所表示的操作模式中,錯存操作開 态14開始估計儲存操作 " 時,其執行計算估計完成=存裝置_ 需要預設時間以提供估計的完成時^式中,控制器抑 二=Γ可個別具有下列特徵之,個:當接 收錯存命令或在健存操作開始之後,控制 完成時間。在起始儲存操作之前,控制器咐 : 2:。當執行儲存命令請求時,若主機咖:計的 便決定所要執行的操作,此係有"儲存裝 摇作 控制器14可開始估計完成時間。在起始儲存 =:前’控制器可設計成完成估計完成時間。在起始儲 杨作之前及/或在自從接收儲存命令消逝—預定義時間 間^例如3ms、5ms、5個時脈等)之前,控制器可提供估 5十元成時間給該處理器。 該估計的完成時間可部分基於應用在儲存裝置的預期自 125785.doc 1378469Centering management' so information about the automatic storage operation schedule is not easy to use, and the processing of the machine P is so conspicuous because of the automatic action of the storage operation', so the implementation of the above options is limited. Therefore, it is necessary to describe the effect of the automatic memory operation of the storage operation duration in a certain way. SUMMARY OF THE INVENTION The present invention can predict the duration of a storage operation by explaining more factors than those known in the prior art, for example, ir4 ^ illusion is an automatic memory operation effect. The present invention τ is embodied as a method of storing the processor for a long time. The device/system or to perform a storage operation 125785.doc 1378469 In a particular embodiment of the invention, the health device has a non-volatile memory and controller. The non-volatile memory can be a flash memory. The controller is operative to transfer data to non-volatile memory based on a store command from a processor and retrieve data from the non-volatile memory. The controller is configured to estimate the completion time of a store operation associated with the store command and provide the estimated completion time to the processor. The controller may begin to estimate the completion time of the load operation before or after the store = operation begins, depending on the mode of operation. In another embodiment of the invention, the storage system of the host processor includes a storage device having a non-volatile memory and a controller module. The controller module of this embodiment is similar to the controller of the first embodiment. The controller module can reside on the host. The invention may also be embodied as a method of performing a storage operation comprising: collecting a storage command for a storage operation from a processor; estimating a completion time of the storage operation using the m of the storage device; ::::: Give the processor. Depending on the mode of operation, after the store operation is on: = then the controller can begin to estimate the completion time of the store operation. And c is based on the expected automatic memory operation loss balance operation applied on the storage device, garbage collection operation, power failure: 6 /, heavy (four). The material may also be realized by the properties of a particular storage area of the partial (four) storage device. The additional features and advantages of the invention can be further improved from the following figures and descriptions. [Embodiment] 125785.doc 1378469 The invention as defined in the foregoing description and the scope of the patent application can be implemented by reference to the present invention. Learn more about the detailed description of the example. This description is not intended to be limited to the scope of the appended claims. The following discussion is illustrative of specific embodiments that include a processor storage device, a host processor storage system, and a method of performing a health care operation. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing a storage device in accordance with a first embodiment of the present invention. As shown, a D-left port storage device 10 is interfaced with a processor 16 of a host 18. The storage device 10 includes a non-volatile memory (four) and a controller. The non-volatile memory 12 can be a flash memory. The controller 14 transmits and retrieves data from the non-volatile memory ^ based on the -store command from the processor 16. The save command can be a write command, a read command, or a delete command. The storage command is transmitted by the host to the storage device 10 and executed by the storage device 10 as a storage operation. The controller 14 is configured to estimate the storage operation completion time associated with the store command and provide an estimated completion time to the processor 16. Before or after the storage operation begins, controller 14 begins to estimate the completion time of the storage operation, depending on the mode of operation. Three exemplary modes of operation are shown schematically in Figures 2a-2e. The controller 14 starts and ends the calculation of the estimated storage operation completion time before starting execution in the first-stick type φ + mode shown in Fig. 2a. In the second mode of operation of Table (b) of Figure 2b, after the start of the store operation, controller 14 begins the estimation - the completion time of the store operation. When the storage operation is executed, the control 14 will experience an idle time when writing or reading or deleting data from the non-volatile memory_. Only when the storage device is idle, control 125785.doc 1378469 will perform calculations to estimate the type of the error-storing operation is not related to "calculation" and "execution" the solid line 虽然 (although the graph is multiple interrupts. The line indicates the time interval between the "calculation" and the processing. For clarity, it is not managed in the figure = start and end during execution of its unmanaged storage operation while in the mode of Figure 2b m^/refer to (4) Calculation.) Yuancheng time is provided to the processor. If the estimated value is provided before the preset time, the resources required for the execution of the official (f) will be stopped. The time of the child is given to the processor... In the operation mode shown in FIG. 2c, when the faulty operation start state 14 starts estimating the storage operation ", it performs the calculation estimation completion = the storage device _ requires a preset time to provide the estimated completion time, and the controller suppresses Two = Γ can individually have the following characteristics: when receiving a miss command or after the start of the health operation, the control completion time. Before the start of the store operation, the controller 咐: 2: When executing the store command request, If the host coffee : The decision determines the operation to be performed. This is the storage operation controller 14 can start estimating the completion time. Before the initial storage =: before the controller can be designed to complete the estimated completion time. Before the Yang Zuo and/or before the receipt of the storage command elapses—for a predefined time period, such as 3ms, 5ms, 5 clocks, etc., the controller can provide an estimated time of 50 yuan to the processor. The time can be based in part on the expected application in the storage device from 125785.doc 1378469

動記憶體操作。例如,該估計的完成時間可部分基於一預 期耗損平衡操作'垃圾收集操作、電源故障保護操作、或 重組操作。該估計的完成時間可進一步部分基於儲存裝置 10的非揮發性記憶體12的一特定儲存區域的屬性。一,,屬 性"可為任何資訊,其特徵為非揮發性記憶體的一特定儲 存區域的記憶體單元,包括(但是未侷限於)内容可靠度、 密度、交易速度、耐久性或其任何組合。該估計的完成時 間亦可部分基於儲存操作的型態及/或有關儲存操作的資 料量。 圖3係描述根據本發明的另一具體實施例之一儲存系統 的方塊圖 如圖所不’一儲存系統20包括一儲存裝置22與 一控制器模組24。該铋;® a 士 L , 通保存裝置22具有一非揮發性記憶體 12因此,該控制器模組24係類似圖1的控制器14與功Dynamic memory operation. For example, the estimated completion time may be based in part on a predicted wear leveling operation 'garbage collection operation, power failure protection operation, or reorganization operation. The estimated completion time may be further based in part on the attributes of a particular storage area of the non-volatile memory 12 of the storage device 10. The attribute " can be any information that is characterized by a memory unit of a particular storage area of the non-volatile memory, including (but not limited to) content reliability, density, transaction speed, durability, or any combination. The estimated completion time may also be based in part on the type of storage operation and/or the amount of information about the storage operation. 3 is a block diagram depicting a storage system in accordance with another embodiment of the present invention. A storage system 20 includes a storage device 22 and a controller module 24. The 保存;® a 士 L, the pass-and-hold device 22 has a non-volatile memory 12. Therefore, the controller module 24 is similar to the controller 14 of FIG.

能。在圖3的具體實施例中,控制器模組24係駐留在主機 12 ,,、:而’其他的實施係可行,例如將控制器模組組態在 儲存裝置與主機外部的一單元中。 本發明亦可具體化為執行—儲存操作的方法,其包括: 從處理器接收用於储存操作的一健存命令;使用一儲存 裝置的-控制器來估計㈣操作的完成時間;及提供該估 計的完成時間給該處理器。圖4提供代表具體化本發明的 方法之一具體實施例的流程圖40 » 在初始步驟42中 何操作模式中操作 控制器模組24,以 ,儲存裝置係啟動。控制器可在上述任 。步驟42包括圖1的控制器14、或圖3的 收集與儲存裝置的屬性有關的資料。此 125785.doc -II- 1378469 !料可包括磁柱旋轉頻率、讀取/寫入/抹除時間、誤差 率、與平均誤差校正時間。 、 在下-步驟44中,控制器可接收由處理器 儲存命令之後’在步崎的控制器會收 時間的儲存=:::=T的儲存操作持續can. In the particular embodiment of FIG. 3, controller module 24 resides in host 12, and: and other implementations are possible, such as configuring the controller module in a unit external to the storage device and the host. The present invention may also be embodied as a method of performing a store operation, comprising: receiving a load command for a store operation from a processor; using a controller of a storage device to estimate (4) a completion time of the operation; and providing the The estimated completion time is given to the processor. Figure 4 provides a flow chart 40 representative of one embodiment of a method of embodying the present invention. In an initial step 42, the controller module 24 is operated in a mode of operation to enable the storage device to be activated. The controller can be used as described above. Step 42 includes the controller 14 of FIG. 1, or the collection and storage device of FIG. This 125785.doc -II-1378469 material can include the cylinder rotation frequency, read/write/erase time, error rate, and average error correction time. In the next step 44, the controller can receive the storage operation after the processor stores the command, and the storage operation of the control time of the stepping controller is stopped =:::=T

^括磁柱針頭的目前位置、快閃損耗平衡狀態等。有關 機的資料可包括電池狀態、處理器使用等。 八^步驟48中’控制器可估計完成時間。該估計係部 刀土 、在錯存裝置上應用的預期自動記憶體操作,盆包括 疋未偽限於)-預期耗損平衡操作、垃圾收集操作、電 操作、重組操作等。該估計亦部分基於在儲存 接收儲存令子區域的屬性。在步驟48執行期間,當 前'nt,爱健存操作開始之後'在起始储存操作之 門^ 閒置時,該控制器可開始估計完成時 沖岳丨。„始儲存操作之前,控制11可完成估計完成時間。 :工1盗係部分基於在儲存裝置上應用的預期自動記憶體 隼=估計完成時間,例如一預期耗損平衡操作、垃圾收 2作、電源故障保護操作、或重組操作。控制器亦可部 二土於储存敦置的非揮發性記憶體的特定儲存區域的屬^Include the current position of the magnetic column needle, the flash loss balance state, and so on. Information about the unit can include battery status, processor usage, and more. The controller can estimate the completion time. The estimate is the blade soil, the expected automatic memory operation applied to the faulty device, the basin includes 疋 not falsely limited) - expected wear leveling operation, garbage collection operation, electrical operation, recombination operation, and the like. The estimate is also based in part on the attributes of the sub-area in which the storage order is stored. During the execution of step 48, the current 'nt, after the start of the love operation operation', when the gate of the initial storage operation is idle, the controller can start estimating the completion time. Before the start of the storage operation, the control 11 can complete the estimated completion time. The work 1 is based on the expected automatic memory applied to the storage device = estimated completion time, such as an expected wear leveling operation, garbage collection, power supply Fault protection operation, or reorganization operation. The controller can also be part of the genus of a specific storage area for storing non-volatile memory.

、儲存操作的型態及/或有關儲存操作的資 完成時間。 〜0 «I 在最後步驟5〇中 在起始儲存操作之 ’控制器乂供完成時間至主機處理器。 前及/或在從接收儲存命令的一預定義 125785.doc •12· 1378469 時間間隔(例如3 ms、5 ms、5個時脈等)消逝之前,該控制 器可提供此估計的完成時間給該處理器。 本發明的某些特定具體實施例已描述,可瞭解本說明内 容不是限制,因為熟習此項技術者現將瞭解進一步修改, 且其旨係將此類修改涵蓋在文後申請專利範圍的範疇内。 【圖式簡單說明】, the type of storage operation and/or the completion time of the storage operation. ~0 «I In the last step 5〇 The controller is used to start the storage operation for the completion time to the host processor. The controller may provide the estimated completion time of the estimate before and/or before a predetermined 125785.doc •12· 1378469 time interval (eg, 3 ms, 5 ms, 5 clocks, etc.) is received. The processor. The specific description of the present invention has been described, and it is understood that the description is not to be construed as a . [Simple description of the map]

為了要對本發明具體實施例的瞭解,可參考附圖,其中 相同數字在圖中是表示對應的單元或元件,其中: 圖1係描述依據本發明的一第一具體實施例之一儲存裝 置的方塊圖; 圖2 a-2c係示意性表示本發明的各種操作模式; 圖3係描述根據本發明的另一具體實施例之一儲存系 的方塊圖;及 ή 圖4係表示根據本發明的具體實施例執行儲存操 ,、 的流程圖。 ’、作方法 【主要元件符號說明】 10 儲存裝置 12 非揮發性記憶體 14 控制器 16 處理器 18 主機 20 健存系統 22 儲存襞置 24 控制器模組 125785.doc -13-In order to understand the specific embodiments of the present invention, reference should be made to the accompanying drawings, in which FIG. 2a-2c are schematic illustrations of various modes of operation of the present invention; FIG. 3 is a block diagram depicting a memory system in accordance with another embodiment of the present invention; and FIG. 4 is a diagram showing a memory system in accordance with another embodiment of the present invention; DETAILED DESCRIPTION A flow chart of performing a storage operation, . </ br> Method [Key component symbol description] 10 Storage device 12 Non-volatile memory 14 Controller 16 Processor 18 Host 20 Health system 22 Storage device 24 Controller module 125785.doc -13-

Claims (1)

1378469 十、申請專利範圍: 第096139734號專利申請案 t文申請專利範圍替換本(ιοί年6月)^卢 1. 一種用於一包含於一主機裝置中的處理器之儲存裝置, 該主機裝置連接至該儲存裝置,該儲存裝置包含: 一非揮發性記憶體;及 一控制器,其操作上係根據來自該處理器的一儲存命 令將資料傳送給該非揮發性記憶體及從該非揮發性記憶 體取出資料, &amp; 其中該控制器係組態以:收集描述該主機裝置之一目 前狀態的主機裝置資料及描述該儲存裝置之一目前狀熊 的儲存裝置資料、基於該主機裝置資料及該儲存裝置資 料以估汁與該儲存命令有關的一儲存操作之一完成時 間、在該儲存命令之接收之後及在_存操作之執行開 始之後開始估計該完㈣間、在該執行結束前完成該估 計、及提供該估計完成時 間給該處理器, 其中該主機裝置資料包含電池狀態及目前處理器使用 之至少—者,及 2. 3. 4. :中忒儲存裝置資料包含預期自動記憶體操作。 之儲存裝置’其中該控制器操作上係僅當該 儲存裝置閒置時,執行wuw 預設時間之前,&amp; μ ^ 楗供該估計的完成時間給該處理器。 如請求項1之神+ # ° 儲存裝置^ 置,其巾該㈣器操作上係僅當該 二間置時執行計算以估計該完成時間。 :求項1之儲存裝置’其中該控制器操 收該儲存命八 F上係在從接 7的—預定義時間間隔消逝之前,提供該估 125785-10106I2.doc 1378469 计的完成時間。 如請求項1之健存裝置,其中該控制器操作 存裝置閒置時,開始估計該完成時間。 如請求们之儲存裝置’其中該控制 於一預期祕平衡操㈣估相完成時卩0卜 部分基 如請求t之儲存裝置,其中該控制器操作上 於-預期垃圾收集操作來估計該完成時間。、… 如請求W之儲存裝置,其中該控制器操作 於一預期電源故障保護操作來估計該完成時門、… 9.如請求項1之儲存裝置,其中該控制器操作上係部分基 於一預期重組操作來估計該完成時間。 1〇.如請求項1之儲存裝置’其中該控制器操作上係部分基 於在該儲存裝置上的-特定料區域的_心來 完成時間。 ~ U.如請求項1之儲存襞置,纟中該非揮發性記憶體係一快 閃記憶體。 ' 5. 6. 8. 上係當該儲1378469 X. Patent Application Range: Patent Application No. 096,139, 734 Patent Application Serial No. PCT Application No. PCT Application No. PCT Application No. PCT Application No. Connecting to the storage device, the storage device comprising: a non-volatile memory; and a controller operatively transmitting data to and from the non-volatile memory according to a storage command from the processor Memory fetching data, &amp; wherein the controller is configured to: collect information on the host device describing the current state of one of the host devices, and store the device data of the current bear of the storage device, based on the host device data and The storage device data is estimated to be one of a storage operation related to the storage command, after the storage command is received, and after the execution of the storage operation begins to estimate the completion (four), before the execution ends Estimating and providing the estimated completion time to the processor, wherein the host device data includes a battery status and At least prior to use of the processor - who, 2 and 3. 4.: data storage means in te memory contains the expected automatic operation. The storage device 'where the controller is operatively only when the storage device is idle, before the wuw preset time is executed, &amp; μ ^ 楗 is provided to the processor for the estimated completion time. As in the request item 1, the god + # ° storage device, the wiper (4) is operationally performed only when the two interpositions are performed to estimate the completion time. The storage device of claim 1 wherein the controller operates the storage terminal F before the predetermined time interval elapses from the connection 7 provides the completion time of the estimate 125785-10106I2.doc 1378469. The life saving device of claim 1, wherein the controller operates to estimate the completion time when the memory device is idle. If the storage device of the requester is controlled by a prospective secret balancing operation (4), the storage device is partially based on the request t, wherein the controller operates on the anticipatory garbage collection operation to estimate the completion time. . The storage device of the request W, wherein the controller operates on an expected power failure protection operation to estimate the completion time gate, ... 9. The storage device of claim 1, wherein the controller operating portion is based on an expectation A reorganization operation is used to estimate the completion time. The storage device of claim 1, wherein the controller operates the upper portion based on the _ heart of the specific material region on the storage device to complete the time. ~ U. As in the storage device of claim 1, the non-volatile memory system is a flash memory. ' 5. 6. 8. The upper line is the reserve 12. —種用於一主機之一處理器之儲存系統其包含: 一儲存裝置,其具有一非揮發性記憶體;及 一控制器模組,其操作上係根據來自該處理器的一儲 存命令以傳送資料至該非揮發性記憶體及從該非揮發性 記憶體取出資料, 其中該控制器係經組態以:收集描述該主機裝置之一 目前狀態的主機裝置資料及描述該儲存裝置之一目前狀 態的儲存裝置資料' 基於該主機裝置資料及該儲存裝置 125785-1010612.doc 1378469 料以料與該料命令有關的-料操作— 間、在_存命令之接收之後及 —完成時 始之後開始估計該完成時間、在該執行執行開 計、及提供該估計完成時間給該處理I ^成該估 :::機rf料包含f池狀態及目前處理器使用12. A storage system for a processor of a host, comprising: a storage device having a non-volatile memory; and a controller module operatively based on a storage from the processor Commanding to transfer data to and from the non-volatile memory, wherein the controller is configured to: collect information describing the current state of one of the host devices and describe one of the storage devices The current state of the storage device data 'based on the host device data and the storage device 125785-1010612.doc 1378469 is expected to be related to the material command - after the receipt of the _ memory command and after the completion Starting to estimate the completion time, performing the execution calculation at the execution, and providing the estimated completion time to the process I ^ to the estimate::: rf material contains f pool status and current processor usage 其中該儲存裝置資料包含預期自動記憶 13_如請求項12之儲存系統,其中該控制器模組操作上传僅 :該儲存裝置閒置時,執行計算以估計該完:、 ^預設時間之前,提供該估計的完成_給該處理 14. 15. 如請求項12之儲存系統 當該儲存裝置閒置時, 如請求項12之儲存系統 主機。 ,其中該控制器模組操作上係僅 執行計算以估計該完成時間。 ,其中該控制器模組係駐留在該 m 16·如請求項12之儲存系、統,其中該控制器模組操作上係在 從接收該时命令的預定義時《I;肖逝之前,提供 該估計的完成時間。 17_如請求項12之儲存系統,其中該控制器模組操作上係當 該儲存裝置閒置時,開始估計該完成時間。 18. 如請求項12之儲存系統,其中該控制器模組操作上係部 分基於一預期損耗平衡操作來估計該完成時間。 19. 如請求項12之儲存系統,其中該控制器模組操作上係部 分基於-預期垃圾收集操作來估計該完成時間。 125785-1010612.doc 1378469 20. 21. 22. 23. 如清求項12之儲存系統,其中該控制器模組操作上係部 刀基於預期電源故障保護操作來估計該完成時間。 如清求項12之儲存系統,纟中該控制器模組操作上係部 分基於一預期重組操作來估計該完成時間。 如請求項12之儲存系統,其中該控制器模組操作上係部 分基於在該儲存裝置的一特定儲存區域的一屬性來估 該完成時間。 如請求項12之㈣线,其中該非揮發性記憶體係 閃記憶體。 I25785-I010612.docThe storage device data includes an expected automatic memory 13_such as the storage system of the request item 12, wherein the controller module operates to upload only: when the storage device is idle, perform calculation to estimate the completion:, ^ before the preset time, provide The completion of the estimate is given to the process 14. 15. The storage system of claim 12 when the storage device is idle, such as the storage system host of claim 12. Wherein the controller module is operatively performing only calculations to estimate the completion time. The controller module resides in the storage system of the request item 12, wherein the controller module is operatively pre-defined from the time when the command is received. Provide the estimated completion time. 17_ The storage system of claim 12, wherein the controller module is operative to begin estimating the completion time when the storage device is idle. 18. The storage system of claim 12, wherein the controller module operational portion estimates the completion time based on an expected wear leveling operation. 19. The storage system of claim 12, wherein the controller module operational portion estimates the completion time based on an expected garbage collection operation. 125. The method of claim 12, wherein the controller module operates the upper knives to estimate the completion time based on an expected power failure protection operation. For example, in the storage system of claim 12, the controller module operating portion estimates the completion time based on an expected reorganization operation. The storage system of claim 12, wherein the controller module operational portion estimates the completion time based on an attribute of a particular storage area of the storage device. As in line (4) of claim 12, wherein the non-volatile memory system is flash memory. I25785-I010612.doc
TW96139734A 2007-07-22 2007-10-23 A method and a storage device estimating a completion time for a storage operation TWI378469B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/781,259 US8117415B2 (en) 2006-09-18 2007-07-22 Storage device estimating a completion time for a storage operation
US11/781,260 US7930507B2 (en) 2006-09-18 2007-07-22 Method of providing to a processor an estimated completion time of a storage operation

Publications (2)

Publication Number Publication Date
TW200905697A TW200905697A (en) 2009-02-01
TWI378469B true TWI378469B (en) 2012-12-01

Family

ID=44764265

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96139734A TWI378469B (en) 2007-07-22 2007-10-23 A method and a storage device estimating a completion time for a storage operation

Country Status (1)

Country Link
TW (1) TWI378469B (en)

Also Published As

Publication number Publication date
TW200905697A (en) 2009-02-01

Similar Documents

Publication Publication Date Title
US7930507B2 (en) Method of providing to a processor an estimated completion time of a storage operation
CN100422967C (en) HDD having both DRAM and flash memory
CN104969168A (en) Persistent storage device with NVRAM for staging writes
CN104461936A (en) Cached data disk brushing method and device
CN109164981B (en) Disk management method, device, storage medium and equipment
JP2010079526A5 (en)
WO2012159394A1 (en) Method and apparatus for managing mobile device memory
US20180129604A1 (en) Storage device and data processing system including the same
KR101455085B1 (en) A method and a storage device estimating a completion time for a storage operation
CN107608828A (en) Method, system, device and the storage medium that data center&#39;s power down recovers automatically
CN108958643A (en) Data storage device and its operating method
KR20180122593A (en) How to delete a cloud host in a cloud computing environment, devices, servers, and storage media
TW201020750A (en) Thin client and thin client wake up method
US20180129416A1 (en) Storage device and data processing system including the same
CN108008917A (en) Storage device and the method for controlling its linking status
Yang et al. On the optimality of greedy garbage collection for ssds
CN109144428A (en) Garbage recycling method, device and medium applied to solid state disk
CN105474182A (en) Storage device supporting periodic writes while in a low power mode for an electronic device
CN105446848B (en) The test method and device of the data processing performance of electronic equipment
US10146623B2 (en) Indicating rebuild state of storage devices
CN108021471A (en) The method of data storage device, data handling system and manufaturing data storage device
TWI378469B (en) A method and a storage device estimating a completion time for a storage operation
CN101087237B (en) A magnetic array share file system and its implementation method
TW200821842A (en) Method and apparatus combining once-writeable and rewriteable information storage to support data processing
CN102402447A (en) Equipment booting method and equipment

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees