Unlock instant, AI-driven research and patent intelligence for your innovation.

Server solid state disk storage method and device

A technology of solid-state hard disk and storage device, applied in the field of server solid-state hard disk storage method and device, to achieve the effect of ensuring stable realization

Inactive Publication Date: 2019-05-24
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In some high-frequency access application scenarios, such as LOG recording of the operating system, audio and video file editing, etc., the SSD will be repeatedly read and written at high frequency. In this case, the actual life of the SSD will be affected. challenge

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Server solid state disk storage method and device
  • Server solid state disk storage method and device
  • Server solid state disk storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Such as figure 1 As shown, the embodiment of the present invention provides a server solid-state hard disk storage method, and the method includes:

[0034] S1: Establish a hard disk P / E query mechanism, and regularly query the hard disk P / E value. The implementation principle of this step is as follows:

[0035] 1) Establish a daily PE query mechanism:

[0036] / sbin / service crond start; start the service and start the periodic daemon process;

[0037] cat / etc / crontab;

[0038] SHELL= / bin / bash;

[0039] PATH= / sbin: / bin: / usr / sbin: / usr / bin;

[0040] MAILTO=HOME= / ;

[0041] 0023 *** root root ssdpe.

[0042] 2) Query the PE value of the hard disk group

[0043] vim ssdpe.sh

[0044] ssdlist=${lsscsi|grep sd}; query to list all SSDs;

[0045] for ssd in ${ssdlist}; query the P / E of SSD;

[0046] do

[0047] smartctl-a-d sat+megaraid,27 / dev / sdb1-s on|grep Wear_Levelling_Count>>PE.TXT; write the P / E values ​​of all SSD hard disks into text PE.TXT;

[0048] Done...

Embodiment 2

[0059] Such as image 3 As shown, the embodiment of the present invention provides a server solid-state hard disk storage method, and the method includes:

[0060] S1: Establish a hard disk P / E query mechanism, and regularly query the hard disk P / E value. The implementation principle of this step is as follows:

[0061] 1) Establish a daily PE query mechanism:

[0062] / sbin / service crond start; start the service and start the periodic daemon process;

[0063] cat / etc / crontab;

[0064] SHELL= / bin / bash;

[0065] PATH= / sbin: / bin: / usr / sbin: / usr / bin;

[0066] MAILTO=HOME= / ;

[0067] 0023 *** root root ssdpe.

[0068] 2) Query the PE value of the hard disk group

[0069] vim ssdpe.sh

[0070] ssdlist=${lsscsi|grep sd}; query to list all SSDs;

[0071] for ssd in ${ssdlist}; query the P / E of SSD;

[0072] do

[0073] smartctl-a-d sat+megaraid,27 / dev / sdb1-s on|grep Wear_Levelling_Count>>PE.TXT; write the P / E values ​​of all SSD hard disks into text PE.TXT;

[0074] Done...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a server solid state disk storage method and device, and the method comprises the steps: S1, building a hard disk P / E query mechanism, and periodically querying a hard disk P / Evalue; S2, judging whether the P / E value of the hard disk is higher than a first threshold value or not, if not, the hard disk is used for storing cache data, and if yes, the hard disk is used for storing permanent data. The device comprises a P / E value query module used for querying P / E values of a hard disk at regular intervals; The first threshold comparison module is used for judging whether the P / E value of the hard disk is higher than a first threshold or not, if not, the hard disk is used for storing cache data, and if yes, the hard disk is used for storing permanent data. The hard diskis stored and adjusted by detecting the P / E value, and the service life of the hard disk is prolonged.

Description

technical field [0001] The invention relates to the field of servers and storage, and more specifically, to a server solid-state hard disk storage method and device. Background technique [0002] Solid state hard disk is an electronic storage hard disk composed of a control unit and a solid state storage unit (DRAM or FLASH chip). Due to the advantages of large size and light weight, solid-state drives are widely used in occasions that require high storage speed and density. [0003] However, the flash memory of the solid-state disk has the problem of the limit of the number of erasing and writing. A complete erasing of the flash memory is called 1 P / E, so the life of the flash memory is based on P / E. The lifetime of a 34nm flash chip is about 5,000 P / Es, while the lifetime of a 25nm flash memory chip is about 3,000 P / Es. In some high-frequency access application scenarios, such as LOG recording of the operating system, audio and video file editing, etc., the SSD will be r...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/06
Inventor 李怀友白云峰
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD