摘要 |
一种防超时方法应用于资料处理系统中,资料处理系统包含磁碟模组,防超时方法包括下列步骤:将该磁碟模组之总容量设定为多数个虚拟磁碟容量,该些虚拟磁碟容量各自具有一指令暂存序列,用以暂存该些虚拟磁碟容量各自的操作指令;选取该些指令暂存序列其中一个,并处理被选取之该指令暂存序列中的操作指令;计算被选取之该指令暂存序列所连续处理之一连续操作总值;以及,若连续处理之该连续操作总值超过一定义门槛值,则选取该些指令暂存序列中另一个。; selecting one of the instruction-storing queues, and processing the instructions within the selected instruction-storing queue; calculating a continuous operating count of the selected instruction-storing queue have been processed continuously; and, selecting another one of the instruction-storing queues if the continuous operating count exceeds a predetermined threshold value. |