The invention discloses a method and a device for optimizing a
retransmission timeout timer in a cluster storage
system. The method comprises the steps of configuring a core
clock with the preset precision for the cluster storage
system, and acquiring an estimated value of the
retransmission timeout timer according to a sampling value of the reciprocation
delay time; and adjusting a value of the
retransmission timeout timer in the cluster storage
system on the basis of the core
clock with the preset precision and applying the estimated value of the
retransmission timeout timer. According to invention, the cluster storage system is configured with the core
clock timer whose precision is at least at a
microsecond level so as to set the precision of the
retransmission timeout timer to be the
microsecond level precision which is the same as that of the reciprocation
delay time. Meanwhile, an appropriate
estimation method is selected according to the sampling value of the reciprocation
delay time and the clustering scale of the cluster storage system to acquire the estimated value of the
retransmission timeout timer, thereby selecting an optimized estimated value of the timeout timer to balance influences imposed on the
utilization rate of user bandwidth by forged retransmission and transmission timeout.