A kind of page frame replacement method towards nand flash memory
暂无分享,去创建一个
The invention discloses a kind of page frame replacement method towards nand flash memory, belong to field of data storage.The present invention uses cold clean page chained list and other mixing page chained lists to manage cold clean page and other caching page respectively, also uses the metadata information of the caching page that reserved ghost page chain table record is eliminated in the recent period;Process access to web page time first initialize, if this page other mixing page chained lists or cold clean page chained list in hit, then by this page marker be hot page and move to other mixing page chained lists nearest accessed end;If this page hits at ghost page chained list, then delete the record of this page in ghost page chained list, distribute a new caching page for this page and be labeled as hot page, then this page is moved to the nearest accessed end of other mixing page chained lists;Finally judge this page if read/write requests, then by data read-out/write caching page and return.The method of the present invention solves the technical problem as far as possible maintaining preferable cache hit rate while reducing flash memory write operation.