摘要 |
Method and apparatus for improving system performance using controlled speculative write prefetching in systems that use command queuing. Speculative write prefetching can be forced on or off, or a determination can be made regarding the benefit versus detriment of speculative write prefetching. The state of the queue switch can be used to determine if speculative write prefetching is to be performed. The state of the queue switch can be set by a queue counter that tracks over time whether speculative write prefetching is or is not beneficial. The content of the queue counter can be controlled by incrementing its value if speculative write prefetching helped and decrementing that value if speculative write prefetching did not help.
|