Patent ID: 7971023

Claim:
A method for maintaining the performance of a portable flash memory storage device which includes a set of device configuration settings, a non-volatile memory, the method comprising: establishing a first latency threshold level and a second latency threshold level; associating a first set of operating parameters with the first latency threshold level and a second set of operating parameters with the second latency threshold level; collecting and storing in real-time a group of performance statistics for the memory system; calculating a current latency level; comparing, dynamically, the current latency level with the first latency threshold level and the second latency threshold level; and adjusting the set of device configuration settings based on the first set of operating parameters if the current latency level is greater than or equal to the first latency threshold, and adjusting the set of device configuration settings based on the second set of operating parameters if the current latency level is greater than or equal to the second latency threshold.