CN107506137A - A kind of method for lifting solid state hard disc write performance - Google Patents

A kind of method for lifting solid state hard disc write performance Download PDF

Info

Publication number
CN107506137A
CN107506137A CN201710685121.8A CN201710685121A CN107506137A CN 107506137 A CN107506137 A CN 107506137A CN 201710685121 A CN201710685121 A CN 201710685121A CN 107506137 A CN107506137 A CN 107506137A
Authority
CN
China
Prior art keywords
block
slc
valid data
data amount
mlc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710685121.8A
Other languages
Chinese (zh)
Inventor
郭凌立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ramaxel Technology Shenzhen Co Ltd
Original Assignee
Ramaxel Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ramaxel Technology Shenzhen Co Ltd filed Critical Ramaxel Technology Shenzhen Co Ltd
Priority to CN201710685121.8A priority Critical patent/CN107506137A/en
Publication of CN107506137A publication Critical patent/CN107506137A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses a kind of method for lifting solid state hard disc write performance, it is characterised in that slc cache size is dynamically adjusted according to the size of overall valid data amount dynamic;When totally idle, most of idle mlc/tlc block are converted into slc block;When overall valid data amount is smaller, the idle mlc/tlc block in part are converted into slc block;When overall valid data amount is larger, and when having been over slc cache maximum amount of data, slc block will be gradually reduced, part slc block are reverted into mlc/tlc block.Pass through the dynamic slc block switching modes based on overall valid data amount (Total Valid Page Count), valid data amount is actually written into according to actual user, to adjust slc block quantity, use of the solid state hard disc to slc block can be effectively improved.

Description

A kind of method for lifting solid state hard disc write performance
Technical field
The present invention relates to solid state hard disc control technology, the method for more particularly to lifting solid state hard disc write performance.
Background technology
Solid storage device with slc cache be exactly in the solid state hard disc of mlc/tlc types in order to lift writing rate, Part mlc/tlc is marked off into partial-partition and is converted to slc, as data buffer storage, due to slc compared to mlc/tlc with more Excellent write performance, essence are exactly to pass through space for time.In existing band slc cache solid storage device, slc cache Size it is related with slc block quantity;Because mlc/tlc block switch to slc block to cause block capacity Reduce, increase slc block quantity by switching more mlc/tlc block, the reduction of physical capacity, institute can be caused With in general band slc cache solid state hard discs, slc block negligible amounts and it is relative be it is fixed, can not maximum limit The characteristic using slc of degree.Fig. 1 is the stream compression figure using static slc cache modes;When slc cache have vacant, Host data writes slc cache, when slc cache data write full, in host data write-in mlc.Because mlc block are cut Being changed to slc block can cause capacity to reduce, therefore slc cache size is smaller.
The content of the invention
For disadvantages described above, the present invention seeks to how the significantly more efficient use for improving solid state hard disc to slc block, Realize the purpose for improving solid state hard disc write performance.
A kind of method for lifting solid state hard disc write performance is proposed in order to solve the problem above present invention, it is characterised in that dynamic State adjusts slc cache size according to the size dynamic of overall valid data amount;, will be most of idle when totally idle Mlc/tlc block are converted to slc block;When overall valid data amount is smaller, the idle mlc/tlc block in part are turned It is changed to slc block;, will be by when overall valid data amount is larger, and when having been over slc cache maximum amount of data Decrescence small slc block, part slc block are reverted into mlc/tlc block.
The method of described lifting solid state hard disc write performance, it is characterised in that be dynamically determined slc block according to the following rules Quantity n;n<(MN-CH)/(M-m);Overall valid data amount (TotalValidPageCount) is C, and slc block are single Capacity be m, mlc/tlc block single capacity is M, and total block numbers are N, wherein slc block quantity totally For n, because physical capacity have to be larger than actual valid data amount, it is assumed that physics minimum value must be the H of valid data capacity Times, wherein H > 1.
The present invention passes through the dynamic slc based on overall valid data amount (Total Valid Page Count) Block switching modes, valid data amount is actually written into according to actual user, can be effective to adjust slc block quantity Improve use of the solid state hard disc to slc block.
Brief description of the drawings
Fig. 1 is the stream compression figure using static slc cache modes;
Fig. 2 is whole idle dynamic slc cache schematic diagrams of circling or whirl in the air;
Dynamic slc cache schematic diagrams when Fig. 3 is with low volume data;
Fig. 4 is dynamic slc cache schematic diagrams when valid data are more.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The present embodiment according to overall valid data amount (Total Valid Page Count) by dynamically entering Mobile state Adjustment slc size.
Overall valid data amount record totally in whole mapping table and effectively count by effective data weight, the records of values According to total amount, when electric in whole system, travel through whole mapping table and initialize the numerical value.The numerical value updates with the operation of system, Record effective mapping total amount in current mapping table.
Fig. 2 is whole idle dynamic slc cache schematic diagrams of circling or whirl in the air, and is described under dynamic slc cache modes totally Idle state, now overall valid data amount (Total Valid Page Count) is 0, and by most of mlc block Be converted to slc block.
Dynamic slc cache schematic diagrams when Fig. 3 is with low volume data, when host data writes, write first In slc cache, when overall valid data amount (Total Valid Page Count) is smaller, by existing slc Cache can meet storage host data, therefore slc block need not be switched to mlc block.
Fig. 4 is dynamic slc cache schematic diagrams when valid data are more, in overall valid data amount (Total Valid Page Count) it is larger when, slc cache maximum amount of data is had been over, now by moving slc Block data-moving is converted to mlc block to increase memory space into mlcblock, while by slc block Storage host data.By with upper type, ensure that less in overall valid data amount (Total Valid Page Count) When, the performance of the solid storage device can accomplish pure slc particulates' properties, as overall valid data amount (Total Valid Page Count) it is larger when, and can enough provides enough memory spaces to store the data.
Slc block quantity can pass through with the relation of overall valid data amount (Total Valid Page Count) Equation below obtains.Assuming that overall valid data amount (Total Valid Page Count) is C, appearance single slc block To measure as m, mlc/tlc block single capacity is M, and total block numbers are N totally, and wherein slc block quantity is n, Because physical capacity have to be larger than actual valid data amount, it is assumed that physics minimum value must be H times of valid data capacity, can It is as follows with C relation to obtain n:n<(MN-CH)/(M-m);
After grain type and the solid state hard disc composition given in above-mentioned formula, M, N, m are fixed value, and H is the same as the disk Design write amplification etc. correlation, be traditionally arranged to be the fixed value more than 1.Therefore what can be apparent from obtains the slc block of maximum Quantity.
The above disclosed interest field for being only an embodiment of the present invention, sheet can not being limited with this certainly, One of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to the claims in the present invention institute The equivalent variations of work, still fall within the scope that the present invention is covered.

Claims (2)

  1. A kind of 1. method for lifting solid state hard disc write performance, it is characterised in that dynamically according to the size of overall valid data amount dynamic Adjust slccache size;When totally idle, most of idle mlc/tlc block are converted into slc block;When complete When disk valid data amount is smaller, the idle mlc/tlc block in part are converted into slc block;When overall valid data amount compared with When big, and when having been over slc cache maximum amount of data, slc block will be gradually reduced, by part slc block Revert to mlc/tlc block.
  2. 2. the method for lifting solid state hard disc write performance according to claim 1, it is characterised in that dynamic is true according to the following rules Determine slc block quantity n;n<(MN-CH)/(M-m);Overall valid data amount (Total Valid Page Count) is C, Capacity single slc block is m, and mlc/tlc block single capacity is M, and total block numbers are N totally, wherein Slc block quantity is n, because physical capacity have to be larger than actual valid data amount, it is assumed that physics minimum value must be H times of valid data capacity, wherein H > 1.
CN201710685121.8A 2017-08-11 2017-08-11 A kind of method for lifting solid state hard disc write performance Pending CN107506137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710685121.8A CN107506137A (en) 2017-08-11 2017-08-11 A kind of method for lifting solid state hard disc write performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710685121.8A CN107506137A (en) 2017-08-11 2017-08-11 A kind of method for lifting solid state hard disc write performance

Publications (1)

Publication Number Publication Date
CN107506137A true CN107506137A (en) 2017-12-22

Family

ID=60690731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710685121.8A Pending CN107506137A (en) 2017-08-11 2017-08-11 A kind of method for lifting solid state hard disc write performance

Country Status (1)

Country Link
CN (1) CN107506137A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228478A (en) * 2018-01-05 2018-06-29 湖南国科微电子股份有限公司 A kind of raising method and device of SSD write performances
CN109582227A (en) * 2018-11-15 2019-04-05 深圳忆联信息系统有限公司 Method, apparatus, computer equipment and storage medium is written in solid state hard disk
CN109815166A (en) * 2018-12-28 2019-05-28 深圳市德名利电子有限公司 A kind of the dynamic recovery and treatment method and storage device of storing data
CN110209356A (en) * 2019-06-03 2019-09-06 深圳忆联信息系统有限公司 A kind of method and its system improving SSD readwrite performance
CN110427158A (en) * 2019-07-29 2019-11-08 浙江大华技术股份有限公司 The wiring method and solid state hard disk of solid state hard disk
CN111081284A (en) * 2018-10-19 2020-04-28 合肥沛睿微电子股份有限公司 Memory device and control method
CN111142790A (en) * 2019-12-10 2020-05-12 北京金山云网络技术有限公司 Method and device for controlling disk write request, electronic equipment and storage medium
CN111913662A (en) * 2020-07-29 2020-11-10 深圳忆联信息系统有限公司 SLC (Single chip computer) writing performance improving method and device, computer equipment and storage medium
WO2021196956A1 (en) * 2020-03-30 2021-10-07 华为技术有限公司 Solid-state drive management method and solid-state drive
CN113515230A (en) * 2020-04-10 2021-10-19 宏碁股份有限公司 Data writing method and storage controller
WO2022120517A1 (en) * 2020-12-07 2022-06-16 Micron Technology, Inc. Techniques to reduce write amplification
TWI815457B (en) * 2021-05-20 2023-09-11 新加坡商聯想(新加坡)私人有限公司 Method of manufacturing information processing apparatus and mobile computer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473140A (en) * 2009-07-17 2012-05-23 株式会社东芝 Memory management device
CN102591807A (en) * 2011-12-30 2012-07-18 记忆科技(深圳)有限公司 Processing method for power down and abnormal writing of solid state disc and system
CN102591748A (en) * 2011-12-29 2012-07-18 记忆科技(深圳)有限公司 Solid state disc and power failure protection method and system thereof
CN106170773A (en) * 2014-01-09 2016-11-30 桑迪士克科技有限责任公司 On naked core, the selectivity of buffer-type nonvolatile memory returns and copies
CN106843762A (en) * 2017-01-17 2017-06-13 北京联想核芯科技有限公司 The method and solid state hard disc of managing storage area

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473140A (en) * 2009-07-17 2012-05-23 株式会社东芝 Memory management device
CN102591748A (en) * 2011-12-29 2012-07-18 记忆科技(深圳)有限公司 Solid state disc and power failure protection method and system thereof
CN102591807A (en) * 2011-12-30 2012-07-18 记忆科技(深圳)有限公司 Processing method for power down and abnormal writing of solid state disc and system
CN106170773A (en) * 2014-01-09 2016-11-30 桑迪士克科技有限责任公司 On naked core, the selectivity of buffer-type nonvolatile memory returns and copies
CN106843762A (en) * 2017-01-17 2017-06-13 北京联想核芯科技有限公司 The method and solid state hard disc of managing storage area

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228478A (en) * 2018-01-05 2018-06-29 湖南国科微电子股份有限公司 A kind of raising method and device of SSD write performances
CN111081284A (en) * 2018-10-19 2020-04-28 合肥沛睿微电子股份有限公司 Memory device and control method
CN109582227B (en) * 2018-11-15 2022-01-21 深圳忆联信息系统有限公司 Solid state disk writing method and device, computer equipment and storage medium
CN109582227A (en) * 2018-11-15 2019-04-05 深圳忆联信息系统有限公司 Method, apparatus, computer equipment and storage medium is written in solid state hard disk
CN109815166A (en) * 2018-12-28 2019-05-28 深圳市德名利电子有限公司 A kind of the dynamic recovery and treatment method and storage device of storing data
CN109815166B (en) * 2018-12-28 2020-10-09 深圳市德明利技术股份有限公司 Dynamic recovery processing method of stored data and storage device
CN110209356A (en) * 2019-06-03 2019-09-06 深圳忆联信息系统有限公司 A kind of method and its system improving SSD readwrite performance
CN110427158A (en) * 2019-07-29 2019-11-08 浙江大华技术股份有限公司 The wiring method and solid state hard disk of solid state hard disk
CN110427158B (en) * 2019-07-29 2023-06-20 浙江华忆芯科技有限公司 Writing method of solid state disk and solid state disk
CN111142790A (en) * 2019-12-10 2020-05-12 北京金山云网络技术有限公司 Method and device for controlling disk write request, electronic equipment and storage medium
CN111142790B (en) * 2019-12-10 2023-07-07 北京金山云网络技术有限公司 Control method and device for disk write request, electronic equipment and storage medium
WO2021196956A1 (en) * 2020-03-30 2021-10-07 华为技术有限公司 Solid-state drive management method and solid-state drive
CN113515230A (en) * 2020-04-10 2021-10-19 宏碁股份有限公司 Data writing method and storage controller
CN113515230B (en) * 2020-04-10 2023-11-14 宏碁股份有限公司 Data writing method and memory controller
CN111913662A (en) * 2020-07-29 2020-11-10 深圳忆联信息系统有限公司 SLC (Single chip computer) writing performance improving method and device, computer equipment and storage medium
CN111913662B (en) * 2020-07-29 2023-07-04 深圳忆联信息系统有限公司 SLC writing performance improving method and device, computer equipment and storage medium
WO2022120517A1 (en) * 2020-12-07 2022-06-16 Micron Technology, Inc. Techniques to reduce write amplification
US11899938B2 (en) 2020-12-07 2024-02-13 Micron Technology, Inc. Techniques to reduce write amplification
TWI815457B (en) * 2021-05-20 2023-09-11 新加坡商聯想(新加坡)私人有限公司 Method of manufacturing information processing apparatus and mobile computer

Similar Documents

Publication Publication Date Title
CN107506137A (en) A kind of method for lifting solid state hard disc write performance
US10127157B2 (en) Sizing a cache while taking into account a total bytes written requirement
CN108108128A (en) A kind of abrasion equilibrium method and SSD for mixing SSD
EP3493066B1 (en) Apparatus and method to provide cache move with non-volatile mass memory system
US20120159053A1 (en) Storage apparatus, memory area managing method thereof, and flash memory package
CN101819509A (en) Solid state disk read-write method
CN103257935A (en) Cache management method and application thereof
TW200608198A (en) Non-volatile memory cache performance improvement
CN107273304A (en) A kind of method and solid state hard disc for improving solid state hard disc order reading performance
CN108762671A (en) Mixing memory system and its management method based on PCM and DRAM
CN104679440B (en) A kind of flash memory array management method and device
CN101526886B (en) Data operating method of redundant arrays of independent disk and device
CN103049216A (en) Solid state disk and data processing method and system thereof
TW201239619A (en) Writing method of a flash memory and flash memory device
CN108845957B (en) Replacement and write-back self-adaptive buffer area management method
CN107291381A (en) The implementation method and solid state hard disc of a kind of dynamic accelerating region of solid state hard disc
CN107832007A (en) A kind of method of raising SSD combination properties
CN107844432A (en) A kind of method and solid state hard disc of solid state hard disc dynamic garbage reclamation
CN102609358B (en) Method for aggregating static data and solid-state disk thereof
CN105389135A (en) Solid-state disk internal cache management method
CN107562644A (en) A kind of compression method of solid-state hard disc mapping table
CN107908358A (en) A kind of method of reduction NVMe solid state disk writes amplification
WO2018024214A1 (en) Io flow adjustment method and device
US10083117B2 (en) Filtering write request sequences
CN102637148A (en) DDR SDRAM (double data rate synchronous dynamic random-access memory) based stacked data caching device and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171222