WO2013063965A1 - 存储系统服务质量控制方法、装置和系统 - Google Patents
存储系统服务质量控制方法、装置和系统 Download PDFInfo
- Publication number
- WO2013063965A1 WO2013063965A1 PCT/CN2012/079539 CN2012079539W WO2013063965A1 WO 2013063965 A1 WO2013063965 A1 WO 2013063965A1 CN 2012079539 W CN2012079539 W CN 2012079539W WO 2013063965 A1 WO2013063965 A1 WO 2013063965A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- storage device
- data object
- storage
- address
- quality
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
- G06F3/0649—Lifecycle management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Definitions
- the present invention relates to storage technologies, and in particular, to a storage system service quality control method, apparatus, and system partition.
- the data on the host is usually stored in the storage system.
- a data object on the host needs to be accessed, such as the data address or file corresponding to an application
- the host accesses the storage system to obtain the object in the storage system.
- Corresponding data corresponds data.
- the storage system allocates certain system resources for the access, and the system resources of the storage system include, for example, a memory, a CPU, and the like.
- the control module in the storage system can adjust the system resources occupied by each object to access, so that each object has different quality of service when accessing, for example, having different bandwidths, delays, etc., by adjusting the occupied system resources.
- the process of adjusting access to service performance is called quality of service.
- the Qos control of the storage system generally adopts a Qos control mode of a logical unit number (LUN: LUN) granularity level.
- the storage system includes multiple LUNs, where the LUN is a virtual storage unit of the storage system, and the data is stored in an address range corresponding to the LUN, and the data stored in the address can be obtained by accessing the address.
- the control module in the storage system can perform QoS control on the entire LUN in units of LUNs. For example, if file A on the host is stored on LUN2, a high-level QoS can be given to the entire LUN2 to enable access to file A. Higher quality.
- the technical drawback of the above prior art Qos control is that, as described above, the storage system A high-level QoS is given to the I/O access of all the addresses of the entire LUN 2.
- the QoS control of the address is a waste of the system resources of the storage system.
- the system resources are limited. If more resources are allocated to a certain LUN, the resources allocated to other LUNs are reduced, which may affect other LUNs.
- the quality of access to the data That is, the existing QoS control method has a problem of waste of resources and low overall service quality. Summary of the invention
- the present invention provides a storage system service quality control method, apparatus and system to save system resources of a storage system and improve service quality of the storage system.
- the present invention provides a storage system service quality control method, including:
- Obtaining a preset data object and acquiring, according to a preset data object, a storage address corresponding to the data object in the storage device, where the data object includes an application or a file; and the acquiring the data object is in a storage device
- Corresponding storage address includes: obtaining, by querying a file system, a storage address corresponding to the data object stored in the file system in a storage device; sending the storage address to a storage device, so that the storage device is Access to the storage address for quality of service control.
- the invention provides a host, comprising:
- An address identifying unit configured to acquire a preset data object, and obtain, according to a preset data object, a storage address corresponding to the data object in the storage device, where the data object includes an application or a file;
- the corresponding storage address of the data object in the storage device includes: obtaining, by querying the file system, a storage address corresponding to the data object stored in the file system in the storage device;
- An address sending unit configured to send the storage address to the storage device, so that the storage device performs quality of service control on access to the storage address.
- the present invention provides a storage system service quality control system, including a host and a storage device;
- the host is configured to acquire a preset data object, and obtain a storage address corresponding to the data object in the storage device according to the preset data object, and send the storage address to the storage device;
- the data object includes
- the obtaining the storage address of the data object in the storage device includes: obtaining, by querying the file system, a storage address corresponding to the data object stored in the file system in the storage device;
- the storage device is configured to perform quality of service control on access to the storage address.
- the storage system service quality control method, device and system provided by the present invention can make the storage device only access the storage address by acquiring the corresponding storage address of the data object in the storage device.
- FIG. 1 is a system structure diagram of an embodiment of a storage device service quality control method according to the present invention
- FIG. 2 is a schematic flowchart of a storage device service quality control method according to an embodiment of the present invention
- FIG. 4 is a schematic flowchart of another embodiment of a storage device service quality control method according to the present invention
- FIG. 5 is a schematic structural diagram of an embodiment of a host according to the present invention
- FIG. 6 is a schematic structural diagram of an embodiment of a storage device according to the present invention.
- FIG. 7 is a schematic structural diagram of an embodiment of a storage system service quality control system according to the present invention.
- the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
- FIG. 1 is a structural diagram of a system applied to a method for controlling a quality of service of a storage device according to the present invention.
- access to data is implemented by communication between a host and a storage device, such as a disk array.
- the host operating system includes a file system, and the file system is used for organizing and managing files in the host.
- the data corresponding to the files is actually stored in the storage device, and the file system is used to uniformly manage files and directories.
- the storage address mapping relationship between the storage device and the storage device for example, if an application under the host operating system wants to access the file A, the file system can query the storage address of the file A on the storage device according to the user's access request, and then The storage device sends an I/O request, and the request carries the address to obtain the data of the file A.
- a storage device multiple LUNs are usually included, and data of applications, files, and the like in the host are stored in each LUN.
- the distributor in Figure 1 is used to allocate I/O requests sent by the host to the corresponding LUN for processing.
- U- 2 is a schematic flowchart of a method for controlling a service quality of a storage device according to an embodiment of the present invention.
- the method for controlling quality of a storage device in this embodiment may be performed by a host. As shown in FIG. 2, the method may include:
- the host acquires a preset data object, and obtains a storage address corresponding to the data object in the storage device according to the preset data object.
- the preset data object may be configured by the user on the host side before the host accesses the storage device, or may be sent by the storage device to the host after being configured on the storage device side.
- the data object refers to any address area accessed by an application, or a file/directory, etc., and may be specifically set according to the user's needs; or, the user may not specify a specific application or file.
- it is only set as a hot data object (for example, a hotspot file), and the host analyzes which is a hot data object, and the hot data object refers to an object with a relatively high access frequency.
- the host can preset one.
- the access frequency threshold for example, the number of visits/day). For example, if a file has a large number of accesses and reaches the threshold, the file can be determined to be a hot file.
- the corresponding storage address of the file/directory data object in the storage device may be obtained, for example, from a file system of the host.
- the file system usually stores an organization directory of data objects such as all files on the host, and the data object is in the storage device.
- file A is stored in address space a ⁇ b in LUN2 of the storage device; then the host can query the record of the file system to obtain the storage address of the data object selected by the user.
- Any address accessed by the application can be obtained by using a separate monitoring program to continuously monitor the address of any 10 accesses initiated by the corresponding application process. These 10 targets may be some under the file system. Or some files or directories, or a device address.
- the host sends the storage address to the storage device, so that the storage device performs quality of service control on access to the storage address.
- the storage device may perform QoS control only for the storage address.
- the data object selected by the user is file A
- the data of file A is stored in LUN2.
- the LUN2 stores multiple files, and the data of file A only occupies a part of the address space of LUN2.
- the storage address corresponding to the file A is the address space a ⁇ b in the LUN2
- the storage device can perform the QoS control only for the address space a ⁇ b, that is, only the specific storage system needs to be allocated to the address space a ⁇ b.
- System resources without the need to perform QoS control on all addresses in the entire LUN 2 as in the prior art, thereby saving system resources of the storage system, and the storage system can allocate the remaining system resources to other LUNs, and improve other LUNs. Quality of service for data access.
- the method for controlling the quality of the storage device of the present embodiment by obtaining the corresponding storage address of the data object in the storage device, enables the storage device to perform QoS control only for the access of the storage address, without requiring the entire
- the LUN is controlled to solve the problem of resource waste and low service quality in the QoS control mode, which saves system resources of the storage system and improves the service quality of the storage system.
- FIG. 3 is a schematic flowchart of another embodiment of a method for controlling quality of a storage device of the present invention.
- the method for controlling quality of a storage device in this embodiment may be performed by a storage device. As shown in Figure 3, the method can include:
- the storage device receives the storage address corresponding to the preset data object sent by the host.
- the process of obtaining the storage address corresponding to the data object by the host may be referred to the embodiment shown in FIG. 2, and details are not described herein.
- the data object selected by the user is file A
- the file A is stored in T.T TN?.
- the T.T TN?. has a ⁇ . ⁇ A ⁇ : fe A part of the address space of LUN2 is occupied.
- the host obtains the address space corresponding to the file A as the address space a ⁇ b in the LUN2, the host sends the storage address to the storage device.
- the storage device performs quality of service control on access to the storage address.
- the QoS control is performed only for the storage address, that is, only the system resources of the storage system need to be allocated to the address spaces a ⁇ b, without the need of the prior art.
- the QoS control is performed on all the addresses of the LUN 2, which saves the system resources of the storage system.
- the storage system can allocate the remaining system resources to other LUNs to improve the service quality of data access on other LUNs.
- the method for controlling the quality of the storage device in the embodiment by receiving the corresponding storage address of the data object in the storage device, and performing QoS control on the access of the storage address, without requiring the entire LUN to be controlled as in the prior art.
- the problem of resource waste and low service quality in the Qos control mode is solved, the system resources of the storage system are saved, and the service quality of the storage system is improved.
- FIG. 4 is a schematic flowchart of another embodiment of a method for controlling quality of service of a storage device according to the present invention. This embodiment is a detailed description of a process for the host and the storage device to jointly complete the Qos control for data access. As shown in FIG. 4, the method may include:
- the host acquires a preset data object.
- the method for specifically performing the method in the host may be a first control module (shown in FIG. 1 ), where the first control module is a function module added to the host in comparison with the prior art, by adding the module.
- the host can perform the method described in this embodiment.
- the user can automatically execute the Qos control method of the embodiment according to the user's needs, manually or according to a preset policy.
- the host can receive configuration parameters of the user, and the configuration parameters include data objects selected by the user that need to perform QoS control.
- the data object includes but is not limited to: a certain LUN, ⁇ in the order, its ⁇ : ⁇ / ⁇ . With Lu Shizhong ⁇ If the access of the device A is performance-adjusted, the file A can be specified as a data object requiring QoS control.
- users can not directly specify an application or file, but directly select a hot data object (such as a "hot file").
- a hot data object such as a "hot file”
- the user may use multiple files, but only a part of the files are used more frequently, but the user is temporarily unable to determine which file is the most frequent, then the user can set the need to do
- the data object controlled by Qos can be a "hotspot file”.
- the host itself can analyze which file is a hot file. Improving the quality of service for hot data object access Qos is an important factor in improving the overall service quality of storage devices.
- the host side may also choose to perform Qos control on "file system metadata", and a file in the file system is recorded in the file system metadata. It is stored in a certain address of the storage device.
- the metadata is also stored on the storage device. The host usually notifies the storage device of the address corresponding to the metadata.
- the storage device reads the metadata from the address and sends it to the file system. The system then obtains a corresponding storage address of the specific file by using the metadata, and notifies the storage device to perform reading and writing on the file address.
- the host may parse the underlying address corresponding to the metadata in the file system, and notify the storage device of the address corresponding to the metadata, and notify the storage device that the data corresponding to the address is metadata, and indicates the storage device.
- the highest level of Qos control is set, for example, high priority; correspondingly, the above Qos control for reading and writing metadata can be set by the user on the host side, that is, the address of the metadata is refined. control.
- the host may acquire a QoS control policy corresponding to the selected data object preset by the user, in addition to acquiring the preset data object.
- the QoS control policy may include, for example, a priority of an object, and each object may have a different priority, and access to the high priority object may be preferentially processed on the storage device side; the object is triggered by QoS ⁇ B ⁇ ] 3 ⁇ 41 ⁇ .
- each QoS time period which includes, for example, the number of read/write (I/O) operations per second (Input/Output Operations Per Second, IOPS), bandwidth, delay, etc.
- I/O read/write
- bandwidth bandwidth
- delay delay
- the user configuration data object and the QoS control policy described in this embodiment may also be performed on the storage device side.
- the storage device side may send the information to the host.
- the storage device can notify the host user of the selected data object.
- the host acquires a storage address corresponding to the data object in the storage device.
- this step identifies the corresponding storage address of the data object in the storage device, so that the subsequent storage device can perform refined QoS control for the address.
- the host monitors any underlying address segment accessed by the specified application and performs statistics and classification to obtain the underlying address segment accessed by the corresponding application. Or querying the file system to obtain a storage address corresponding to the preset data object in the storage device. For example, the host can obtain the file system by querying the file system, and the file A is stored in the address space a ⁇ b in the LUN2 of the storage device.
- the host needs to first analyze which file is a hotspot file, and then obtain the storage address corresponding to the hotspot file. Specifically, the host can preset an access frequency threshold (for example, the number of accesses/day), and monitor the access status of multiple files in the file system to obtain a file whose access frequency reaches a preset value as a hot file. Then, the host queries the file system to obtain the storage address in the storage device corresponding to the hotspot file.
- an access frequency threshold for example, the number of accesses/day
- the LUN is the smallest unit of control, and the user can only know that the data object for which QoS control is desired, such as a certain file, is On which LUN is stored, it is impossible to know that the file is on the LUN.
- the first control module is added to the host, so that the host can obtain the specific storage address of the object in the storage device according to the data object selected by the user, or obtain the hotspot storage address corresponding to the hotspot data, so as to The storage address is based on QoS control, which is beneficial to the saving and effective utilization of storage system resources.
- the storage attribute of the data object may change, the storage attribute includes the number of data included in the data object, the data location, and the like; for example, the underlying data address area accessed by the application may change. (can be called a change in data location), or the size of the corresponding file (which can be called the number of data) changes.
- the above data needs to obtain the changed storage address and notify the storage device, so that the storage device can change the controlled address in time, and more accurately perform QoS control on the data object.
- the host can monitor, for example, whether the application accesses a list of files accessed during each access, whether the device address area or the file size changes, whether the modification is performed, or the like.
- an application or file changes its changes are usually recorded and saved by the file system; for example, file A is tampered with at 10:5, the size is increased from the original 1M to the current 1G, and the storage address is from the original
- the address space a ⁇ b in LUN2 is extended to the current address space a ⁇ c, etc., and these file systems are saved.
- the host can monitor changes to these data objects and get the latest storage addresses and notify (but not necessarily real-time, synchronized notifications) storage devices as they change. Similarly, the monitoring of hotspot files is also the same.
- the original hotspot file is file A.
- the access frequency of file B exceeds file A in the recent period, and file B can be used as the latest hotspot file.
- the host notifies the storage device of the need.
- the latest control address controlled is the storage address of file B.
- the host In order to reduce the impact on the performance of the storage device and ensure the availability of the storage device, the host generally does not notify the external storage system of these changes in real time in order to monitor the change of the data object, so as to avoid increasing the burden on the storage device; The way.
- the QoS control command is further obtained according to the storage address and the QoS control policy; if the host in 401 only obtains the preset data object, and the QoS control policy is configured on the storage device side, according to the storage address and The process of obtaining a QoS control command by the QoS control policy is performed on the storage device side.
- the following takes the host side to perform the above QoS control instruction acquisition process as an example.
- the data object selected by the user is file A
- the preset QoS control policy includes: "the priority of file A is high", “the first QoS policy is executed at 10 to 15 o'clock, at 16 o' 18" Point to execute the second QoS policy, "the IOPS in the first QoS policy is 30, and the IOPS in the second QoS policy is 4000"; then the host checks the current time according to the above object and the control policy is 14 points, and learns that After the first QoS policy is executed, the host can obtain the following QoS control command: "The priority of file A is high, and the first QoS policy is executed, and the IOPS is 30".
- the above is only an example. In the specific implementation, the content and generation mode of the QoS control policy and instructions can be changed according to actual needs.
- the host sends the storage address of the data object to the storage device.
- the host may send the information to the storage device in an in-band or out-of-band manner. If the host side generates a QoS control command in 402, the storage address and the QoS control command are both sent to the storage device, so that the storage device is configured according to the storage device.
- the quality of service control instruction performs quality of service control on access to the storage address. For example, the host sends "address space a ⁇ b in LUN2 with a high priority and an IOPS of 30".
- the storage device performs QoS control on the address according to the received storage address.
- the second control module may be an improved functional module of the original control module on the storage device side, such as an array controller of a disk array.
- the storage device After receiving the storage address sent by the host, the storage device performs QoS control on the access to the storage address, that is, when the storage device receives the I/O request for the storage address, it will be ⁇ / ⁇ hi ⁇ Qos ⁇ l ⁇ ⁇ ⁇ , ⁇ . ij3 ⁇ 4i ⁇ . ⁇ ⁇ , ⁇ /o H
- the parameters of the level, the cache (CATE) resource, the queue depth, the number of queues, and the size of the concurrency can be adjusted by using methods commonly used in the field.
- the QoS control may be performed, for example, according to a quality of service control command sent by a host received by the storage device.
- the storage system generally monitors the access performance of the object to provide a basis for the resource's resource direction. For example, the storage address received by the storage device and the QoS control command are
- the current IOPS of the access corresponding to the address is monitored to be 2300, that is, If the object access performance has not yet reached the target set in the QoS control command, the storage device will continue to adjust the system resources allocated for accessing the address, for example, increasing the CPU usage ratio until the preset performance target IOPS is 3000. Times. But the resources allocated for this object should have a threshold rather than an infinite distribution.
- the method for controlling the quality of the storage device of the present embodiment by obtaining the corresponding storage address of the data object in the storage device, enables the storage device to perform QoS control only for the access of the storage address, without requiring the entire
- the LUN is controlled to solve the problem of resource waste and low service quality in the QoS control mode, which saves system resources of the storage system, improves the service quality of the storage system, and more accurately meets user requirements.
- FIG. 5 is a schematic structural diagram of a host according to an embodiment of the present invention.
- the host may perform a storage device quality control method according to any embodiment of the present invention. This embodiment only describes the structure of the host, and the specific working principle may be combined. See the method embodiments of the present invention.
- the host may include: an address identifying unit 51 and an address sending unit 52.
- the address identifying unit 51 is configured to acquire a preset data object, and obtain a storage address corresponding to the data object in the storage device according to the preset data object, where the data object includes an application or a file; Obtaining the corresponding storage address of the data object in the storage device ⁇ ⁇ - i Apricot ⁇ : ⁇ .
- the needle is in a corresponding storage address in the storage device; an address sending unit 52, configured to send the storage address to the further, the host may further include an object analyzing unit 53 configured to monitor access of the plurality of data objects in the file system And obtaining a data object whose access frequency reaches a preset value as a hotspot data object; correspondingly, the address identifying unit 51 is specifically configured to obtain a storage address corresponding to the hotspot data object in the storage device.
- the address identifying unit 51 is further configured to: when the storage attribute of the data object changes, acquire a changed storage address corresponding to the data object in the storage device, and send the storage address to the storage device;
- the storage attribute includes the amount of data, or data location, that the data object includes.
- the host may further include: a policy configuration unit 54 and an instruction generating unit 55.
- the policy configuration unit 54 is configured to obtain a preset quality of service control policy corresponding to the data object
- the instruction generating unit 55 is configured to obtain a service quality control instruction according to the storage address and the quality of service control policy, and And transmitting the quality of service control instruction to the storage device, so that the storage device performs quality of service control on access to the storage address according to the quality of service control instruction.
- the host of the embodiment obtains the storage address corresponding to the data object in the storage device by setting the address identification unit and the address sending unit, and the storage device can perform the QoS control only on the access of the storage address, instead of
- the technology can only control the entire LUN, which solves the problem of resource waste and low service quality in the QoS control mode, saves system resources of the storage system, improves the service quality of the storage system, and more accurately meets user requirements.
- FIG. 6 is a schematic structural diagram of an embodiment of a storage device according to the present invention.
- the storage device can perform a storage device service quality control method according to any embodiment of the present invention. This embodiment is only a singular operation for the storage device; ⁇ A bunch of the day of the moon '1 Said.
- the storage device may include: an address receiving unit 61 and a service control unit 62.
- the address receiving unit 61 is configured to receive a storage address corresponding to the preset data object sent by the host, and the service control unit 62 is configured to perform quality of service control on the access of the storage address.
- the storage device further includes an instruction receiving unit 63, configured to receive a quality of service control command sent by the host, where the quality of service control instruction is obtained by the host according to the storage address and a preset quality of service control policy;
- the service control unit 62 is specifically configured to perform quality of service control on access to the storage address according to the quality of service control instruction.
- the storage device of the embodiment by setting the address receiving unit, the service control unit, and the like, receives the storage address corresponding to the data object in the storage device, so that the storage device can only perform the Qos control on the access of the storage address, and does not need to be present.
- the technology can only control the entire LUN, which solves the problem of resource waste and low service quality in the QoS control mode, saves system resources of the storage system, improves the service quality of the storage system, and more accurately meets user requirements. .
- FIG. 7 is a schematic structural diagram of a storage system service quality control system according to an embodiment of the present invention.
- the control system can perform the storage device service quality control method according to any embodiment of the present invention.
- the specific working principle can be combined with the description of the method embodiment of the present invention.
- the storage system quality of service control system may include a host 71 and a storage device 72.
- the host 71 is configured to acquire a preset data object, and obtain the data object according to a preset data object.
- Corresponding storage address in the storage device the storage address is sent to the storage device; the data object includes an application or a file; and the storage address corresponding to the data object in the storage device includes: by querying the file system, Obtain the file system in the library: The needle is in the reserve ⁇ ⁇ - ⁇ ⁇ 77.. Quality of service control is performed on access to the storage address.
- the host 71 is further configured to send, to the storage device, a quality of service control instruction corresponding to the data object, where the quality of service control instruction is based on the storage address and a preset The service quality control policy corresponding to the data object is obtained.
- the storage device 72 is further configured to perform quality of service control on the access to the storage address according to the quality of service control instruction.
- the storage system quality of service control system of the embodiment obtains a corresponding storage address of the data object in the storage device by the host, and the storage device only performs QoS control on the access of the storage address, and does not need to be only the whole as in the prior art.
- the LUN is controlled to solve the problem of resource waste and low service quality in the QoS control mode, which saves system resources of the storage system, improves the service quality of the storage system, and more accurately meets user requirements.
- the method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
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)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供一种存储系统服务质量控制方法、装置和系统,其中方法包括:获取预设的数据对象,并根据预设的数据对象,获取所述数据对象在存储设备中对应的存储地址,所述数据对象包括应用程序或者文件;所述获取所述数据对象在存储设备中对应的存储地址,包括:通过查询文件系统,获取所述文件系统中存储的所述数据对象在存储设备中对应的存储地址;将所述存储地址发送至存储设备,以使得所述存储设备对所述存储地址的访问进行服务质量控制。本发明解决了Qos控制方式存在的资源浪费及服务质量较低的问题,节约了存储系统的系统资源,并提高了存储系统的服务质量,更加能准确满足用户需求。
Description
存储系统服务质量控制方法、 装置和系统 本申请要求于 2011年 10月 31 日提交中国专利局、 申请号为
201110337131.5、 发明名称为 "存储系统服务质量控制方法、 装置和系统" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及存储技术, 尤其涉及一种存储系统服务质量控制方法、 装置 和系统隔。
背景技术
主机上的数据通常在存储系统中存储, 当需要访问主机上的某个数据对象 时, 例如某个应用程序所对应的数据地址或者文件时, 主机将访问存储系统, 获取存储系统中该对象所对应的数据。 其中, 存储系统在处理主机的访问请求 时,将为本次访问分配一定的系统资源,该存储系统的系统资源例如包括内存、 CPU等。 存储系统中的控制模块可以通过调整各对象访问所占用的系统资源, 使得各对象在访问时具有不同的服务质量, 例如具有不同的带宽、 时延等, 这 种通过调整所占用的系统资源进而调整访问服务性能的过程称为服务质量
( Quality of Service , 筒称: Qos )控制。
现有技术中,存储系统的 Qos控制一般采用逻辑单元号( logic unit number, 筒称: LUN )粒度级别的 Qos控制方式。 具体的, 存储系统中包括多个 LUN, 所述 LUN是存储系统的虚拟存储单元, 数据存储在 LUN对应的地址范围中, 通过访问所述地址可以获取该地址中存储的数据。存储系统中的控制模块可以 以 LUN为单位对整个 LUN进行 QoS控制,例如,主机上的文件 A存储在 LUN2 上, 则可以对该整个 LUN2给以高级别的 QoS, 以使得对于文件 A的访问质 量较高。
上述现有技术的 Qos控制所存在的技术缺陷是, 如上面所述的, 存储系统
是对整个 LUN2的所有地址的 I/O访问都给以高级别的 QoS, 但是, 主机只对 LUN2上的某一部分地址(文件 A对应的地址) 中的数据进行访问, 则针对整 个 LUN的所有地址进行 QoS控制其实对存储系统的系统资源是一种浪费; 并 且,系统资源是有限的,如果对某一 LUN分配的资源较多,则必然对其他 LUN 分配的资源减少, 可能影响其他 LUN上数据的访问质量。 即, 现有的 Qos控 制方式存在着资源浪费以及整体服务质量较低的问题。 发明内容
本发明提供一种存储系统服务质量控制方法、 装置和系统, 以节约存 储系统的系统资源, 并提高存储系统的服务质量。
本发明提供一种存储系统服务质量控制方法, 包括:
获取预设的数据对象, 并根据预设的数据对象, 获取所述数据对象在 存储设备中对应的存储地址, 所述数据对象包括应用程序或者文件; 所述 获取所述数据对象在存储设备中对应的存储地址包括: 通过查询文件系统, 获取所述文件系统中存储的所述数据对象在存储设备中对应的存储地址; 将所述存储地址发送至存储设备, 以使得所述存储设备对所述存储地 址的访问进行服务质量控制。
本发明提供一种主机, 包括:
地址识别单元, 用于获取预设的数据对象, 并根据预设的数据对象, 获取所述数据对象在存储设备中对应的存储地址, 所述数据对象包括应用 程序或者文件; 所述获取所述数据对象在存储设备中对应的存储地址包括: 通过查询文件系统, 获取所述文件系统中存储的所述数据对象在存储设备 中对应的存储地址;
地址发送单元, 用于将所述存储地址发送至存储设备, 以使得所述存 储设备对所述存储地址的访问进行服务质量控制。
本发明提供一种存储系统服务质量控制系统, 包括主机、 存储设备;
所述主机, 用于获取预设的数据对象, 并根据预设的数据对象, 获取 所述数据对象在存储设备中对应的存储地址, 将所述存储地址发送至存储 设备; 所述数据对象包括应用程序或者文件; 所述获取所述数据对象在存 储设备中对应的存储地址包括: 通过查询文件系统, 获取所述文件系统中 存储的所述数据对象在存储设备中对应的存储地址;
所述存储设备, 用于对所述存储地址的访问进行服务质量控制。
本发明提供的存储系统服务质量控制方法、 装置和系统, 通过获取数据对象 在存储设备中对应的存储地址, 可以使得存储设备仅对该存储地址的访问进行
Qos控制, 而不需要如现有技术那样只能整个 LUN进行控制, 解决了 Qos控 制方式存在的资源浪费及服务质量较低的问题, 节约了存储系统的系统资源, 并提高了存储系统的服务质量, 更加能准确满足用户需求。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明存储设备服务质量控制方法实施例所应用的系统结构图; 图 2为本发明存储设备服务质量控制方法一实施例的流程示意图; 图 3为本发明存储设备服务质量控制方法另一实施例的流程示意图; 图 4为本发明存储设备服务质量控制方法另一实施例的流程示意图; 图 5为本发明主机实施例的结构示意图;
图 6为本发明存储设备实施例的结构示意图;
图 7为本发明存储系统服务质量控制系统实施例的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动的前 提下所获得的所有其他实施例, 都属于本发明保护的范围。
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例提供的存储系统服务质量控制方法、 装置和系统, 是用 于 SAN存储系统的; 为使得以下对本发明实施例的存储设备服务质量控制 方法说明更加清楚, 首先对本发明所应用的系统做筒单介绍。 图 1为本发 明存储设备服务质量控制方法实施例所应用的系统结构图, 如图 1所示, 通过主机和存储设备之间的通信实现对数据的访问, 该存储设备例如为磁 盘阵列。 其中, 主机操作系统中包含有文件系统, 该文件系统用于对主机 中的文件进行组织管理, 这些文件所对应的数据实际是存储在存储设备中 的, 文件系统的作用是统一管理文件和目录, 及其在存储设备中的存储地 址映射关系; 例如, 主机操作系统下某应用程序想要访问文件 A, 则文件 系统可以根据用户的访问请求查询到文件 A在存储设备的存储地址, 再向 存储设备发送 I/O请求, 请求中携带该地址, 去获取文件 A的数据。 在存 储设备中, 通常包括多个 LUN, 主机中的应用程序、 文件等的数据存储在 各个 LUN中。 图 1中的分发器是用于将主机发送的 I/O请求分配给对应的 LUN去处理。
在此基础上, 下面对本发明实施例的技术方案进行说明。
U—
图 2为本发明存储设备服务质量控制方法一实施例的流程示意图, 本 实施例的存储设备服务质量控制方法可以是主机所执行。 如图 2所示, 该 方法可以包括:
201、 主机获取预设的数据对象, 并根据预设的数据对象, 获取所述数 据对象在存储设备中对应的存储地址;
其中, 所述的预设的数据对象可以是在主机访问存储设备之前, 用户 在主机侧配置的, 也可以是用户在存储设备侧配置后, 由存储设备发送至 主机的。 所述的数据对象指的是例如某个应用程序所访问的任何地址区域、 或者某个文件 /目录等, 可以根据用户的需求具体设置; 或者, 用户也可以 不指定具体的应用程序或文件, 而只是设置为热点数据对象(例如热点文 件) 即可, 由主机去分析得到哪个是热点数据对象, 该热点数据对象指的 是访问频率比较高的对象, 这种情况下, 主机可以预先设置一个访问频率 阈值 (例如为访问次数 /天) , 例如若某个文件访问较多, 达到该阈值, 则 可以确定该文件为热点文件。
其中, 文件 /目录数据对象在存储设备中对应的存储地址例如可以从主 机的文件系统获取, 文件系统中通常保存有该主机上的所有文件等数据对 象的组织目录, 以及该数据对象在存储设备中对应的存储地址。 例如, 文 件 A存储在存储设备的 LUN2中的地址空间 a~b中; 则主机可以查询该文 件系统的记录就可以得到用户所选择的数据对象的存储地址。 而应用程序 所访问的任意地址, 则可以使用单独的监控程序来持续监控对应的应用程 序进程所发起的针对底层的任意 10访问的地址来获得, 这些 10的目标可 能是文件系统下的某个或者某些文件或目录, 也可以是棵设备地址。
202、 主机将所述存储地址发送至存储设备, 以使得所述存储设备对所 述存储地址的访问进行服务质量控制。
由于 SAN存储系统所能感知的最小对象为 LUN,而且存储系统无法感 如釗 Τ ,Τ ΤΝ内 丈件 统纽织, 所以 法威如例如单个丈件在 Τ ,Τ ΤΝ 卜-计 ¾
的地址段; 则如果要对该文件 # Qos控制, 本发明实施例通过主机端识别 数据对象的地址信息后通知给存储系统, 以使得存储系统感知到对应的地 址段。
其中, 在主机将 201中获取的数据对象的存储地址发送至存储设备后, 存储设备可以仅针对该存储地址进行 Qos控制即可。
例如, 用户选择的数据对象是文件 A, 文件 A的数据是存储在 LUN2 中的, 该 LUN2中存放有多个文件, 文件 A的数据只占用了 LUN2的一部 分地址空间。 主机获取到该文件 A对应的存储地址为 LUN2中的地址空间 a~b , 则存储设备可以仅针对该地址空间 a~b进行 Qos控制, 即只需要向地 址空间 a~b分配特定的存储系统的系统资源, 而不需要如现有技术那样对 整个 LUN2中的所有地址都进行 Qos控制, 从而节约了存储系统的系统资 源, 存储系统就可以将其余系统资源分配给其他 LUN, 提高其他 LUN上数 据访问的服务质量。
本实施例的存储设备服务质量控制方法, 通过获取数据对象在存储设 备中对应的存储地址, 可以使得存储设备仅对该存储地址的访问进行 Qos 控制, 而不需要如现有技术那样只能整个 LUN进行控制, 解决了 Qos控制 方式存在的资源浪费及服务质量较低的问题, 节约了存储系统的系统资源, 并提高了存储系统的服务质量。
实施例二
图 3为本发明存储设备服务质量控制方法另一实施例的流程示意图, 本实施例的存储设备服务质量控制方法可以是存储设备所执行。 如图 3所 示, 该方法可以包括:
301、 存储设备接收主机发送的预设的数据对象对应的存储地址; 其中, 主机获取数据对象对应的存储地址的过程可以参见图 2所示的 实施例所述, 不再赘述。 例如, 用户选择的数据对象是文件 A, 文件 A的 翁: 储在 T .T TN?.中 . 该 T .T TN?.中 放有 个 侔. 侔 A 翁: fe
占用了 LUN2的一部分地址空间。 主机获取到该文件 A对应的存储地址为 LUN2中的地址空间 a~b, 则将该存储地址发送至存储设备。
302、 存储设备对所述存储地址的访问进行服务质量控制。
其中, 存储设备在 301中接收到所述的存储地址后, 将仅针对该存储 地址进行 Qos控制, 即只需要向地址空间 a~b分配存储系统的系统资源, 而不需要如现有技术那样对整个 LUN2中的所有地址都进行 Qos控制, 从 而节约了存储系统的系统资源, 存储系统就可以将其余系统资源分配给其 他 LUN , 提高其他 LUN上数据访问的服务质量。
本实施例的存储设备服务质量控制方法, 通过接收数据对象在存储设 备中对应的存储地址, 并针对该存储地址的访问进行 Qos控制, 而不需要 如现有技术那样只能整个 LUN进行控制, 解决了 Qos控制方式存在的资源 浪费及服务质量较低的问题, 节约了存储系统的系统资源, 并提高了存储 系统的服务质量。
实施例三
图 4为本发明存储设备服务质量控制方法另一实施例的流程示意图, 本实施例是对主机和存储设备通信共同完成对数据访问的 Qos控制的流程 进行详细描述。 如图 4所示, 该方法可以包括:
401、 主机获取预设的数据对象;
其中, 主机中具体执行本实施例方法的可以是第一控制模块(参见图 1 所示) , 该第一控制模块是相对于现有技术在主机中增加的一个功能模块, 通过增加该模块使得主机能够执行本实施例所述的方法。 用户可以根据自 身需求, 手动的或者根据预先设定的策略自动的启动第一控制模块执行本 实施例的 Qos控制方法。
本步骤中, 主机可以接收用户的配置参数, 该配置参数包括用户所选 择的需要进行 Qos控制的数据对象。该数据对象包括但不限于: 某个 LUN、 Φ 中 个 用 序、 其个^:侔 /目 如. 用卢 十 中^^
件 A的访问进行性能调节, 则可以指定该文件 A为需要进行 Qos控制的数 据对象。
此外, 用户也不可以不具体指定应用程序或者文件, 而是直接选择热 点数据对象(例如 "热点文件" ) 。 例如, 在实际使用中, 可能用户对多 个文件都有使用, 但是其中只有一部分文件是使用更为频繁的, 但是用户 暂时无法确定哪个文件是最频繁的, 则此时用户可以设置为需要做 Qos控 制的数据对象为 "热点文件" 即可, 后续的步骤中可以由主机自身去分析 哪个文件是热点文件。提高对热点数据对象访问的服务质量 Qos,是提高存 储设备整体服务质量的重要因素。
进一步的, 在文件 /目录, 应用, 热点数据这三个对象之外, 主机端也 可以选择对 "文件系统元数据" 进行 Qos控制, 该文件系统元数据中记录 了文件系统中的某个文件存放在存储设备的某段地址上, 该元数据也是存 放在存储设备端, 主机端通常将元数据对应的地址通知存储设备, 由存储 设备将元数据从该地址读出后给文件系统, 文件系统再通过该元数据获取 具体文件的对应的存储地址, 通知存储设备对文件地址执行读写。 本实施 例中, 主机端可以解析文件系统中元数据所对应的底层地址, 并在将元数 据对应的地址通知存储设备的同时, 告知存储设备该地址对应的数据是元 数据, 并且指示存储设备对元数据的读写进行最高级别的 Qos控制例如设 置高优先级; 相应的, 上述对元数据读写的 Qos控制可以在主机端由用户 选择设定, 即对元数据的地址做精细化 Qos控制。 通过对文件系统元数据 的访问进行 Qos控制, 可以大大提高系统查询地址等处理效率。
进一步的, 本步骤中, 主机在获取预设的数据对象之外, 还可以获取 用户预设配置的与所选择的数据对象对应的 QoS控制策略。 所述的 QoS控 制策略例如可以包括: 对象的优先级, 各个对象之间可以有不同的优先级, 对高优先级对象的访问在存储设备侧可以进行优先处理; 对象被触发 QoS ^ B†]¾1 ^ . 可以 fe ¥容个 ίΗ 、曰 -^^ B†]¾1 ^^^^ [g1 ^ QoS 十象
在各个 QoS时间段内的性能值, 该性能例如包括每秒进行读写 ( I/O )操作 的次数 (Input/Output Operations Per Second, 筒称: IOPS)、 带宽、 时延等; 也可以设定在特定的性能需求 (例如, IOPS、 或者带宽) 阀值达到时触发 QoS。
可选的, 本实施例中所述的用户配置数据对象、 QoS控制策略也可以 在存储设备侧进行, 存储设备侧在接收用户配置的上述信息后, 可以将该 信息发送至主机。 例如, 存储设备可以通知主机用户所选择的数据对象。
402、 主机获取所述数据对象在存储设备中对应的存储地址;
在 401中主机获取用户所选择的数据对象后, 本步骤将识别该数据对 象在存储设备中对应的存储地址, 以使得后续存储设备可以针对该地址进 行精细化的 QoS控制。
例如, 若预设的数据对象为应用程序、 或者文件, 则主机将监控指定 的应用程序所访问的任何底层地址段并做统计和分类规整从而获得可用的 对应应用程序所访问的底层地址段, 或者查询文件系统以获取所述预设的 数据对象在存储设备中对应的存储地址。 例如, 主机通过查询该文件系统 可以得到, 文件 A存储在存储设备的 LUN2中的地址空间 a~b中。
例如, 若预设的策略为 "监控热点文件" , 则主机需要首先分析哪个 文件是热点文件, 再去获取该热点文件对应的存储地址。 具体的, 主机可 以预先设置一个访问频率阈值 (例如为访问次数 /天) , 并监控文件系统中 的多个文件的访问情况, 获取访问频率达到预设值的文件作为热点文件。 然后, 主机再查询文件系统得到该热点文件所对应的在存储设备中的存储 地址。
与现有技术相比,现有技术中用户在配置存储设备的 QoS控制策略时, 是以 LUN为控制最小单元的,用户只能知道其所想要进行 QoS控制的数据 对象例如某个文件是存储在哪个 LUN上的, 而无法得知该文件在 LUN上
JL 储 ,所以 R ^Λ^^Α- T .T TN i井^ · QoS : 本 1中 .
通过在主机中增设第一控制模块, 使得主机可以根据用户所选择的数据对 象, 获取得到该对象在存储设备的具体的存储地址, 或者获取到热点数据 对应的热点存储地址, 从而为后续仅针对该存储地址进行 QoS控制得到基 础, 有利于存储设备系统资源的节约和有效利用。
进一步的, 在实际的使用过程中, 数据对象的存储属性有可能发生变 化, 该存储属性包括数据对象所包括的数据数量、 数据位置等; 例如, 应 用程序所访问的底层数据地址区域可能发生变化 (可以称为数据位置的变 化) , 或者对应文件的大小 (可以称为数据数量)发生变化。 上述的数据 需要获取变化后的存储地址并通知存储设备, 以便存储设备及时更改所控 制的地址, 更加准确的对数据对象进行 QoS控制。
具体的, 主机可以监控例如应用程序在每次访问时所访问的文件列表、 棵设备地址区域或者文件大小是否发生变化、 是否进行了修改等。 在应用 程序或者文件变化时, 其变化情况通常也会被文件系统所记录和保存; 例 如, 文件 A在 10点 5分被爹改, 大小由原来的 1M增加到目前的 1G, 存 储地址由原来的 LUN2中的地址空间 a~b扩展到目前的地址空间 a~c等, 这些文件系统都会保存。 主机可以监控这些数据对象的变化, 并在对象发 生变化时及时获取最新的存储地址并通知 (但不一定是实时、 同步的通知) 存储设备。 同理, 对于热点文件的监控也是如此, 例如, 原来的热点文件 是文件 A, 但是最近一段时间文件 B的访问频率超过了文件 A, 则文件 B 可以作为最新的热点文件, 主机通知存储设备需要控制的最新控制地址即 文件 B的存储地址。 其中, 为减小对存储设备的性能影响, 保证存储设备 的可用性, 在监控数据对象变化方面, 主机一般不将这些变化实时的通告 给外部存储系统, 以避免增加存储设备负担; 可以使用定期监测的方式。
进一步的, 若 401中主机在获取预设的数据对象之外, 还获取了预设 翁: 針象針 QoS ?^ f gA . Φ 在兹 Ji又卜—i 翁: 針象 储
址之后, 还需要根据所述存储地址以及所述 QoS控制策略, 得到 QoS控制 指令; 若 401中主机仅仅获取了预设的数据对象, QoS控制策略是在存储 设备侧配置, 则根据存储地址以及 QoS控制策略得到 QoS控制指令的过程 是在存储设备侧执行。 下面以主机侧执行上述 QoS控制指令的获取过程为 例说明。
具体的, 例如, 用户选择的数据对象为文件 A, 预设的 QoS控制策略 包括: "文件 A的优先级为高" 、 "在 10点~15点执行第一 QoS策略, 在 16点~18点执行第二 QoS策略" 、 "第一 QoS策略中的 IOPS为 30, 第二 QoS策略中的 IOPS为 4000" ; 则主机根据上述对象及控制策略, 查看目 前的时间是 14点, 得知应该执行第一 QoS策略, 则主机可以得到如下的 QoS控制指令 "文件 A的优先级为高, 执行第一 QoS策略, IOPS为 30" 。 以上只是举例说明, 具体实施中 QoS控制策略和指令的内容和生成方式可 以根据实际需要进行变更。
403、 主机将数据对象的存储地址发送至存储设备;
其中, 主机可以通过带内或带外方式发送到存储设备; 如果 402中主 机侧生成了 QoS控制指令, 则一并将存储地址和 QoS控制指令均发送至存 储设备, 以使得所述存储设备根据所述服务质量控制指令, 对所述存储地 址的访问进行服务质量控制。 例如, 主机发送 "LUN2中的地址空间 a~b, 优先级为高, IOPS为 30" 。
404、 存储设备根据接收到的存储地址, 对该地址进行 QoS控制。 见图 1所示) , 该第二控制模块可以是对存储设备侧原有的控制模块改进 后的功能模块, 例如为磁盘阵列的阵列控制器。
存储设备在接收到主机发送的存储地址后, 将对该存储地址的访问进 行 QoS控制, 即, 当存储设备再收到针对该存储地址的 I/O请求时, 将为 τ/ο h i^ Qos ^^l ^ ^ ^, ^^ . ij¾i眷 如 Γ.ΡΤ Τ、 τ/o H
级、 高速緩沖存储器 (CACHE ) 资源、 队列深度、 队列数量、 并发大小等 参数, 具体的调整方法可以采用本领域常用的方法, 在此不做限制。 所述 的 QoS控制例如可以是根据存储设备接收的主机发送的服务质量控制指令 所进行。
此外, 存储系统一般还监控对象访问性能的情况, 以对资源的资源方 向提供依据。 例如, 存储设备所接收到的存储地址以及 QoS控制指令为
"LUN2中的地址空间 a~b, 优先级为高, IOPS为 3000" , 在根据该指令 对所述存储地址进行 QoS控制的过程中, 监控到该地址对应的访问目前的 IOPS为 2300, 即对象访问性能还尚未达到 QoS控制指令中所设定的目标, 则存储设备将继续调整为该地址对应访问所分配的系统资源, 例如增加其 CPU的占用比例, 直至达到预设性能目标 IOPS为 3000次。 但是为这个对 象所分配的资源应当有个阀值, 而不是无限分配。
本实施例的存储设备服务质量控制方法, 通过获取数据对象在存储设 备中对应的存储地址, 可以使得存储设备仅对该存储地址的访问进行 Qos 控制, 而不需要如现有技术那样只能整个 LUN进行控制, 解决了 Qos控制 方式存在的资源浪费及服务质量较低的问题, 节约了存储系统的系统资源, 并提高了存储系统的服务质量, 更加能准确满足用户需求。
实施例四
图 5为本发明主机实施例的结构示意图, 该主机可以执行本发明任意 实施例的存储设备服务质量控制方法, 本实施例只是对该主机的结构做筒 单描述, 其具体的工作原理可以结合参见本发明方法实施例所述。
如图 5所示, 该主机可以包括: 地址识别单元 51、 地址发送单元 52。 其中, 地址识别单元 51 , 用于获取预设的数据对象, 并根据预设的数据对 象, 获取所述数据对象在存储设备中对应的存储地址, 所述数据对象包括 应用程序或者文件; 所述获取所述数据对象在存储设备中对应的存储地址 ^ ^ - i 杏 ^:侔 . 兹 Ji又所 侔 中 储 所 翁: 針象在
储设备中对应的存储地址; 地址发送单元 52, 用于将所述存储地址发送至 进一步的, 该主机还可以包括对象分析单元 53 , 用于监控所述文件系 统中的多个数据对象的访问, 并获取访问频率达到预设值的数据对象作为 热点数据对象; 相应的, 地址识别单元 51 , 具体用于获取所述热点数据对 象在存储设备中对应的存储地址。
进一步的, 地址识别单元 51 , 还用于在所述数据对象的存储属性发生 变化时, 获取所述数据对象在存储设备中对应的变化后的存储地址, 并发 送给所述存储设备; 所述存储属性包括所述数据对象所包括的数据数量、 或者数据位置。
进一步的, 该主机还可以包括: 策略配置单元 54、 指令生成单元 55。 其中, 策略配置单元 54, 用于获取预设的与数据对象对应的服务质量控制 策略; 指令生成单元 55 , 用于根据所述存储地址以及所述服务质量控制策 略, 得到服务质量控制指令, 并将所述服务质量控制指令发送至存储设备, 以使得所述存储设备根据所述服务质量控制指令, 对所述存储地址的访问 进行服务质量控制。
本实施例的主机, 通过设置地址识别单元和地址发送单元等, 获取数 据对象在存储设备中对应的存储地址, 可以使得存储设备仅对该存储地址 的访问进行 Qos控制, 而不需要如现有技术那样只能整个 LUN进行控制, 解决了 Qos控制方式存在的资源浪费及服务质量较低的问题, 节约了存储 系统的系统资源, 并提高了存储系统的服务质量, 更加能准确满足用户需 求。
实施例五
图 6为本发明存储设备实施例的结构示意图, 该存储设备可以执行本 发明任意实施例的存储设备服务质量控制方法, 本实施例只是对该存储设 备 ό 傲 f i单;^ . L JL 工作 可以铨 A束 本 日月古 ' 1
所述。
如图 6所示, 该存储设备可以包括: 地址接收单元 61、 服务控制单元 62。 其中, 地址接收单元 61 , 用于接收主机发送的预设的数据对象对应的 存储地址; 服务控制单元 62, 用于对所述存储地址的访问进行服务质量控 制。
进一步的, 该存储设备还包括指令接收单元 63 , 用于接收主机发送的 服务质量控制指令, 所述服务质量控制指令是所述主机根据所述存储地址 以及预设的服务质量控制策略得到; 相应的, 服务控制单元 62, 具体用于 根据所述服务质量控制指令, 对所述存储地址的访问进行服务质量控制。
本实施例的存储设备, 通过设置地址接收单元和服务控制单元等, 接 收数据对象在存储设备中对应的存储地址, 可以使得存储设备仅对该存储 地址的访问进行 Qos控制, 而不需要如现有技术那样只能整个 LUN进行控 制, 解决了 Qos控制方式存在的资源浪费及服务质量较低的问题, 节约了 存储系统的系统资源, 并提高了存储系统的服务质量, 更加能准确满足用 户需求。
实施例六
图 7为本发明存储系统服务质量控制系统实施例的结构示意图, 该控 制系统可以执行本发明任意实施例的存储设备服务质量控制方法, 本实施 例只是对该系统的结构做筒单描述, 其具体的工作原理可以结合参见本发 明方法实施例所述。
如图 7所示, 该存储系统服务质量控制系统可以包括主机 71、 存储设 备 72; 其中, 主机 71 , 用于获取预设的数据对象, 并根据预设的数据对象, 获取所述数据对象在存储设备中对应的存储地址, 将所述存储地址发送至 存储设备; 所述数据对象包括应用程序或者文件; 所述获取所述数据对象 在存储设备中对应的存储地址包括: 通过查询文件系统, 获取所述文件系 中 储 所 翁: 針象在 储 备中針 ^ ^-^ ^ 77..
于对所述存储地址的访问进行服务质量控制。
进一步的, 所述主机 71 , 还用于向所述存储设备发送与所述数据对象 对应的服务质量控制指令, 所述服务质量控制指令是所述主机根据所述存 储地址以及预设的与所述数据对象对应的服务质量控制策略得到; 相应的, 所述存储设备 72, 还用于根据所述服务质量控制指令, 对所述存储地址的 访问进行服务质量控制。
本实施例的存储系统服务质量控制系统, 通过主机获取数据对象在存 储设备中对应的存储地址, 并且存储设备仅对该存储地址的访问进行 Qos 控制, 而不需要如现有技术那样只能整个 LUN进行控制, 解决了 Qos控制 方式存在的资源浪费及服务质量较低的问题, 节约了存储系统的系统资源, 并提高了存储系统的服务质量, 更加能准确满足用户需求。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代 码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims
1、 一种存储设备服务质量控制方法, 其特征在于, 包括:
获取预设的数据对象, 并根据预设的数据对象, 获取所述数据对象 在存储设备中对应的存储地址, 所述数据对象包括应用程序或者文件; 所述获取所述数据对象在存储设备中对应的存储地址包括: 通过查询文 件系统, 获取所述文件系统中存储的所述数据对象在存储设备中对应的 存储地址;
将所述存储地址发送至存储设备, 以使得所述存储设备对所述存储 地址的访问进行服务质量控制。
2、根据权利要求 1所述的存储设备服务质量控制方法,其特征在于, 所述数据对象还包括热点数据对象, 所述获取所述数据对象在存储设备 中对应的存储地址之前, 还包括:
监控文件系统中的多个数据对象的访问, 并将访问频率达到预设值 的数据对象作为热点数据对象; 相应的,
所述获取所述数据对象在存储设备中对应的存储地址, 具体为: 获 取所述热点数据对象在存储设备中对应的存储地址。
3、根据权利要求 1所述的存储设备服务质量控制方法,其特征在于, 还包括:
在所述数据对象的存储属性发生变化时, 获取所述数据对象在存储 设备中对应的变化后的存储地址, 并发送给所述存储设备; 所述存储属 性包括所述数据对象所包括的数据数量、 或者数据位置。
4、根据权利要求 1所述的存储设备服务质量控制方法,其特征在于, 还包括:
获取预设的与所述数据对象对应的服务质量控制策略; 所述将所述 存储地址发送至存储设备, 以使得所述存储设备对所述存储地址的访问 进行服务质量控制包括:
将所述存储地址发送至存储设备, 并且根据所述存储地址以及所述 服务质量控制策略, 得到服务质量控制指令, 并将所述服务质量控制指 令发送至存储设备, 以使得所述存储设备根据所述服务质量控制指令, 对所述存储地址的访问进行服务质量控制。
5、根据权利要求 1所述的存储设备服务质量控制方法,其特征在于, 所述数据对象还包括文件系统的元数据;
所述获取数据对象在存储设备中对应的存储地址, 具体为: 获取所 述文件系统的元数据在存储设备中对应的存储地址;
所述将所述存储地址发送至存储设备, 以使得所述存储设备对所述 存储地址的访问进行服务质量控制, 具体为: 将所述元数据对应的存储 地址发送至存储设备, 以使得所述存储设备对所述元数据对应的存储地 址的访问进行服务质量控制。
6、 一种主机, 其特征在于, 包括:
地址识别单元, 用于获取预设的数据对象, 并根据预设的数据对象, 获取所述数据对象在存储设备中对应的存储地址, 所述数据对象包括应 用程序或者文件; 所述获取所述数据对象在存储设备中对应的存储地址 包括: 通过查询文件系统, 获取所述文件系统中存储的所述数据对象在 存储设备中对应的存储地址;
地址发送单元, 用于将所述存储地址发送至存储设备, 以使得所述 存储设备对所述存储地址的访问进行服务质量控制。
7、 根据权利要求 6所述的主机, 其特征在于, 所述数据对象还包括 热点数据对象, 所述主机还包括:
对象分析单元, 用于监控文件系统中的多个数据对象的访问, 并将 访问频率达到预设值的数据对象作为热点数据对象; 相应的,
所 ¾Ί单 . H用千兹 Ji又所 执 翁: 針象在 储 备中 对应的存储地址。
8、 根据权利要求 6所述的主机, 其特征在于,
所述地址识别单元,还用于在所述数据对象的存储属性发生变化时, 获取所述数据对象在存储设备中对应的变化后的存储地址, 并发送给所 述存储设备; 所述存储属性包括所述数据对象所包括的数据数量、 或者 数据位置。
9、 根据权利要求 6所述的主机, 其特征在于, 还包括:
策略配置单元, 用于获取预设的与数据对象对应的服务质量控制策 略;
指令生成单元,用于根据所述存储地址以及所述服务质量控制策略, 得到服务质量控制指令, 并将所述服务质量控制指令发送至存储设备, 以使得所述存储设备根据所述服务质量控制指令, 对所述存储地址的访 问进行服务质量控制。
10、 一种存储系统服务质量控制系统, 其特征在于, 包括主机、 存 储设备;
所述主机, 用于获取预设的数据对象, 并根据预设的数据对象, 获 取所述数据对象在存储设备中对应的存储地址, 将所述存储地址发送至 存储设备; 所述数据对象包括应用程序或者文件; 所述获取所述数据对 象在存储设备中对应的存储地址包括: 通过查询文件系统, 获取所述文 件系统中存储的所述数据对象在存储设备中对应的存储地址;
所述存储设备, 用于对所述存储地址的访问进行服务质量控制。
11、根据权利要求 10所述的存储系统服务质量控制系统, 其特征在 于,
所述主机, 还用于向所述存储设备发送与所述数据对象对应的服务 质量控制指令, 所述服务质量控制指令是所述主机根据所述存储地址以 ^ ¼ 所 翁: 象 ί ¼ m % ¾il: l ^ ^ . 所述存储设备, 还用于根据所述服务质量控制指令, 对所述存储地址 的访问进行服务质量控制。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP12839208.1A EP2618261B1 (en) | 2011-10-31 | 2012-08-02 | Qos control method and system for storage system |
US13/904,776 US9594518B2 (en) | 2011-10-31 | 2013-05-29 | Method, apparatus and system for controlling quality of service of storage system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110337131.5 | 2011-10-31 | ||
CN201110337131.5A CN102426552B (zh) | 2011-10-31 | 2011-10-31 | 存储系统服务质量控制方法、装置和系统 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/904,776 Continuation US9594518B2 (en) | 2011-10-31 | 2013-05-29 | Method, apparatus and system for controlling quality of service of storage system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013063965A1 true WO2013063965A1 (zh) | 2013-05-10 |
Family
ID=45960540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/079539 WO2013063965A1 (zh) | 2011-10-31 | 2012-08-02 | 存储系统服务质量控制方法、装置和系统 |
Country Status (5)
Country | Link |
---|---|
US (1) | US9594518B2 (zh) |
EP (1) | EP2618261B1 (zh) |
CN (1) | CN102426552B (zh) |
HU (1) | HUE038213T2 (zh) |
WO (1) | WO2013063965A1 (zh) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426552B (zh) * | 2011-10-31 | 2014-06-04 | 华为数字技术(成都)有限公司 | 存储系统服务质量控制方法、装置和系统 |
US9092327B2 (en) | 2012-12-10 | 2015-07-28 | Qualcomm Incorporated | System and method for allocating memory to dissimilar memory devices using quality of service |
CN104040477A (zh) * | 2012-12-31 | 2014-09-10 | 华为技术有限公司 | 一种存储资源调度方法及终端 |
US9400792B1 (en) * | 2013-06-27 | 2016-07-26 | Emc Corporation | File system inline fine grained tiering |
CN103677829B (zh) * | 2013-12-13 | 2016-08-17 | 北京同有飞骥科技股份有限公司 | 对象操作访问控制的方法 |
KR102257737B1 (ko) | 2014-08-12 | 2021-05-28 | 삼성전자 주식회사 | 전자장치의 처리량 제어장치 및 방법 |
US10509662B1 (en) * | 2014-11-25 | 2019-12-17 | Scale Computing | Virtual devices in a reliable distributed computing system |
US9489137B2 (en) * | 2015-02-05 | 2016-11-08 | Formation Data Systems, Inc. | Dynamic storage tiering based on performance SLAs |
CN105183375B (zh) * | 2015-08-31 | 2019-04-23 | 成都华为技术有限公司 | 一种热点数据的服务质量的控制方法和装置 |
CN105242878B (zh) * | 2015-09-30 | 2018-10-19 | 华为数字技术(成都)有限公司 | 一种QoS控制的方法及装置 |
CN105677240B (zh) * | 2015-12-30 | 2019-04-23 | 上海联影医疗科技有限公司 | 数据删除方法及系统 |
US10592171B2 (en) * | 2016-03-16 | 2020-03-17 | Samsung Electronics Co., Ltd. | Multi-stream SSD QoS management |
CN108494588A (zh) * | 2018-03-12 | 2018-09-04 | 深圳市瑞驰信息技术有限公司 | 一种集群块设备动态QoS配置的系统及方法 |
US10496571B1 (en) | 2019-02-12 | 2019-12-03 | International Business Machines Corporation | Quality of service guarantee in a distributed storage network |
US11316917B2 (en) | 2020-03-04 | 2022-04-26 | Samsung Electronics Co., Ltd. | Methods and apparatus for peer-to-peer data channels for storage devices |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060112155A1 (en) * | 2004-11-24 | 2006-05-25 | Agami Systems, Inc. | System and method for managing quality of service for a storage system |
CN101527736A (zh) * | 2009-04-09 | 2009-09-09 | 中兴通讯股份有限公司 | 分布式文件系统中业务内容处理、更新方法与装置 |
US20090228535A1 (en) * | 2005-10-08 | 2009-09-10 | Unmesh Rathi | Multiple quality of service file system using performance bands of storage devices |
CN102147709A (zh) * | 2010-02-05 | 2011-08-10 | Lsi公司 | 基于服务质量的存储分层与迁移技术的系统和方法 |
CN102426552A (zh) * | 2011-10-31 | 2012-04-25 | 成都市华为赛门铁克科技有限公司 | 存储系统服务质量控制方法、装置和系统 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7225211B1 (en) * | 2003-12-31 | 2007-05-29 | Veritas Operating Corporation | Multi-class storage mechanism |
US7441096B2 (en) * | 2004-07-07 | 2008-10-21 | Hitachi, Ltd. | Hierarchical storage management system |
US7779368B2 (en) | 2004-10-30 | 2010-08-17 | Hewlett-Packard Development Company, L.P. | Systems and methods for presenting managed data |
CN100437586C (zh) * | 2005-10-21 | 2008-11-26 | 中国科学院计算技术研究所 | 一种用于共享存储的资源分配方法和分配系统 |
US8010738B1 (en) * | 2008-06-27 | 2011-08-30 | Emc Corporation | Techniques for obtaining a specified lifetime for a data storage device |
CN101819543A (zh) * | 2010-02-01 | 2010-09-01 | 成都市华为赛门铁克科技有限公司 | 快照数据处理方法和系统以及存储设备 |
US9021229B2 (en) * | 2010-04-14 | 2015-04-28 | International Business Machines Corporation | Optimizing a file system for different types of applications in a compute cluster using dynamic block size granularity |
-
2011
- 2011-10-31 CN CN201110337131.5A patent/CN102426552B/zh active Active
-
2012
- 2012-08-02 EP EP12839208.1A patent/EP2618261B1/en active Active
- 2012-08-02 HU HUE12839208A patent/HUE038213T2/hu unknown
- 2012-08-02 WO PCT/CN2012/079539 patent/WO2013063965A1/zh active Application Filing
-
2013
- 2013-05-29 US US13/904,776 patent/US9594518B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060112155A1 (en) * | 2004-11-24 | 2006-05-25 | Agami Systems, Inc. | System and method for managing quality of service for a storage system |
US20090228535A1 (en) * | 2005-10-08 | 2009-09-10 | Unmesh Rathi | Multiple quality of service file system using performance bands of storage devices |
CN101527736A (zh) * | 2009-04-09 | 2009-09-09 | 中兴通讯股份有限公司 | 分布式文件系统中业务内容处理、更新方法与装置 |
CN102147709A (zh) * | 2010-02-05 | 2011-08-10 | Lsi公司 | 基于服务质量的存储分层与迁移技术的系统和方法 |
CN102426552A (zh) * | 2011-10-31 | 2012-04-25 | 成都市华为赛门铁克科技有限公司 | 存储系统服务质量控制方法、装置和系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2618261A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP2618261B1 (en) | 2017-12-13 |
EP2618261A1 (en) | 2013-07-24 |
US20130268738A1 (en) | 2013-10-10 |
EP2618261A4 (en) | 2014-08-13 |
CN102426552B (zh) | 2014-06-04 |
US9594518B2 (en) | 2017-03-14 |
CN102426552A (zh) | 2012-04-25 |
HUE038213T2 (hu) | 2018-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013063965A1 (zh) | 存储系统服务质量控制方法、装置和系统 | |
US10387202B2 (en) | Quality of service implementation in a networked storage system with hierarchical schedulers | |
US10185592B2 (en) | Network storage device using dynamic weights based on resource utilization | |
US10120720B2 (en) | Dynamic resource allocation based on data transferring to a tiered storage | |
US9747044B2 (en) | Interleaving read and write requests to reduce latency and maximize throughput in a flash storage device | |
US10409508B2 (en) | Updating of pinned storage in flash based on changes to flash-to-disk capacity ratio | |
US20150286413A1 (en) | Handling data block migration to efficiently utilize higher performance tiers in a multi-tier storage environment | |
CN111722786A (zh) | 基于NVMe设备的存储系统 | |
US9509612B1 (en) | Adaptive performance control of multi-stream data transfer from a source system to a target system | |
US11861196B2 (en) | Resource allocation method, storage device, and storage system | |
US11899580B2 (en) | Cache space management method and apparatus | |
US10387051B2 (en) | Acquisition of IOPS and MBPS limits independently at a scheduler in a scheduler hierarchy | |
US11281509B2 (en) | Shared memory management | |
US20170123975A1 (en) | Centralized distributed systems and methods for managing operations | |
JP2011081580A (ja) | 計算機システム及び計算機システムの入出力方法 | |
CN113377278A (zh) | 固态硬盘、垃圾回收及控制方法、设备、系统及存储介质 | |
US20160364145A1 (en) | System and Method for Managing a Non-Volatile Storage Resource as a Shared Resource in a Distributed System | |
KR20140029215A (ko) | 정보 처리 장치, 기록 매체 및 영역 해방 제어 방법 | |
US11442959B2 (en) | System and method of time-based snapshot synchronization | |
WO2012117451A1 (en) | Storage controller and method of controlling storage controller | |
JP2020046752A (ja) | 記憶装置及び情報処理システム | |
WO2014101197A1 (zh) | 一种存储资源调度方法及终端 | |
WO2009033971A1 (en) | System and method for splitting data and data control information | |
US20240104468A1 (en) | Maintenance background task regulation using feedback from instrumented waiting points | |
JP2009070359A (ja) | ハードディスクレス型コンピュータの起動効率を向上可能な広域通信網起動システム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 2012839208 Country of ref document: EP |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12839208 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |