CN110389710A - The method and apparatus for distributing storage resource - Google Patents

The method and apparatus for distributing storage resource Download PDF

Info

Publication number
CN110389710A
CN110389710A CN201810360439.3A CN201810360439A CN110389710A CN 110389710 A CN110389710 A CN 110389710A CN 201810360439 A CN201810360439 A CN 201810360439A CN 110389710 A CN110389710 A CN 110389710A
Authority
CN
China
Prior art keywords
target
service
storage
target service
grade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810360439.3A
Other languages
Chinese (zh)
Inventor
谭晓辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810360439.3A priority Critical patent/CN110389710A/en
Publication of CN110389710A publication Critical patent/CN110389710A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0622Securing storage systems in relation to access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Abstract

The application provides a kind of method and apparatus for distributing storage resource, this method comprises: receiving the storage resource distribution request that client is sent, storage resource distribution request distributes storage resource from storage system for requesting for target service, storage resource distribution request includes the instruction information of target line industry, and target industry is industry belonging to target service;The target industry according to belonging to target service, and in storage control preset industry and grade of service set corresponding relationship, determine the corresponding target service class set of target industry, it include multiple grades of service in target service class set, the storage performance of the corresponding memory resource pool of the difference grade of service is different in multiple grades of service;From target service class set, it is selected as the target service class that target service provides the memory resource pool of service;From the corresponding memory resource pool of target service class, target storage resource is distributed for target service.Be conducive to improve the utilization rate of storage resource in storage system.

Description

The method and apparatus for distributing storage resource
Technical field
This application involves the communications fields, and more particularly, to the method and apparatus of distribution storage resource.
Background technique
In order to the existing all kinds of storage equipment of real acquisition, future can also provide good scalability, simplify enterprise The complexity of the daily operation and maintenance supervising of industry IT department, industry propose the theory with outer control plane memory resource pool.Do not changing Under the premise of available data channel, realize that storage resource virtualizes in storage system, forms memory resource pool by management passage, Wherein, the corresponding grade of service of the storage performance of each memory resource pool.This, control plane memory resource pool promotes storage plant Storage strategy management and hardware are separated from by quotient, focus on demand of the different business to the grade of service of memory resource pool, benefit It is different business distribution and the business with the storage control (for example, controller of operation OceanStor DJ) in storage system The adaptable storage resource of the grade of service of required memory resource pool.
Currently, be the user of target service application storage resource, can by the user interface that is interacted with storage control, To the target service class of storage control input and the matched memory resource pool of target service, by storage control according to service The corresponding relationship of grade and memory resource pool, the corresponding memory resource pool of the selection target grade of service from storage system, finally Storage control distributes storage resource from the corresponding memory resource pool of target service class for target service.
For example, user interface of the user by interaction, is the grade of service to storage control input target service class, deposits Controller is stored up according to the corresponding relationship of the grade of service and memory resource pool, the storage of second service grade is selected from storage system Resource pool, last storage control are that target service distributes storage resource from the memory resource pool of second service grade.
User from the description above applies for that the process of storage resource can be seen that whole users for applying for storage resource For, storage control is all based on the target service class of user's input and the grade of service of memory resource pool and storage provides The corresponding relationship in source distributes storage resource for target service, and the method for this distribution storage resource is excessively rough, is unfavorable for rationally Use the storage resource in storage system.
Summary of the invention
The application provides a kind of method and apparatus for distributing storage resource, is conducive to the storage in reasonable employment storage system Resource.
In a first aspect, providing a kind of method for distributing storage resource, comprising: receive the storage resource point that client is sent With request, the storage resource distribution request distributes storage resource from storage system for requesting for target service, described to deposit Storage resource allocation request includes the instruction information of target industry, and the target industry is industry belonging to the target service;Root According to target industry belonging to the target service, and preset industry and grade of service set in the storage control Corresponding relationship determines the corresponding target service class set of the target industry, includes multiple clothes in the grade of service set It is engaged in grade, the storage performance of the corresponding memory resource pool of the different grades of service is different in the multiple grade of service;From the mesh It marks in grade of service set, is selected as the target service class that the target service provides the memory resource pool of service;From described In the corresponding memory resource pool of target service class, target storage resource is distributed for the target service.
Demand of the embodiment of the present application according to different industries to storage resource, the grade of service of classifying rationally memory resource pool Set is conducive to the utilization rate for improving storage resource in storage system with the storage resource in classifying rationally storage system.
It in one possible implementation, include a variety of differences in the corresponding relationship of above-mentioned industry and grade of service set Grade of service set.
In one possible implementation, described from the target service class set, it is selected as the target industry Business provides the target service class of the memory resource pool of service, comprising: from the target service class set, according to the mesh The corresponding relationship of mark business and business and the grade of service determines the target service class.
The embodiment of the present application is determined as by the corresponding relationship of the grade of service of the business and memory resource pool that prestore Target service provides the target service class of the memory resource pool of storage service, is based further on pair of business different in industry The demand of storage resource divides the storage resource in storage system, is conducive to the utilization rate for improving storage resource in storage system.
In one possible implementation, the target is selected as from the target service class set described Before business provides the target service class of the memory resource pool of service, the method also includes: receive the described of user's input Target service class.
In the embodiment of the present application, by way of to user presentation user interface, by user from target service class set The middle selection target grade of service, pair relative to storage control based on the business prestored and the grade of service of memory resource pool It should be related to, for the scheme of the selection target grade of service, be conducive to flexibly configure depositing for target service class for target service Store up resource.
In one possible implementation, before the storage resource distribution request that the reception client is sent, institute State method further include: obtain the performance parameter of target storage device, the performance parameter of the target storage device is based on described What the performance parameter of the disk of the performance parameter of the controller of target storage device and the target storage device determined;Root According to the performance parameter of the target storage device, and store pair of the performance parameter of equipment and the grade of service of memory resource pool It should be related to, determine the target service class of memory resource pool belonging to the target storage device;Creation belongs to the target clothes The memory resource pool for grade of being engaged in, the memory resource pool includes the target storage device.
The embodiment of the present application comprehensively considers the controller performance of target storage device and the disk of target storage device Can, determine the grade of service of the memory resource pool where target storage device.Be conducive to improve belonging to determining target storage device Memory resource pool the grade of service accuracy.
Second aspect, provide it is a kind of distribute storage resource device, described device include for execute first aspect or Modules in any possible implementation of first aspect.
The third aspect, provides a kind of storage control, and the storage control has the method for realizing above-mentioned various aspects Function in design.These functions can also execute corresponding software realization by hardware realization by hardware.It is described hard Part or software include one or more units corresponding with above-mentioned function.
Fourth aspect, provides a kind of computer program product, and the computer program product includes: computer program generation Code, when the computer program code is run on computers, so that computer executes the method in above-mentioned various aspects.
It should be noted that above-mentioned computer program code can be stored in whole or in part on the first storage medium, Wherein the first storage medium can be packaged together with processor, can also be individually encapsulated with processor, the embodiment of the present application This is not especially limited.
5th aspect, provides a kind of computer-readable medium, and the computer-readable medium storage has program code, when When the computer program code is run on computers, so that computer executes the method in above-mentioned various aspects.
6th aspect, provides a kind of chip system, which includes processor, for realizing institute in above-mentioned aspect The function being related to receives for example, generating, and sends, or data and/or information involved in the processing above method.One kind can In the design of energy, the chip system further includes memory, the memory, for saving necessary program instruction and data. The chip system, can be made of chip, also may include chip and other discrete devices.
7th aspect, provides a kind of processor, which includes: at least one circuit, for executing above-mentioned various aspects In method.It should be noted that above-mentioned processor can be chip or chip system, the embodiment of the present application does not make this to have Body limits.
Detailed description of the invention
Fig. 1 is the schematic block diagram of the storage system of the embodiment of the present application application.
Fig. 2 is the schematic flow chart of the method for the storage resource distribution of the embodiment of the present application.
Fig. 3 is the schematic flow chart of the method for the creation memory resource pool of the embodiment of the present application.
Fig. 4 is the schematic block diagram of the device of the distribution storage resource of the embodiment of the present application.
Fig. 5 is the schematic block diagram of the device of the creation memory resource pool of the embodiment of the present application.
Fig. 6 is the schematic block diagram of the controller of the embodiment of the present application.
Specific embodiment
Below in conjunction with attached drawing, the technical solution in the application is described.
Fig. 1 is the schematic block diagram of the storage system of the embodiment of the present application application.Storage system shown in FIG. 1 includes storage Controller 110 and storage equipment 120.
Storage control 110 stores money for managing the storage resource in storage system, and for different traffic assignments Source.
The storage control software of business driving can be run in above-mentioned storage control to realize the above-mentioned of storage control Function, wherein the storage control software of business driving can be OceanStor DJ.
The storage control software of above-mentioned business driving can be disposed with single node, i.e. the storage of operation business driving controls software Controller, can be a physical server or virtual machine.The storage control software of above-mentioned business driving can be with multinode The controller of deployment, i.e. the storage control software of operation business driving can be more physical servers or virtual machine.
Equipment 120 is stored, for providing storage resource.
Above-mentioned storage equipment can be multiple storage equipment of different manufacturers offer, wherein the storage performance phase of storage equipment Same or similar storage equipment may be constructed a memory resource pool, referring to the first memory resource pool and second shown in Fig. 1 Memory resource pool.Different memory resource pools can correspond to a grade of service in storage system.
In the conventional technology, user needs through user interface when requesting storage resource to storage control to depositing The target service class of the storage resource of controller input preparation request is stored up, as target service provides deposits needed for storage service Store up the target service class of resource pool;Storage control according to the grade of service of target service class and memory resource pool with The corresponding relationship of memory resource pool determines the corresponding memory resource pool of target service class;Last storage control takes from target In the corresponding memory resource pool of grade of being engaged in, storage resource is distributed for target service.
Storage control is based only on the grade of service of memory resource pool and the corresponding relationship of storage resource, is target service The method for distributing storage resource is excessively rough, the storage resource being unfavorable in reasonable employment storage system.Because using storage system User in system may be throughout all trades and professions, and when providing storage service for the business of different industries, the business pair of different industries The demand of the storage performance of the memory resource pool of the same grade of service is possible to be different.For example, in bank's industry, highest The time delay when memory resource pool of the grade of service provides storage service for business is lower than 3ms;In public security industry, highest service The time delay when memory resource pool of grade provides storage service for business is lower than 5ms.Therefore, the application provides a kind of storage money The distribution method in source, the storage resource in classifying rationally storage system are conducive to the utilization for improving storage resource in storage system Rate.
Below in conjunction with flow chart shown in Fig. 2, the method that a kind of storage resource distribution of the embodiment of the present application is described in detail. It should be understood that method shown in Fig. 2 can execute by the storage control in Fig. 1, method shown in Fig. 2 includes step 210 to step Rapid 230.
210, the storage resource distribution request that client is sent is received, the storage resource distribution request is for requesting from depositing Storage resource is distributed for target service in storage system, the storage resource distribution request includes the instruction information of target line industry, institute Stating target industry is industry belonging to the target service.
220, according to target industry belonging to the target service, and in the storage control preset industry with The corresponding relationship of grade of service set determines the corresponding target service class set of the target industry, the grade of service collection It include multiple grades of service in conjunction, the storage performance of the corresponding memory resource pool of the difference grade of service in the multiple grade of service It is different.
The grade of service set of above-mentioned grade of service set, that is, memory resource pool, is used to indicate the service etc. of memory resource pool The division mode of grade.The grade of service set of the corresponding memory resource pool of each industry is deposited it is to be understood that providing for the sector The memory resource pool of the total quantity and each grade of service for the grade of service that the memory resource pool of storage service can mark off Storage performance.
The above-mentioned storage resource for providing storage service for the sector can be whole storage resources in storage system, may be used also To be the part storage resource in storage system, the application is not limited this.
In addition, in the corresponding relationship of preset industry and grade of service set, at least two different corresponding clothes of industry Class set of being engaged in is different.Specifically, at least two different corresponding grade of service set difference of industry, it can be understood as, no The grade of service quantity of the same corresponding memory resource pool of industry can be different.For example, the corresponding memory resource pool of government industry Grade of service quantity can be 4, i.e. the corresponding memory resource pool of government industry can be divided into 4 grades of service.Bank The grade of service quantity of the corresponding memory resource pool of industry can be 3, i.e. the corresponding memory resource pool of bank's industry can be drawn It is divided into 3 grades of service.
At least two different corresponding grade of service set differences of industry, it is also understood that being, different industries are corresponding In grade of service set, the storage performance positioned at the memory resource pool of same services grade is different.For example, table 1 shows this Shen Please embodiment it is a kind of based on industry to the division mode of the grade of service set of memory resource pool.
Table 1
It can be seen that the service of memory resource pool shown in the table 1 based on division mode of the industry to grade of service set Grade can be divided into 3 different grades of service, respectively first service grade, second service grade and third service etc. Grade.Wherein, in the corresponding grade of service set of bank's industry grade of service set corresponding with manufacturing, identical service etc. The storage performance of the corresponding storage equipment of grade is different.For example, in the corresponding grade of service set of bank's industry, first service grade It is required that number (the Input/Output Operations Per that is written and read I/O operation per second to the memory space of 1TB Second, IOPS) it is 1000-2000 times, each read/write time delay is no more than 3 milliseconds (ms), and data protection mode is 3 data Center (Three Data Ceter, 3DC) Disaster Tolerant Scheme.In the corresponding grade of service set of manufacturing, first service grade It is required that the memory space to 1TB IOPS be 3000-4000 time, each read/write time delay be no more than 3 milliseconds (ms), data guarantor Shield mode is any one of local High Availabitity, dual-active and asynchronous replication.
230, from the target service class set, it is selected as the target service and the memory resource pool serviced is provided Target service class.
The selection target grade of service can be realized by two ways from target service class set.
Mode one, from the target service class set, according to the target service and business and memory resource pool The grade of service corresponding relationship, determine the target service class.
The corresponding relationship of the grade of service of above-mentioned business and memory resource pool, can be by Business Name and memory resource pool The corresponding relationship of the grade of service embodies, can also be as the type of service belonging to business and pair with the grade of service of memory resource pool It should be related to embodiment.The embodiment of the present application is not specifically limited in this embodiment.
Optionally, type of service belonging to the Business Name of above-mentioned target service or target service can be carried upper It states in storage resource distribution request.Type of service belonging to the Business Name or target service of above-mentioned target service can be with It is inputted from user by user interface to storage resource controller.
The grade of service of the corresponding memory resource pool of different business.Table 2 shows the another kind of the embodiment of the present application Based on industry to the division mode of memory resource pool grade of service set.
Table 2
That is, table 2 establishes the corresponding relationship of the grade of service of business and memory resource pool on the basis of table 1, It is determined as the service etc. that target service provides the memory resource pool of storage service in order to which storage control can be directly based upon table 2 Grade.
The embodiment of the present application is determined as by the corresponding relationship of the grade of service of the business and memory resource pool that prestore Target service provides the target service class of the memory resource pool of storage service, is based further on pair of business different in industry The demand of storage resource divides the storage resource in storage system, is conducive to the utilization rate for improving storage resource in storage system.
In addition, above-mentioned industry and the corresponding relationship of storage resource hierarchical organization and/or the service of business and memory resource pool The corresponding relationship of grade finally can be conducted into storage control by the storage administrator of storage system by industry specialists editor In.
Mode two passes through user interface selection target grade of service from target service class set by user.That is, in step Before rapid 230, the method also includes: receive the target service class of user's input.
Specifically, storage control can with target service class set by user interface to user present, by user from Target storage service grade is selected as in target service class set.
In the embodiment of the present application, by way of to user presentation user interface, by user from target service class set The middle selection target grade of service, pair relative to storage control based on the business prestored and the grade of service of memory resource pool It should be related to, for the scheme of the selection target grade of service, be conducive to flexibly configure depositing for target service class for target service Store up resource.
240, from the corresponding memory resource pool of the target service class, target storage money is distributed for the target service Source.
That is, determining the target clothes according to the corresponding relationship of target service class and the grade of service and memory resource pool The corresponding memory resource pool of grade of being engaged in, and mesh is distributed from the corresponding memory resource pool of the target service class for target service Storage resource is marked, wherein target storage resource is provides the storage resource of storage service for the target service.
In the prior art, in the process for establishing memory resource pool, it is typically based on the storage performance of memory resource pool, determination is deposited Store up the corresponding grade of service of resource pool.The mode in this establishing resource pond is inaccurate, and the storage in memory resource pool is set For standby, the disk of the controller and storage equipment that store equipment is important as two for restricting the storage performance for storing equipment Component needs to comprehensively consider the performance of both parts, to determine the grade of service of the memory resource pool where storing equipment.Under The method that the creation memory resource pool of the embodiment of the present application is described in detail in conjunction with Fig. 3 for text.
Fig. 3 is the schematic flow chart of the method for the creation memory resource pool of the embodiment of the present application.It should be understood that shown in Fig. 3 Method can storage control as shown in Figure 1 execute.Method shown in Fig. 3 includes step 310 to step 330.
310, the performance parameter of target storage device is obtained, the performance parameter of the target storage device is based on the mesh What the performance parameter of the disk of the performance parameter and target storage device of the controller of mark storage equipment determined.
The performance parameter of the controller of target storage device includes the ability of the broadband limit and processor, the middle width strip limit Including front end cassette tape wide limits, rear end cassette tape wide limits and mirror-image channels bandwidth limit;Processor ability includes disk array The processor computing resource that (Redundant Arrays of Independent Disks, RAID) rank occupies reads and writes ratio The processor computing resource of occupancy, input output request (Input/Output, IO) size occupy processor computing resource with And the processor computing resource that memory size occupies.
The disk performance of target storage device includes that RAID level influences disk performance, the performance of single layer disk, classification The disk performance and breeding property of storage.
After target device accesses storage system, the parameter of the storage performance for determining target storage device, i.e. target The controller parameter of equipment and the disk performance of target storage device are stored, different interface polls can be passed through.For example, can be with By the product type of system interface polls target storage device, pass through the software of system interface polls target storage device Version passes through License interface polls mesh by the controller chassis cache size of CONTROLLER interface polls target storage device Whether mark storage equipment supports the functions such as duplication, snapshot and dual-active, passes through solid-state in disk interface polls targeted memory controller Hard disk (Solid State Drives, SSD) model and quantity, pass through hard disk (disk) interface polls target storage device SAS disc-type and quantity.
After the controller parameter and disk parameter for obtaining target storage device, target can be calculated by above-mentioned parameter and deposited Store up the storage performance of equipment.Specifically, the performance of target storage device can be embodied from least one of three kinds of parameters parameter: IOPS, bandwidth and time delay.
The assessment algorithm of IOPS and time delay is introduced in detail below.
One, IOPS assessment algorithm
IOPS assessment algorithm under random small IO scene is based on RAID principle and Cache hits principle, comprehensively considers to write and punish It penalizes and the factors such as caching (Cache) hit rate.Wherein, writing punishment is since RAID is realizes data protection, when data are written It needs that check bit is written simultaneously, brings additional IO expense;Cache hit rate be due to repeated data read-write or prefetching algorithm, Part read-write IO is hit in Cache, to reduce the IO of lower wall, the ratio of the total IO of IO Zhan hit in Cache is Cache hit rate.
Specifically, the total IOPS=disk single-deck IOPS × number of disks of disk, and IO amplification coefficient=reading ratio × (100%- read hit rate)+write ratio × (100%- writes hit rate) × writes penalty coefficient, then the IOPS of target storage device can To be calculated by the following formula:
Wherein, writing choosing for penalty coefficient can determine according to the RAID level of target storage device support, such as in table 3 It is shown.
Table 3
RAID level Write penalty coefficient
RAID 0 1
RAID 10 2
RAID 5 4
RAID 6 6
RAID 3 4
RAID 50 4
Two, time delay assessment algorithm
Time delay under random small IO scene can determine by the time delay of three parts IO, i.e., more lower walls read part IO when Prolong, Cache read hit part IO time delay and write-back IO time delay weighted calculation obtain, in addition it is also contemplated that writing IO to reading Influence COMPREHENSIVE CALCULATING of the time delay influence and I O size of IO to time delay.
For example, including Serial Attached SCSI (SAS) disk (Serial Attached SCSI, SAS), SATA in target storage device (Serial ATA) hard disk and NLSAS disk.In target storage device multilayer disk lower wall read weighting time delay=reading ratio × (100%- reads hit rate) (solid-state hard disk SSD disk reads time delay × SSD disk pressure ratio+server hard disc SAS disk and reads time delay × SAS Disk pressure ratio+NLSAS disk reads time delay × NLSAS disk pressure ratio) it writes to impact factor is read, read weighting time delay=reading ratio of hit × read hit rate × reading hit rate time delay, write-back weights time delay=(100%- read ratio) write-back time delay, then average delay= (multilayer disk lower wall reads weighting time delay+reading hit partial weighting time delay+write-back and weights time delay) I O size impact factor.
Wherein, it has been set forth below under several frequently seen scene, the selection side of each parameter in the formula of above-mentioned calculating average delay Formula.
200GB/400GB/600GB SSD disk is read time delay value and is fixed are as follows: 0.75ms;
900GB/1.8TB/3.6TB SSD disk reads time delay value: only when SSD, time delay value is according to I O size, disk pressure Than taking corresponding time delay referring to table 4;When more than SSD disk, time delay takes time delay when 80% pressure ratio.
Table 4
10K SAS disk reads time delay value: 12ms;
15K SAS disk reads time delay value: 10ms;
NL-SAS disk reads time delay value: 20ms;
Read hit time delay: 0.5ms;
Write-back time delay (including writing hit time delay): 1ms;
Write to reading impact factor: -0.6* reads ratio+1.6;
I O size impact factor: when I O size is 4K or 8K, I O size impact factor can take 1;When I O size is 16K When, I O size impact factor can take 1.05;When I O size is 32K, I O size impact factor can take 1.2;Work as I O size When for 64K, I O size impact factor can take 1.6.
The total IOPS of offer IOPS/ of SSD disk pressure ratio=SSD layers;
SSD disk pressure ratio+SAS disk pressure ratio+NLSAS disk pressure ratio=100%.
For example, target storage device uses the classification storage configuration of SSD and 10K SAS, need to assess in I O size is 16KB, Than being 7:3, reading hit rate is the average delay in the case of 10% for read-write, and wherein SSD provides 20000IOPS altogether, and 10K SAS is total Provide 5000IOPS, then:
Multilayer disk lower wall reads weighting time delay=reading ratio × (100%- reads hit rate) (SSD disk reading time delay * SSD disk pressure Power ratio+SAS disk reads time delay × SAS disk pressure ratio) it writes to reading impact factor
=70% × (100%-10%) * (0.5 × 20000/25000+12 × 5000/25000) 1.3=2.49;
Read hit partial weighting time delay=reading ratio × reading hit rate × reading hit rate time delay=70%*10%*1= 0.07;
Write-back weights time delay=(100%- reads ratio) write-back time delay=(100%-70%) × 1=0.3;
Then, average delay=(multilayer disk lower wall reads weighting time delay+reading hit partial weighting time delay+write-back and weights time delay) I O size impact factor=(2.49+0.07+0.3) 1.05=3ms.
320, according to the performance parameter of the target storage device, and the performance parameter and memory resource pool of storage equipment The grade of service corresponding relationship, determine the target service class of memory resource pool belonging to the target storage device.
330, creation belongs to the memory resource pool of the target service class, and the memory resource pool includes that the target is deposited Store up equipment.
Above in association with the method that Fig. 1 to Fig. 3 is described in detail by the embodiment of the present application, simply it is situated between below in conjunction with fig. 4 to fig. 6 The device of the embodiment of the present application that continues, it should be appreciated that methods as described herein above may be implemented in device shown in fig. 4 to fig. 6, in order to Succinctly, details are not described herein.
Fig. 4 is the schematic block diagram of the device of the distribution storage resource of the embodiment of the present application.Device 400 shown in Fig. 4 wraps Include receiving module 410, determining module 420, selecting module 430 and distribution module 440.
Receiving module 410, for receiving the storage resource distribution request of client transmission, the storage resource distribution request For requesting to distribute storage resource from storage system for target service, the storage resource distribution request includes target line industry Indicate that information, the target industry are industry belonging to the target service;
Determining module 420, for the target industry according to belonging to the target service, and in the storage control The corresponding relationship of preset industry and grade of service set determines the corresponding target service class set of the target industry, institute Stating includes multiple grades of service in grade of service set, the corresponding storage resource of the difference grade of service in the multiple grade of service The storage performance in pond is different;
Selecting module 430 provides service for from the target service class set, being selected as the target service The target service class of memory resource pool;
Distribution module 440, for dividing from the corresponding memory resource pool of the target service class for the target service With target storage resource.
Optionally, as one embodiment, the selecting module is specifically used for: from the target service class set, According to the corresponding relationship of the target service and business and the grade of service, the target service class is determined.
Optionally, as one embodiment, the receiving module is also used to receive the destination service etc. of user's input Grade.
Fig. 5 is the schematic block diagram of the device of the creation memory resource pool of the embodiment of the present application.Device 500 shown in fig. 5 It include: to obtain module 510, determining module 520 and creation module 530.
Module 510 is obtained, for obtaining the performance parameter of target storage device, the performance parameter of the target storage device Be the controller based on the target storage device performance parameter and the target storage device disk performance parameter Determining;
Determining module 520, for the performance parameter according to the target storage device, and the performance parameter of storage equipment With the corresponding relationship of the grade of service of memory resource pool, the target clothes of memory resource pool belonging to the target storage device are determined Business grade;
Creation module 530, for creating the memory resource pool for belonging to the target service class, the memory resource pool packet Include the target storage device.
In an alternate embodiment of the invention, the receiving module 410 can be input/output interface 630, the determining module 420, selecting module 430 and distribution module 440 can be processor 620, and controller 600 can also include memory 610, specifically As shown in Figure 6.
In an alternate embodiment of the invention, the acquisition module 510 can be input/output interface 630, the determining module 520 It can be processor 620 with creation module 530, controller 600 can also include memory 610, specific as shown in Figure 6.
Fig. 6 is the schematic block diagram of the controller of the embodiment of the present application.Controller 600 shown in fig. 6 may include: storage Device 610, processor 620 and input/output interface 630.Wherein, memory 610, processor 620 and input/output interface 630 It is connected by internal connecting path, for storing instruction, which deposits the memory 610 for executing the memory 620 The instruction of storage, to control the data and information that input/output interface 630 receives input, the data such as output operating result.
It should be understood that in the embodiment of the present application, which can use general central processing unit (Central Processing Unit, CPU), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, for executing relative program, to realize the application Technical solution provided by embodiment.
It should also be understood that transceiver 640 is also known as communication interface, using the R-T unit of such as, but not limited to transceiver one kind, To realize the communication between terminal 600 and other equipment or communication network.
The memory 610 may include read-only memory and random access memory, and to processor 620 provide instruction and Data.The a part of of processor 620 can also include nonvolatile RAM.For example, processor 620 can also be deposited Store up the information of device type.
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor 620 Or the instruction of software form is completed.The method in conjunction with disclosed in the embodiment of the present application can be embodied directly in hardware processor and hold Row complete, or in processor hardware and software module combine execute completion.Software module can be located at random access memory, This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation In storage medium.The storage medium is located at memory 610, and processor 620 reads the information in memory 610, in conjunction with its hardware The step of completing the above method.To avoid repeating, it is not detailed herein.
It should be understood that the processor can be central processing unit (central processing in the embodiment of the present application Unit, CPU), which can also be other general processors, digital signal processor (digital signal Processor, DSP), it is specific integrated circuit (application specific integrated circuit, ASIC), existing At programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also To be any conventional processor etc..
It should be understood that in the embodiment of the present application, " B corresponding with A " indicates that B is associated with A, B can be determined according to A.But It should also be understood that determining that B is not meant to determine B only according to A according to A, B can also be determined according to A and/or other information.
It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression can deposit In three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B. In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should be understood that magnitude of the sequence numbers of the above procedures are not meant to execute suitable in the various embodiments of the application Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present application Process constitutes any restriction.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another Web-site, computer, server or data center are transmitted.The computer readable storage medium can be computer capacity Any usable medium enough read either includes that the data such as one or more usable mediums integrated server, data center are deposited Store up equipment.The usable medium can be magnetic medium, and (for example, floppy disk, hard disk, tape), optical medium are (for example, digital universal CD (Digital Video Disc, DVD)) or semiconductor medium (for example, solid state hard disk (Solid State Disk, SSD)) etc..
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of method for distributing storage resource, which is characterized in that executed by storage control, comprising:
The storage resource distribution request that client is sent is received, the storage resource distribution request is for requesting from storage system Storage resource is distributed for target service, the storage resource distribution request includes the instruction information of target line industry, the target line Industry is industry belonging to the target service;
According to target industry belonging to the target service, and preset industry and the grade of service in the storage control The corresponding relationship of set determines the corresponding target service class set of the target industry, includes in the grade of service set Multiple grades of service, the storage performance of the corresponding memory resource pool of the different grades of service is different in the multiple grade of service;
From the target service class set, it is selected as the destination service that the target service provides the memory resource pool of service Grade;
From the corresponding memory resource pool of the target service class, target storage resource is distributed for the target service.
2. the method as described in claim 1, which is characterized in that it is described from the target service class set, it is selected as institute State the target service class that target service provides the memory resource pool of service, comprising:
From the target service class set, according to the corresponding relationship of the target service and business and the grade of service, really The fixed target service class.
3. the method as described in claim 1, which is characterized in that described from the target service class set, be selected as Before the target service provides the target service class of the memory resource pool of service, the method also includes:
Receive the target service class of user's input.
4. method as claimed in any one of claims 1-3, which is characterized in that in the storage money that the reception client is sent Before the distribution request of source, the method also includes:
The performance parameter of target storage device is obtained, the performance parameter of the target storage device is set based on the target storage What the performance parameter of the disk of the performance parameter of standby controller and the target storage device determined;
According to the performance parameter of the target storage device, and store the service etc. of the performance parameter and memory resource pool of equipment The corresponding relationship of grade, determines the target service class of memory resource pool belonging to the target storage device;
Creation belongs to the memory resource pool of the target service class, and the memory resource pool includes the target storage device.
5. a kind of device for distributing storage resource characterized by comprising
Receiving module, for receiving the storage resource distribution request of client transmission, the storage resource distribution request is for asking It asks and distributes storage resource from storage system for target service, the storage resource distribution request includes the instruction letter of target line industry Breath, the target industry are industry belonging to the target service;
Determining module, it is preset for the target industry according to belonging to the target service, and in the storage control The corresponding relationship of the grade of service set of industry and memory resource pool determines the corresponding target service class collection of the target industry It closes, includes multiple grades of service in the grade of service set, different in the multiple grade of service grade of service is corresponding deposits The storage performance for storing up resource pool is different;
Selecting module provides the storage money of service for from the target service class set, being selected as the target service The target service class in source pond;
Distribution module, for distributing target for the target service from the corresponding memory resource pool of the target service class Storage resource.
6. device as claimed in claim 5, which is characterized in that the selecting module is specifically used for:
From the target service class set, according to the corresponding relationship of the target service and business and the grade of service, really The fixed target service class.
7. device as claimed in claim 5, which is characterized in that the receiving module is also used to receive the described of user's input Target service class.
8. the device as described in any one of claim 5-7, which is characterized in that described device further include:
Module is obtained, for obtaining the performance parameter of target storage device, the performance parameter of the target storage device is to be based on The performance parameter of the disk of the performance parameter of the controller of the target storage device and the target storage device determines 's;
Determining module, for the performance parameter according to the target storage device, and the performance parameter and storage of storage equipment The corresponding relationship of the grade of service of resource pool determines the destination service etc. of memory resource pool belonging to the target storage device Grade;
Creation module, for creating the memory resource pool for belonging to the target service class, the memory resource pool includes described Target storage device.
9. a kind of computer-readable medium, which is characterized in that the computer-readable medium storage has program code, when the meter When calculation machine program code is run on computers, so that computer executes such as method of any of claims 1-4.
10. a kind of storage control, which is characterized in that the storage control includes processor and memory, wherein described deposit Reservoir for storing computer program, the processor is used to that the computer program to be called and run from the memory, So that method described in any one of described storage control perform claim requirement 1 to 4.
CN201810360439.3A 2018-04-20 2018-04-20 The method and apparatus for distributing storage resource Pending CN110389710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810360439.3A CN110389710A (en) 2018-04-20 2018-04-20 The method and apparatus for distributing storage resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810360439.3A CN110389710A (en) 2018-04-20 2018-04-20 The method and apparatus for distributing storage resource

Publications (1)

Publication Number Publication Date
CN110389710A true CN110389710A (en) 2019-10-29

Family

ID=68283777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810360439.3A Pending CN110389710A (en) 2018-04-20 2018-04-20 The method and apparatus for distributing storage resource

Country Status (1)

Country Link
CN (1) CN110389710A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026336A (en) * 2019-12-26 2020-04-17 中国建设银行股份有限公司 Automatic operation and maintenance method and operation and maintenance system of SAN storage system
CN111158595A (en) * 2019-12-27 2020-05-15 中国建设银行股份有限公司 Enterprise-level heterogeneous storage resource scheduling method and system
CN111818122A (en) * 2020-05-28 2020-10-23 北京航空航天大学 Flow fairness-based wide area network data prefetching method
CN112965806A (en) * 2021-03-26 2021-06-15 北京汇钧科技有限公司 Method and apparatus for determining resources
CN113610372A (en) * 2021-07-27 2021-11-05 远景智能国际私人投资有限公司 Method, device, terminal and readable storage medium for determining service level agreement
CN114442962A (en) * 2022-02-15 2022-05-06 北京百度网讯科技有限公司 Data reading method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581339A (en) * 2013-11-25 2014-02-12 广东电网公司汕头供电局 Storage resource allocation monitoring and processing method based on cloud computing
CN103595815A (en) * 2013-11-25 2014-02-19 广东电网公司汕头供电局 Method for distributing storage resources based on cloud computing
CN103605615A (en) * 2013-11-21 2014-02-26 浪潮电子信息产业股份有限公司 Block-level-data-based directional allocation method for hierarchical storage
CN104717247A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Method and system for dynamically scheduling storage resources in cloud storage system
CN106528612A (en) * 2016-09-29 2017-03-22 河海大学 Distributed retrieval system and method oriented to industry metadata registration
CN106973119A (en) * 2017-05-17 2017-07-21 国网山东省电力公司信息通信公司 A kind of electric power enterprise storage resource management system
CN107291752A (en) * 2016-04-01 2017-10-24 中国电信股份有限公司 Data Migration control method and system based on service-aware
CN107766343A (en) * 2016-08-15 2018-03-06 华为软件技术有限公司 A kind of date storage method, device and storage server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605615A (en) * 2013-11-21 2014-02-26 浪潮电子信息产业股份有限公司 Block-level-data-based directional allocation method for hierarchical storage
CN103581339A (en) * 2013-11-25 2014-02-12 广东电网公司汕头供电局 Storage resource allocation monitoring and processing method based on cloud computing
CN103595815A (en) * 2013-11-25 2014-02-19 广东电网公司汕头供电局 Method for distributing storage resources based on cloud computing
CN104717247A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Method and system for dynamically scheduling storage resources in cloud storage system
CN107291752A (en) * 2016-04-01 2017-10-24 中国电信股份有限公司 Data Migration control method and system based on service-aware
CN107766343A (en) * 2016-08-15 2018-03-06 华为软件技术有限公司 A kind of date storage method, device and storage server
CN106528612A (en) * 2016-09-29 2017-03-22 河海大学 Distributed retrieval system and method oriented to industry metadata registration
CN106973119A (en) * 2017-05-17 2017-07-21 国网山东省电力公司信息通信公司 A kind of electric power enterprise storage resource management system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026336A (en) * 2019-12-26 2020-04-17 中国建设银行股份有限公司 Automatic operation and maintenance method and operation and maintenance system of SAN storage system
CN111158595A (en) * 2019-12-27 2020-05-15 中国建设银行股份有限公司 Enterprise-level heterogeneous storage resource scheduling method and system
CN111158595B (en) * 2019-12-27 2023-05-23 中国建设银行股份有限公司 Enterprise-level heterogeneous storage resource scheduling method and system
CN111818122A (en) * 2020-05-28 2020-10-23 北京航空航天大学 Flow fairness-based wide area network data prefetching method
CN112965806A (en) * 2021-03-26 2021-06-15 北京汇钧科技有限公司 Method and apparatus for determining resources
WO2022199204A1 (en) * 2021-03-26 2022-09-29 北京汇钧科技有限公司 Method and apparatus for determining resources
CN112965806B (en) * 2021-03-26 2023-08-04 北京汇钧科技有限公司 Method and device for determining resources
CN113610372A (en) * 2021-07-27 2021-11-05 远景智能国际私人投资有限公司 Method, device, terminal and readable storage medium for determining service level agreement
CN114442962A (en) * 2022-02-15 2022-05-06 北京百度网讯科技有限公司 Data reading method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110389710A (en) The method and apparatus for distributing storage resource
US11086523B2 (en) Automatic tiering of storage using dynamic grouping
CN102841761B (en) Storage system
US8838851B2 (en) Techniques for path selection
WO2015081757A1 (en) Cold and hot data identification threshold calculation method, apparatus and system
US9569268B2 (en) Resource provisioning based on logical profiles and objective functions
CN103797770A (en) Method and system for sharing storage resources
CN101510145B (en) Storage system management method and apparatus
US8745326B2 (en) Request priority seek manager
CN106873903B (en) Data storage method and device
CN103577115B (en) Arrangement processing method, device and the server of data
US10802757B2 (en) Automated management of write streams for multi-tenant storage
CN109213696A (en) Method and apparatus for cache management
US20070180214A1 (en) System and method for dynamic striping in a storage array
CN107908571A (en) A kind of method for writing data, flash memory device and storage device
US7590800B2 (en) 2D dynamic adaptive data caching
CN104216664B (en) Network volume creation method, date storage method, storage device and storage system
US10019195B1 (en) Storage array health score
CN101997919B (en) Storage resource management method and device
US20130111125A1 (en) Shared cache module and method thereof
CN103645995B (en) Write the method and device of data
US20130086317A1 (en) Passing hint of page allocation of thin provisioning with multiple virtual volumes fit to parallel data access
CN107729200A (en) The method of testing and relevant apparatus of a kind of performance of storage system
CN106155910A (en) A kind of methods, devices and systems realizing internal storage access
CN109783000A (en) A kind of data processing method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191029