Processing system, processing method, and program

The processing system dynamically adjusts the degeneration threshold based on data inconsistency to manage disk errors, enhancing storage system resilience and efficiency.

JP2025159915APending Publication Date: 2025-10-22NEC CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024062774
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2025-10-22

AI Technical Summary

Technical Problem

There is a demand for a technique that can dynamically adjust an appropriate degeneration threshold in storage systems to manage data inconsistency and disk errors effectively.

Method used

A processing system and method that includes a determination unit to assess the dirty amount of data inconsistency between cache and disk, and an adjustment unit to dynamically adjust the degeneration threshold based on this assessment, particularly when a disk error occurs.

Benefits of technology

Enables dynamic adjustment of the degeneration threshold to manage disk errors and data inconsistency, ensuring efficient data handling and storage management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025159915000001_ABST
    Figure 2025159915000001_ABST
Patent Text Reader

Abstract

To provide a processing system which can dynamically adjust a proper degeneration threshold value.SOLUTION: A processing system according to the present invention has: a determination unit for, when a disk error occurs on a disk, determining whether or not a Dirty amount as a data amount indicating that a cache and data of the disk are not matched with each other has a predetermined value or larger; and an adjustment unit for, based on a determination result of the determination unit, adjusting a degeneration threshold value for use in determination of whether or not the degeneration should be carried out.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a processing system, a processing method, and a program. [Background technology]

[0002] As computers become more powerful, the number of accesses to storage devices is increasing. Patent Document 1 discloses a related technology relating to a storage control device. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 2018-190055 Summary of the Invention [Problem to be solved by the invention]

[0004] In the technical field related to storage such as that of Patent Document 1, there is a demand for a technique that can dynamically adjust an appropriate degeneration threshold.

[0005] One of the objectives of each aspect of the present disclosure is to provide a processing system, a processing method, and a program that can solve the above-mentioned problems. [Means for solving the problem]

[0006] According to one aspect of the present disclosure, a processing system includes a determination unit that determines whether a dirty amount, which is the amount of data in which the cache and the disk data are inconsistent, is greater than or equal to a certain value when a disk error occurs on the disk, and an adjustment unit that adjusts a degeneration threshold for determining whether to perform degeneration based on the determination result by the determination unit.

[0007] According to another aspect of the present disclosure, a processing method includes, when a disk error occurs on a disk, determining whether a dirty amount, which is the amount of data in which the cache and the disk data are inconsistent, is equal to or greater than a certain value, and adjusting a degeneration threshold for determining whether to perform degeneration based on the determination result.

[0008] According to another aspect of the present disclosure, the program causes a computer to, when a disk error occurs on a disk, determine whether a dirty amount, which is the amount of data in which the cache and the disk data are inconsistent, is equal to or greater than a certain value, and adjust a degeneration threshold for determining whether to perform degeneration based on the determination result. [Effects of the Invention]

[0009] According to aspects of the present disclosure, an appropriate degeneration threshold can be dynamically adjusted. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 illustrates an example of a configuration of a processing system according to some embodiments of the present disclosure. [Figure 2] FIG. 2 illustrates an example of a configuration of a cache control unit according to some embodiments of the present disclosure. [Figure 3] FIG. 1 is a diagram illustrating an example of a processing flow of a processing system according to some embodiments of the present disclosure. [Figure 4] FIG. 1 illustrates an example of a configuration of a processing system according to some embodiments of the present disclosure. [Figure 5] FIG. 1 is a diagram illustrating an example of a processing flow of a processing system according to some embodiments of the present disclosure. [Figure 6] FIG. 1 is a schematic block diagram illustrating the configuration of a computer according to at least one embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0011] Hereinafter, the embodiments will be described in detail with reference to the drawings. <Embodiment> A processing system 1 according to an embodiment of the present disclosure will be described with reference to the drawings. The processing system 1 is a system that can dynamically adjust an appropriate degeneration threshold.

[0012] (Configuration of the processing system of the present disclosure) 1 is a diagram illustrating an example of a configuration of a processing system 1 according to some embodiments of the present disclosure. As shown in FIG. 1, the processing system 1 according to an embodiment of the present disclosure includes a host 10 and a storage 20.

[0013] The host 10 transmits and receives data to and from the storage 20 .

[0014] 1, the storage 20 includes a cache control unit 201 and disks 202a and 202b. The disks 202a and 202b may be collectively referred to as disks 202.

[0015] 2 is a diagram illustrating an example of the configuration of a cache control unit 201 according to some embodiments of the present disclosure. The cache control unit 201 is a processing unit that monitors a cache 2011 and a dirty amount. As shown in FIG. 2, the cache control unit 201 includes a cache 2011, a dirty amount monitoring unit 2012, a degeneration threshold storage unit 2013, and a degeneration threshold determination unit 2014.

[0016] The cache 2011 stores data. The dirty amount monitor 2012 monitors the dirty amount when data is transmitted between the cache control unit 201 and the disk 202. The degeneration threshold storage unit 2013 stores a degeneration threshold. The degeneration threshold can be set to any value by the user. The degeneration threshold determination unit 2014 degenerates the disk 202 when it determines that the dirty amount exceeds the degeneration threshold stored in the degeneration threshold storage unit 2013. Note that the degeneration threshold determination unit 2014 targets the disk 202 for degeneration only if the disk 202 has RAID redundancy, which will be described later.

[0017] Each of the disks 202 constitutes a RAID (Redundancy Array of Independent Disks).

[0018] The above-described processing performed by the processing system 1 according to the embodiment of the present disclosure is merely an example, and the processing system 1 is not limited to the above-described processing. For example, the processing system 1 may perform the processing described below.

[0019] (Processing performed by the processing system of the present disclosure) 3 is a diagram illustrating an example of a processing flow of the processing system 1 according to some embodiments of the present disclosure. Here, a process of adjusting the degeneration threshold according to the dirty amount and dynamically changing the degeneration of the disk performed by the processing system 1 illustrated in FIG. 3 will be described.

[0020] The cache control unit 201 of the storage 20 receives write data from the host 10. Then, the cache control unit 201 writes the data to the cache 2011. The cache control unit 201 writes data from the cache 2011 to the disk 202 by asynchronous background processing. If there is no free space in the cache 2011, the cache control unit 201 cannot receive write data from the host 10. As a result, writing of data from the host 10 to the cache 2011 is delayed. Suppose that a disk error occurs in the disk 202 when data is written from the cache 2011 to the disk 202. When a disk error occurs in the disk 202 (step S1), the dirty amount monitor unit 2012 measures the dirty amount.

[0021] The degeneration threshold determination unit 2014 checks the measurement result of the dirty amount measured by the dirty amount monitor unit 2012. Then, the degeneration threshold determination unit 2014 determines whether the dirty amount exceeds the degeneration threshold (step S2).

[0022] If the degeneration threshold determination unit 2014 determines that the dirty amount exceeds the degeneration threshold (YES in step S2), it subtracts 1 from the degeneration threshold N stored in the degeneration threshold storage unit 2013 to change it to N-1 (step S3). Note that here, an example is shown in which the degeneration threshold N is changed to N-1. However, the amount by which the degeneration threshold N is changed may be set to any value by the user. Furthermore, the amount by which the degeneration threshold N is changed may not only be subtracted, but may also be set to a value determined using all or some of the four four arithmetic operations. Then, the degeneration threshold determination unit 2014 proceeds to the processing of step S5, which will be described later.

[0023] Furthermore, if the degeneration threshold determination unit 2014 determines that the dirty amount does not exceed the degeneration threshold (NO in step S2), it does not change the degeneration threshold N (step S4). The degeneration threshold determination unit 2014 determines whether the number of retries X is equal to or greater than the degeneration threshold N (step S5). The number of retries X indicates the number of times a disk error has occurred consecutively in the disk 202.

[0024] If the number of retries X is less than the degeneration threshold N (NO in step S5), the degeneration threshold determination unit 2014 performs a retry and sets the number of retries X to X+1 (step S6). Then, the degeneration threshold determination unit 2014 determines whether the disk error in the disk 202 has been resolved (step S7).

[0025] If the degeneration threshold determination unit 2014 determines that the disk error has been resolved (YES in step S7), it terminates the process without degenerating the disk 202. If the degeneration threshold determination unit 2014 determines that the disk error has not been resolved (NO in step S7), it returns to the process of step S2.

[0026] Furthermore, if the number of retries X is equal to or greater than the degeneration threshold N (YES in step S5), the degeneration threshold determination unit 2014 performs degeneration of the disk 202 (step S8).

[0027] (advantage) The processing system 1 according to an embodiment of the present disclosure has been described above. In the processing system 1, when a disk error occurs in a disk, the degeneration threshold determination unit 2014 (an example of a determination unit) determines whether the dirty amount, which is the amount of data in the cache that is inconsistent with the data on the disk, is equal to or greater than a certain value. The degeneration threshold determination unit 2014 (an example of an adjustment unit) adjusts the degeneration threshold for determining whether to perform degeneration based on the determination result by the determination unit. This processing system 1 can dynamically adjust an appropriate degeneration threshold.

[0028] 4 is a diagram illustrating an example of the configuration of a processing system 1 according to some embodiments of the present disclosure. As illustrated in FIG.

[0029] When a disk error occurs in a disk, a determination unit 301 determines whether a dirty amount, which is the amount of data in the cache that is inconsistent with the data on the disk, is equal to or greater than a certain value. An adjustment unit 302 adjusts a degeneration threshold for determining whether to perform degeneration based on the determination result by the determination unit 301.

[0030] The determination unit 301 can be realized, for example, by using the function of the degeneration threshold determination unit 2014 illustrated in Fig. 2. The adjustment unit 302 can be realized, for example, by using the function of the degeneration threshold determination unit 2014 illustrated in Fig. 2.

[0031] Next, processing performed by the processing system 1 according to some embodiments of the present disclosure will be described. Fig. 5 is a diagram showing an example of a processing flow of the processing system 1 according to some embodiments of the present disclosure. Here, the processing of the processing system 1 will be described with reference to Fig. 5.

[0032] When a disk error occurs in a disk, the determination unit 301 determines whether the dirty amount, which is the amount of data that is inconsistent between the cache and the disk, is equal to or greater than a certain value (step S101).The adjustment unit 302 adjusts a degeneration threshold for determining whether to perform degeneration based on the determination result by the determination unit 301 (step S102).

[0033] The processing system 1 according to some embodiments of the present disclosure has been described above. The processing system 1 can dynamically adjust an appropriate degeneration threshold.

[0034] The order of the processes in each embodiment of the present disclosure may be changed as long as the processes are performed appropriately.

[0035] Each embodiment of the present disclosure has been described, but the processing system 1, host 10, storage 20, and other control devices may have a computer system inside. The above-described processing steps are stored in the form of a program on a computer-readable recording medium, and the computer reads and executes this program to perform the above processing. Specific examples of computers are shown below.

[0036] 6 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in FIG. 6, the computer 5 includes a CPU (Central Processing Unit) 6, a main memory 7, a storage 8, and an interface 9.

[0037] For example, the above-described processing system 1, host 10, storage 20, and other control devices are each implemented in a computer 5. The operations of each of the above-described processing units are stored in the storage 8 in the form of a program. The CPU 6 reads the program from the storage 8, loads it into the main memory 7, and executes the above-described processing in accordance with the program. The CPU 6 also allocates storage areas in the main memory 7 corresponding to each of the above-described storage units in accordance with the program.

[0038] Examples of storage 8 include a hard disk drive (HDD), a solid state drive (SSD), a magnetic disk, a magneto-optical disk, a compact disc read-only memory (CD-ROM), a digital versatile disc read-only memory (DVD-ROM), and a semiconductor memory. Storage 8 may be an internal medium directly connected to the bus of computer 5, or an external medium connected to computer 5 via interface 9 or a communication line. In addition, when this program is distributed to computer 5 via a communication line, computer 5 that receives the program may load the program into main memory 7 and execute the above-mentioned processing. In at least one embodiment, storage 8 is a non-transitory tangible storage medium.

[0039] The program may also implement some of the functions described above. Furthermore, the program may be a file that can implement the functions described above in combination with a program already recorded in the computer system, a so-called differential file (differential program).

[0040] Although several embodiments of the present disclosure have been described, these embodiments are merely examples and do not limit the scope of the disclosure. Various additions, omissions, substitutions, and modifications may be made to these embodiments without departing from the spirit of the disclosure.

[0041] Note that part or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.

[0042] (Appendix 1) a determination unit that determines whether a dirty amount, which is the amount of data that is inconsistent between the cache and the disk, is equal to or greater than a certain value when a disk error occurs on the disk; an adjustment unit that adjusts a degeneration threshold for determining whether or not to perform degeneration based on a determination result by the determination unit; A processing system comprising:

[0043] (Appendix 2) The adjustment unit changing or maintaining the degeneration threshold based on the determination result by the determination unit; 10. The processing system of claim 1.

[0044] (Appendix 3) an execution unit that executes degeneration based on the disk error and the degeneration threshold; 3. The processing system of claim 1 or 2, comprising:

[0045] (Appendix 4) The execution unit: performing the degeneration when the number of times the disk errors have consecutively occurred is equal to or greater than the degeneration threshold value; 4. The processing system of claim 3, comprising:

[0046] (Appendix 5) When a disk error occurs in the disk, it is determined whether or not a dirty amount, which is the amount of data in which the cache and the disk data do not match, is equal to or greater than a certain value; adjusting a degeneration threshold for determining whether or not to perform degeneration based on the determination result; A processing method comprising:

[0047] (Appendix 6) changing or maintaining the degeneration threshold based on the determination result; Attachment 5, a processing method comprising:

[0048] (Appendix 7) performing degeneration based on the disk errors and the degeneration threshold; 6. The method of claim 5, further comprising:

[0049] (Appendix 8) performing the degeneration when the number of consecutive occurrences of the disk error is equal to or greater than the degeneration threshold; Attachment 7, a processing method comprising:

[0050] (Appendix 9) When a disk error occurs in the disk, it is determined whether or not a dirty amount, which is the amount of data in which the cache and the disk data do not match, is equal to or greater than a certain value; adjusting a degeneration threshold for determining whether or not to perform degeneration based on the determination result; A program that causes a computer to execute the following.

[0051] (Appendix 10) changing or maintaining the degeneration threshold based on the determination result; 10. The program according to claim 9, which causes the computer to execute the above steps.

[0052] (Appendix 11) performing degeneration based on the disk errors and the degeneration threshold; 11. The program according to claim 9 or 10, which causes the computer to execute the above.

[0053] (Appendix 12) performing the degeneration when the number of consecutive occurrences of the disk error is equal to or greater than the degeneration threshold; 12. The program according to claim 11, which causes the computer to execute the above steps. [Explanation of symbols]

[0054] 1. Processing System 5. Computer 6 CPU 7. Main memory 8. Storage 9. Interface 10. Host 20. Storage 201 Cache control unit 202, 202a, 202b...Disc 2011···Cache 2012...Dirty amount monitoring department 2013...Degeneration threshold storage section 2014···Degeneration threshold judgment part

Claims

1. a determination unit that determines whether a dirty amount, which is the amount of data that is inconsistent between the cache and the disk, is equal to or greater than a certain value when a disk error occurs in the disk; an adjustment unit that adjusts a degeneration threshold for determining whether or not to perform degeneration based on a determination result by the determination unit; A processing system comprising:

2. The adjustment unit changing or maintaining the degeneration threshold based on the determination result by the determination unit; The processing system of claim 1 .

3. an execution unit that executes degeneration based on the disk error and the degeneration threshold; The processing system according to claim 1 or 2, comprising:

4. The execution unit: performing the degeneration when the number of times the disk errors have consecutively occurred is equal to or greater than the degeneration threshold value; The processing system of claim 3 , comprising:

5. When a disk error occurs in the disk, determining whether a dirty amount, which is the amount of data in which the cache and the disk data are inconsistent, is equal to or greater than a certain value; adjusting a degeneration threshold for determining whether or not to perform degeneration based on the determination result; A processing method comprising:

6. When a disk error occurs in the disk, determining whether a dirty amount, which is the amount of data in which the cache and the disk data are inconsistent, is equal to or greater than a certain value; adjusting a degeneration threshold for determining whether or not to perform degeneration based on the determination result; A program that causes a computer to execute the following.

Citation Information

Patent Citations

  • Storage controller, storage control program and storage control method

    JP2018190055A