发明名称 Method and apparatus for performing a high speed binary search in time critical environments
摘要 A hardware assisted searching mechanism is provided that offloads the processor from searching operations. In a preferred embodiment, the hardware assisted searching mechanism performs a binary search of an associated 32 bit register against a binary search table that is set up by the firmware of the storage system. From this binary search table, an index into other structures stored in firmware is obtained that may be used to identify a target device. For example, when a search is to be performed due to receipt of an I/O operation, the firmware, i.e. software instructions stored in the persistent memory chip that are executed by the system processor, writes a 32 bit value to a hardware register that is used by the hardware assisted searching mechanism of the present invention. The hardware assisted searching mechanism performs a binary search of a binary search table based on the contents of the hardware register and returns an index of the entry in another hardware register. This index is then used to index into a storage device mapping structure stored in the firmware that are indexed in the same manner as the binary search table. The index provides a starting point in the storage device mapping structure and from this starting point, the logical unit number is used to identify a particular storage array and logical unit number for the destination of the I/O operation.
申请公布号 US2004117596(A1) 申请公布日期 2004.06.17
申请号 US20020316339 申请日期 2002.12.11
申请人 HENRY RUSSELL J.;WEBER BRET S.;GATES DENNIS E.;KLOEPPNER JOHN R.;HOLT KEITH WILLIAM 发明人 HENRY RUSSELL J.;WEBER BRET S.;GATES DENNIS E.;KLOEPPNER JOHN R.;HOLT KEITH WILLIAM
分类号 G06F3/06;G06F12/00;(IPC1-7):G06F12/00 主分类号 G06F3/06
代理机构 代理人
主权项
地址