Information processing apparatus, information processing system, data writing method, and program
The solution of sector-by-sector writing with a delay write buffer and unit optimizes SMR HDD performance in embedded systems, addressing write performance limitations and ensuring real-time capabilities.
Patent Information
- Application Number
- JP2023104566
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2023-06-26
- Publication Date
- 2024-11-08
AI Technical Summary
Write performance in SMR HDDs is limited in embedded systems requiring real-time performance, and existing solutions are ineffective for non-sequential write requests.
A non-volatile storage device using shingled recording with sector-by-sector writing, a delay write buffer on volatile memory, and a delayed write unit to manage data accumulation, ensuring real-time performance by reducing fragmentation and optimizing write requests.
Ensures write performance in embedded systems using SMR HDDs by minimizing fragmentation, reducing random access, and hiding cache flush delays, thus maintaining real-time requirements.
Smart Images

Figure 2024159379000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing system, a data writing method, and a program. [Background technology]
[0002] In embedded systems that require real-time performance, SMR (Shingled Magnetic Recording) HDDs (Hard Disk Drives) that use the CMR (Conventional Magnetic Recording) method are often used instead of CMR (Conventional Magnetic Recording) HDDs. SMR HDDs have the same storage capacity as CMR HDDs, but are cheaper and take up less space.
[0003] Patent Document 1 discloses a configuration for improving the write performance of SMR HDDs, in which when multiple sequential writes to a single band are requested, a header is added to each data item within the HDD upon each write request, so that the band can be written to at one time. Summary of the Invention [Problem to be solved by the invention]
[0004] However, HDD access control using the existing File System (FS: a mechanism for managing files stored in storage) cannot guarantee write performance in embedded systems that require real-time performance due to the characteristics of SMR HDDs. Also, the technology described in Patent Document 1 is only effective under limited conditions where multiple sequential writes to a single band are required, and cannot guarantee write performance in embedded systems that require real-time performance.
[0005] The present invention has been made in consideration of the above, and aims to provide an information processing device, an information processing system, a data writing method, and a program that can ensure writing performance in an embedded system that requires real-time performance when an SMR type HDD is adopted. [Means for solving the problem]
[0006] In order to solve the above-mentioned problems and achieve the object, the present invention comprises a non-volatile storage device that writes data using a shingled recording method in which tracks are arranged radially overlapping, a file write request unit that instructs the non-volatile storage device to write data in sector units, an append unit that appends data to a data write area of the non-volatile storage device, and a delayed write unit that provides a delayed write buffer on a data volatile memory for temporarily storing data to be written to the data write area, and when the total amount of data accumulated in the delayed write buffer exceeds a threshold value, writes the data in the delayed write buffer to the non-volatile storage device. Effect of the Invention
[0007] According to the present invention, when an SMR type HDD is used, it is possible to ensure write performance in an embedded system that requires real-time performance. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a printer to which an information processing device according to the present embodiment is connected. [Diagram 2] FIG. 2 is a diagram illustrating an example of a configuration of the information processing device according to the present embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of a configuration of software that operates on the information processing device according to the present embodiment. [Figure 4] FIG. 4 is a diagram showing an example of the configuration of an SMR type HDD included in the information processing device according to the present embodiment. [Figure 5A] FIG. 5A is a diagram illustrating an example of a process for writing data to an SMR HDD. [Figure 5B] FIG. 5B is a diagram illustrating an example of a process for writing data to an SMR HDD. [Figure 6A] FIG. 6A is a diagram for explaining an example of a process for writing data to an SMR HDD in the information processing device according to the present embodiment. [Figure 6B] FIG. 6B is a flowchart showing an example of the flow of a process for writing data to an SMR HDD in the information processing device according to this embodiment. [Figure 7] FIG. 7 is a diagram for explaining an example of a configuration for writing data to an SMR HDD in an information processing device according to the present embodiment. [Figure 8] FIG. 8 is a diagram for explaining an example of a configuration for writing data to an SMR HDD in an information processing device according to the present embodiment. [Figure 9] FIG. 9 is a diagram for explaining an example of how file management information is handled in the information processing device according to the present embodiment. [Figure 10] FIG. 10 is a flowchart showing an example of the flow of restoring file management information in the information processing device according to the present embodiment. [Figure 11] FIG. 11 is a flowchart showing an example of the flow of a write buffer monitoring process using a new file management information DB in the information processing device according to the present embodiment. [Figure 12] FIG. 12 is a diagram for explaining an example of access to an SMR HDD in the information processing device according to the present embodiment. [Figure 13] FIG. 13 is a diagram for explaining an example of a configuration for writing data to an SMR HDD in the information processing device according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of an information processing device, an information processing system, a data writing method, and a program will be described in detail with reference to the accompanying drawings.
[0010] The information processing device according to this embodiment is equipped with an SMR type HDD (hereinafter referred to as SMR type HDD), and when writing to the SMR type HDD, a write control program directly specifies the write destination sector and writes sequentially, and prepares a buffer for writing to the SMR type HDD in volatile memory, accumulates write requests of a certain size, and performs delayed writing.
[0011] 1 is a diagram showing an example of the configuration of a printer to which an information processing device according to the present embodiment is connected. The operation of the entire printer 101 (an example of an image forming device) is controlled by an information processing device 102. After printing information is transmitted from an external controller 104, the printer 101 obtains paper from a paper feed unit 105 and conveys the paper along a path indicated by a dotted line in the figure. Next, the printer 101 superimposes toner images of K (black), C (cyan), M (magenta), and Y (yellow) on drums 113, 114, 115, and 116, respectively, on a belt 111, transfers the toner images to the paper conveyed by a roller 117, and fixes the toner images on the paper by the roller 117.
[0012] Next, printer 101 reads the paper conveyed by rollers 117 with reading device 131. Information processing device 102 saves the image read by reading device 131. Then, in the case of single-sided printing, printer 101 directly discharges the paper to stacker 103, and in the case of double-sided printing, printer 101 reverses the paper in reversal path 118, transfers and fixes the toner image on the other side of the paper as well, and discharges the paper to stacker 103. Stacker 103 stacks the paper discharged from printer 101 in tray 141.
[0013] 2 is a diagram showing an example of the configuration of an information processing device according to the present embodiment. The information processing device 102 includes a CPU (Central Processing Unit) 201, a RAM (Random Access Memory) 202, an SMR type HDD 203, a ROM (Read Only Memory) 204, an input device 205, a display device 206, an external I / F 207, and a communication I / F 208, and these hardware components are connected to each other via a bus B. The SMR type HDD 203 is an example of a non-volatile storage device that writes data using a shingled recording method in which tracks are arranged overlapping in the radial direction.
[0014] 3 is a diagram showing an example of the configuration of software that operates on the information processing device according to the present embodiment. The software of the information processing device 102 according to the present embodiment includes an overall control module 301, an I / F processing module 302, a scanned image reception control module 303, an HDD write control module 304, and an image processing module 305.
[0015] The overall control module 301 acquires print information via the I / F processing module 302, and instructs the read image reception control module 303 to receive the read image from the reading device 131. The overall control module 301 can also send the read image to the HDD write control module 304 to instruct it to be saved in the SMR HDD 203, or send it to the image processing module 305 to instruct it to process the image. The overall control module 301 is an example of a file write request unit that instructs the SMR HDD 203 to write data in sector units.
[0016] The I / F processing module 302 acquires print information and the like from an external device. The read image reception control module 303 receives a read image from the reading device 131 in response to an instruction from the overall control module 301. The image processing module 305 performs image processing on the read image in response to an instruction from the overall control module 301.
[0017] The HDD write control module 304 includes a sector unit write means 304a, a file write area append means 304b, and a delayed write means 304c. The sector unit write means 304a writes data in sector units to the data write area of the SMR HDD 203. The file write area append means 304b is an example of an appending unit that appends data to the data write area of the SMR HDD 203.
[0018] The delayed write means 304c provides a write buffer (an example of a delayed write buffer) on the RAM 202 (see FIG. 2), which is an example of a data volatile memory, for temporarily storing data to be written to a data write area of the SMR HDD 203. The delayed write means 304c is also an example of a delayed write unit that writes data in the write buffer to the SMR HDD 203 when the total amount of data stored in the write buffer exceeds a threshold. This can reduce fragmentation of free sectors. It can also reduce small write requests or random access write requests, and furthermore, can hide waiting time due to delayed write even if a cache flush occurs. As a result, when the SMR HDD 203 is employed, it can ensure write performance in an embedded system that requires real-time performance.
[0019] FIG. 4 is a diagram showing an example of the configuration of an SMR type HDD included in an information processing device according to this embodiment. In this embodiment, the SMR type HDD 203 has an HDD controller 401, a RAM 402 which is an example of a data volatile memory, a platter 403, and a head 404, which are connected to each other via a bus. In addition, a cache area for storing write requests and a data storage area exist on the platter 403. The SMR type HDD 203 rotates the platter 403 (e.g., a disk-shaped metal plate) to read and write data using a head 404 (e.g., a magnetic head). In addition, the data storage area (storage area) of the platter 403 has tracks which are data storage areas divided concentrically, and sectors (usually 512 bytes) which are data storage areas in smaller units obtained by further dividing the tracks in the circumferential direction.
[0020] 5A and 5B are diagrams for explaining an example of a process of writing data to an SMR HDD. As shown in Fig. 5A and 5B, when writing small data size data or random access data to a data writing area of the SMR HDD 203, writing is repeated in band units large for the size of the data to be written, which reduces data writing performance.
[0021] Therefore, in this embodiment, as shown in Fig. 6A, delayed writing is performed to reduce writing of small data size or random access data. When the HDD write control module 304 (delayed write means 304c) receives an instruction to save the scanned image from the overall control module 301, it writes the write data sequentially to a write buffer on the RAM 202. Thereafter, the HDD write control module 304 (delayed write means 304c) writes the write data to the SMR type HDD 203 in the procedure shown in Fig. 6B.
[0022] 6B is a flow chart showing an example of the flow of a process of writing data to an SMR HDD in the information processing device according to the present embodiment. First, the delayed write means 304c monitors the write buffer on the RAM 202 and judges whether or not there is write data in the write buffer for a certain period of time or more (step S501). If there is no write data in the write buffer for a certain period of time or more (step S501: No), the delayed write means 304c judges whether or not there is write data in the write buffer of a certain capacity or more (step S502).
[0023] If there is write data in the write buffer for a certain period of time or more (step S501: Yes), and if there is write data in the write buffer of a certain capacity or more (step S502: Yes), the delayed write means 304c sequentially executes a process of collectively writing the data in the write buffer to the SMR HDD 203 (step S503). At this time, since the optimal write buffer size and threshold value vary depending on the printing cycle and size of the scanned image of the printer 101 and the write performance of the SMR HDD 203, the delayed write operation may be experimented while switching between the respective values according to the write performance of the SMR HDD 203, and optimal values may be adopted.
[0024] After writing the data to the SMR HDD 203, the delayed write means 304c judges whether or not the end process of the saved read image is requested by the overall control module 301 (step S504). If the end process of the saved read image is not requested (step S504: No), the delayed write means 304c proceeds to step S501 and returns to monitoring the write buffer. On the other hand, if the end process of the saved read image is requested (step S504: Yes), the delayed write means 304c ends the writing of data to the SMR HDD 203.
[0025] 7 and 8 are diagrams for explaining an example of a data writing configuration for an SMR HDD in an information processing device according to this embodiment. As shown in FIG. 7, the delayed write means 304c secures one huge archive file in the entire write area on the SMR HDD 203. This allows the delayed write means 304c to write to the write destination sector. In addition, the delayed write means 203c can reduce random access for file management by arranging file management information on the data write area in the archive file on the RAM 202.
[0026] That is, the delayed write means 304c may allocate file management information of the data written in the data write area of the SMR HDD 203 in the RAM 202, and perform file management of the data written in the data write area based on the file management information. In the existing file system, random access to the HDD as the storage destination occurs in order to update the file management information, but by performing unique file management in which the file management information is allocated in the RAM 202, random access to the SMR HDD 203 can be reduced.
[0027] Furthermore, the next time the delayed write means 304c performs writing to the SMR HDD 203, it can perform writing sequentially from the next sector of the data written last time. However, when writing a file (write data), it is performed at a 4KB boundary, and a disk I / O request is issued by a Direct I / O operation. That is, the delayed write means 304c writes data to a data write area at a 4KB boundary. This makes it possible to perform a Direct I / O operation that issues a disk I / O request directly to the storage device without returning the data caching mechanism of the OS (Operating System) when the overall control module 301 accesses a disk of a storage device such as an HDD, thereby reducing disk I / O overhead in the OS.
[0028] 8, when the end of the data write area is reached, the delayed write means 304c returns to the beginning and continues to append the file (write data). That is, when the data append position for the data write area reaches the end of the data write area, the delayed write means 304c returns to the beginning of the data write area and continues to append the data. This makes it possible to erase old files and continue to write new files even when the disk capacity is full, thereby preventing the product life from being limited by the HDD capacity.
[0029] 9 is a diagram for explaining an example of handling of file management information in the information processing device according to the present embodiment. The delayed write means 304c may secure a backup area for file management information (file management information backup area) on the SMR type HDD 203 and create two backup fixed files (file management information DB backup 1, 2). That is, the delayed write means 304c duplicates the backup of the file management information. This makes it possible to deal with a sudden power cut during backup, and by creating it as a backup fixed file, the data write area is fixed during backup processing, and writing can always be performed sequentially.
[0030] The delayed write means 304c may also perform file management of the data written in the data write area by using a DB (file management information DB) including file management information of the data written in the data write area of the SMR HDD 203. This allows the file management information to be accessed by multiple processes, realizing a user-friendly configuration that can easily implement parallel operations.
[0031] In this embodiment, the delayed write means 304c restores the file management information from the SMR type HDD 203 to the RAM 202 when the module is started. Also, the delayed write means 304c makes the file management information permanent by backing it up from the RAM 202 to the SMR type HDD 203 when the module is terminated. That is, the delayed write means 304c backs up or restores the file management information when the system is started and terminated. Also, the delayed write means 304c may always overwrite the backup data of the file management information to a fixed file. This allows disk access when backing up or restoring the file management information to be limited to sequential access, thereby making it possible to efficiently back up or restore the file management information.
[0032] 10 is a flow chart showing an example of a flow of restoring file management information in the information processing device according to the present embodiment. In this embodiment, the delayed write means 304c checks whether the newer backup file (i.e., the backup file with the newer timestamp) of the two backup fixed files (file management information DB backups 1 and 2) is corrupted (steps S601 and S602).
[0033] If the newer backup file is not corrupted (step S602: No), the delayed write means 304c writes the confirmed newer backup file to the RAM 202 (step S603). Next, the delayed write means 304c starts monitoring the write buffer for delayed write operation (step S607). On the other hand, if the newer backup file is corrupted (step S602: Yes), the delayed write means 304c checks whether the older backup file is corrupted (steps S604, S605).
[0034] If the older backup file (backup file with the older timestamp) is not corrupted (step S605: No), the delayed write means 304c writes the confirmed older backup file to the RAM 202 (step S606) and starts monitoring the write buffer (step S607). On the other hand, if the older backup file is also corrupted (step S605: Yes), the delayed write means 304c gives up on the restoration and starts monitoring the write buffer using a new file management information DB backup (step S607).
[0035] 11 is a flow chart showing an example of the flow of the write buffer monitoring process using a new file management information DB in the information processing device according to the present embodiment. First, the delayed write means 304c writes all write data in the write buffer to the SMR type HDD 203 and ends monitoring of the write buffer (steps S701 and S702). After that, the delayed write means 304c overwrites the file management information DB in the RAM 202 to the older of the two backup files in the SMR type HDD 203 (step S703).
[0036] FIG. 12 is a diagram for explaining an example of access to the SMR type HDD in the information processing device according to the present embodiment. In this embodiment, FUSE (Filesystem in Userspace) is used when a file is accessed from a user space process. That is, the delayed write means 304c may use FUSE when a file is accessed from a user space process to the SMR type HDD 203 (for example, writing data to a data write area). By introducing FUSE, as shown in FIG. 12, it is possible to configure the file access from the user space process to be performed via a file management system implemented in the user space. Therefore, it is possible to introduce a general DBMS (Data Base Management System) software for operating the file management information DB, and it is possible to easily realize an access function to a unique file system configured on the SMR type HDD 203.
[0037] Finally, we will explain an example of a configuration in which the data writing area is managed as multiple fixed-length blocks to accommodate overwriting and deletion of files written to the SMR type HDD 203, and a configuration in which multiple file writing areas are prepared and the file writing area to which the data is written is switched depending on the characteristics of the data to be written.
[0038] 13 is a diagram for explaining an example of a data writing configuration for an SMR HDD in an information processing device according to the present embodiment. The delayed write means 304c manages the data writing area 1 as a plurality of fixed-length blocks in order to handle overwriting and deletion of a written file. The delayed write means 304c also manages the write buffer 1 for delayed writing to the data writing area 1 as a plurality of similar fixed-length blocks, and during delayed writing, writes the entire block to which data has been written sequentially. That is, the delayed write means 304c may manage the data writing area prepared in the SMR HDD 203 as a plurality of fixed-length blocks, and write data to be written to the SMR HDD 203 by dividing it into one or a plurality of fixed-length blocks.
[0039] In this way, by handling the data write area 1 in fixed-length block units, the sector fragmentation size during overwrite and deletion is at most the size of a fixed-length block, reducing small sector fragmentation and reducing the number of head seeks when accessing files written to discontinuous sectors.
[0040] The delayed write means 304c creates data write areas 2 and 3 according to the characteristics of the data to be written, such as whether or not deletion and overwriting are required, whether the file is a file that is simply appended (mainly a log file), whether or not the file size changes, the data size per file, etc., and switches the data write area to which the data is to be written according to the type of data to be written. In other words, the delayed write means 304c may prepare multiple data write areas in the SMR HDD 203 and switch the data write area to which the data is to be written according to the type of data to be written.
[0041] This allows maximum space to be utilized for data that does not require deletion or overwriting without applying block division. Also, for data to which block division is applied, the block size can be tuned according to the data size per file. Also, the buffer size and delayed write threshold can be tuned according to the data size or writing frequency. Furthermore, since data whose file size changes can be managed within a fixed area, it is possible to further pursue improvements in disk utilization rate, write performance through fixed-length block management, and write performance through delayed write.
[0042] The delayed write means 304c may provide a delayed write buffer in the RAM 202 for each data write area according to the type of data to be written. This makes it possible to prepare a write buffer of an optimal size by tuning the balance between optimizing the disk I / O performance and the amount of memory used as a write buffer according to the characteristics of the data to be written.
[0043] In this way, according to the information processing device 102 of the present embodiment, it is possible to reduce fragmentation of free sectors. In addition, it is possible to reduce small write requests or random access write requests, and further, to conceal waiting time due to delayed write even if a cache flush occurs. As a result, when the SMR type HDD 203 is adopted, it is possible to ensure the write performance in an embedded system that requires real-time performance.
[0044] The program executed by the information processing device 102 of this embodiment is provided in a state where it is pre-installed in the ROM 204 or the like. The program executed by the information processing device 102 of this embodiment may be provided by being recorded in a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a digital versatile disk (DVD) in the form of a file in an installable or executable format.
[0045] Furthermore, the program executed by the information processing device 102 of this embodiment may be configured to be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the program executed by the information processing device 102 of this embodiment may be configured to be provided or distributed via a network such as the Internet.
[0046] The program executed by the information processing device 102 in this embodiment has a modular configuration including the above-mentioned units (overall control module 301, I / F processing module 302, read image reception control module 303, HDD write control module 304, and image processing module 305), and in terms of actual hardware, a processor such as the CPU 201 reads the program from the ROM 204 and executes it, thereby loading the above-mentioned units onto the main memory device, and the overall control module 301, I / F processing module 302, read image reception control module 303, HDD write control module 304, and image processing module 305 are generated on the main memory device.
[0047] In the above embodiment, the image forming apparatus of the present invention is described as being applied to a multifunction peripheral having at least two of the functions of a copy function, a printer function, a scanner function, and a facsimile function. However, the image forming apparatus can be applied to any image forming apparatus such as a copier, a printer, a scanner device, or a facsimile device.
[0048] For example, aspects of the present invention are as follows. <1> a non-volatile memory device that writes data using a shingled recording method in which tracks are arranged overlapping in a radial direction; a file write request unit for instructing the non-volatile storage device to write data in units of sectors; an appending unit that appends data to a data write area of the nonvolatile storage device; a delay write unit that provides a delay write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and writes the data in the delay write buffer to the non-volatile storage device when a total amount of the data stored in the delay write buffer exceeds a threshold; An information processing device comprising: <2> when the position where the data is to be written to the data write area reaches the end of the data write area, the appending unit returns to the beginning of the data write area and appends the data. <1> The information processing device described in <3> the delayed write unit manages the data write area prepared in the non-volatile storage device as a plurality of fixed-length blocks, and divides data to be written to the non-volatile storage device into one or a plurality of fixed-length blocks and writes the data; <1> The information processing device described in <4> the delayed write unit prepares a plurality of the data write areas in the non-volatile storage device and switches the data write area to which the data is to be written depending on the type of data to be written; <1> from <3> 13. An information processing device according to claim 12, <5> the delay write unit provides the delay write buffer for each of the data write areas according to the type of data to be written; <4> The information processing device described in <6> the delayed write unit writes data to the data write area at a 4 KB boundary; <1> from <5> 13. An information processing device according to claim 12, <7> the delayed write unit allocates file management information of the data written in the data writing area on a RAM, and performs file management of the data written in the data writing area based on the file management information; <1> from <6> 13. An information processing device according to claim 12, <8> the delayed write unit performs file management of the data written in the data writing area by using a DB including the file management information; <7> The information processing device described in <9> the delayed write unit backs up or restores the file management information at system startup and shutdown; <7> or <8> The information processing device described in <10> the delayed write unit always overwrites the backup data of the file management information to a fixed file; <9> The information processing device described in <11> the delayed writing unit duplicates a backup of the file management information; <9> or <10> The information processing device described in <12> Use FUSE (Filesystem in Userspace) when accessing files from user space processes. <8> The information processing device described in <13> A data volatile memory; a non-volatile memory device that writes data using a shingled recording method in which tracks are arranged overlapping in a radial direction; a file write request unit for instructing the non-volatile storage device to write data in units of sectors; an appending unit that appends data to a data write area of the nonvolatile storage device; a delay write unit that provides a delay write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and writes the data in the delay write buffer to the non-volatile storage device when a total amount of the data stored in the delay write buffer exceeds a threshold; An information processing system comprising: <14> A data writing method executed in an information processing device, comprising: instructing a non-volatile storage device that writes data using a shingled recording method in which tracks are arranged so as to overlap in a radial direction to write data in units of sectors; adding data to a data write area of the non-volatile storage device; providing a delayed write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and when a total amount of the data stored in the delayed write buffer exceeds a threshold, writing the data in the delayed write buffer to the non-volatile storage device; A data writing method comprising: <15> Computer, a file write request unit for instructing a non-volatile storage device that writes data using a shingled recording method in which tracks are arranged overlapping in a radial direction to write data in units of sectors; an appending unit that appends data to a data write area of the nonvolatile storage device; a delay write unit that provides a delay write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and writes the data in the delay write buffer to the non-volatile storage device when a total amount of the data stored in the delay write buffer exceeds a threshold; A program to make it function as such. [Explanation of symbols]
[0049] 101 Printer 102 Information processing equipment 201 CPU 202,402 RAM 203 SMR HDD 204 ROM 205 Input Device 206 Display device 207 External I / F 208 Communication I / F 301 Overall Control Module 302 I / F processing module 303 Scanned image reception control module 304 HDD Write Control Module 304a Sector unit write means 304b File write area appending means 304c Delayed Write Method 305 Image Processing Module 401 HDD Controller 403 Platter 404 Head [Prior art documents] [Patent documents]
[0050] [Patent Document 1] Patent Publication No. 2021-149984
Claims
1. a non-volatile memory device that writes data using a shingled recording method in which tracks are arranged overlapping in a radial direction; a file write request unit for instructing the non-volatile storage device to write data in units of sectors; an appending unit that appends data to a data write area of the nonvolatile storage device; a delay write unit that provides a delay write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and writes the data in the delay write buffer to the non-volatile storage device when a total amount of the data stored in the delay write buffer exceeds a threshold; An information processing device comprising:
2. The information processing device according to claim 1 , wherein the appending section, when the position at which data is to be appended to the data write area reaches an end of the data write area, returns to the beginning of the data write area and appends the data.
3. 2. The information processing device according to claim 1, wherein the delayed write unit manages the data write area prepared in the non-volatile storage device as a plurality of fixed-length blocks, and divides and writes the data to be written to the non-volatile storage device into one or a plurality of fixed-length blocks.
4. 4 . The information processing device according to claim 1 , wherein the delayed write unit prepares a plurality of the data write areas in the non-volatile storage device and switches the data write area to which the data is to be written depending on the type of data to be written.
5. The information processing device according to claim 4 , wherein the delay write unit provides the delay write buffer for each of the data write areas according to a type of data to be written.
6. The information processing device according to claim 1 , wherein the delay write unit writes data into the data write area at a 4 KB boundary.
7. 2 . The information processing device according to claim 1 , wherein the delayed write section allocates file management information of the data written in the data write area on a RAM, and performs file management of the data written in the data write area based on the file management information.
8. The information processing device according to claim 7 , wherein the delayed write unit performs file management of the data written in the data write area by using a DB including the file management information.
9. 9. The information processing apparatus according to claim 7, wherein the delayed write section backs up or restores the file management information at system startup and shutdown.
10. The information processing device according to claim 9 , wherein the delayed write section always overwrites a fixed file with the backup data of the file management information.
11. The information processing apparatus according to claim 9 , wherein the delayed write section duplicates a backup of the file management information.
12. 9. The information processing apparatus according to claim 8, wherein FUSE (Filesystem in Userspace) is used when a file is accessed from a user space process.
13. A data volatile memory; a non-volatile memory device that writes data using a shingled recording method in which tracks are arranged overlapping in a radial direction; a file write request unit for instructing the non-volatile storage device to write data in units of sectors; an appending unit that appends data to a data write area of the nonvolatile storage device; a delay write unit that provides a delay write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and writes the data in the delay write buffer to the non-volatile storage device when a total amount of the data stored in the delay write buffer exceeds a threshold; An information processing system comprising:
14. A data writing method executed in an information processing device, comprising: instructing a non-volatile storage device that writes data using a shingled recording method in which tracks are arranged overlapping in a radial direction to write data in sector units; adding data to a data write area of the non-volatile storage device; providing a delayed write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and when a total amount of the data stored in the delayed write buffer exceeds a threshold, writing the data in the delayed write buffer to the non-volatile storage device; A data writing method comprising:
15. Computer, a file write request unit for instructing a non-volatile storage device that writes data using a shingled recording method in which tracks are arranged overlapping in a radial direction to write data in sector units; an appending unit that appends data to a data write area of the nonvolatile storage device; a delay write unit that provides a delay write buffer on the data volatile memory for temporarily storing data to be written to the data write area, and writes the data in the delay write buffer to the non-volatile storage device when a total amount of the data stored in the delay write buffer exceeds a threshold; A program to make it function as such.
Citation Information
Patent Citations
Magnetic disk device and write processing method
JP2021149984A
