Data reading/writing method, system and device, and computer readable storage medium
A technology for data reading and writing and storage media, applied in the computer field, can solve the problems of unbalanced and limited resource control ability, and access to blkcg information, etc., to achieve good resource control ability, eliminate application restrictions, and reduce mutual effects.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2018-09-07
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application relates to the field of computer technology, in particular to a method, system, device and computer-readable storage medium for reading and writing data. Background technique
[0002] In computers such as Linux systems, IO operations on files, such as read operations and / or write operations, are often involved. Among them, the data is first written to the memory (Page Cache) for caching, and then written back to the disk The way to improve IO performance is buffered IO (buffered IO). Currently, buffered IO is used. Because most applications are read and write operations, when the same storage device is shared by multiple processes, there will be mutual influence, and even a large amount of IO generated by a certain process will cause other processes to block for a long time. For this kind of problem, IO speed limit operation is usually performed.
[0003] An existing IO speed limit method is to use CGroups V2 (Control Groups, ...
Examples
Embodiment Construction
[0038] The core of this application is to provide a method for reading and writing data. This application can achieve better resource control capabilities, and can set the corresponding speed limit strategy without modifying any application layer interface, eliminating the application restrictions of CGroups, thereby Expanded the IO speed limit application of CGroups. Another core of the present application is to provide a data reading and writing system, device and computer-readable storage medium, all of which have the above beneficial effects.
[0039] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Bas...