CN104915146A - Resource distribution method and device based on automatic thin provisioning - Google Patents

Resource distribution method and device based on automatic thin provisioning Download PDF

Info

Publication number
CN104915146A
CN104915146A CN201410096440.1A CN201410096440A CN104915146A CN 104915146 A CN104915146 A CN 104915146A CN 201410096440 A CN201410096440 A CN 201410096440A CN 104915146 A CN104915146 A CN 104915146A
Authority
CN
China
Prior art keywords
resource
current
partition size
physical resource
physical
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
CN201410096440.1A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410096440.1A priority Critical patent/CN104915146A/en
Priority to PCT/CN2014/083342 priority patent/WO2015135281A1/en
Publication of CN104915146A publication Critical patent/CN104915146A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space 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/0608Saving storage space on 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/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/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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • 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/0673Single storage device

Abstract

The invention discloses a resource distribution method and device based on automatic thin provisioning. The resource distribution method based on automatic thin provisioning includes the steps that space non-distributed physical resources corresponding to a current I/O in thin provisioning volume are determined; under the condition that the physical resources of a thin provisioning resource pool to which the thin-provisioning volume belongs are all distributed or reach a threshold value, the current resource distribution particle size is switched into a new resource distribution particle size which is smaller than the current resource distribution particle size; the physical resources are distributed for the space corresponding to the current I/O through the new resource distribution particle size. Through the resource distribution method and device based on automatic thin provisioning, the conflict between the space utilization rate of the automatic thin provisioning volume and the performance of the I/O can be effectively balanced.

Description

Based on resource allocation methods and the device of automatically simplifying configuration
Technical field
The present invention relates to the communications field, in particular to a kind of resource allocation methods and device based on automatically simplifying configuration.
Background technology
In traditional storage system, when a certain application needs a part of storage space time, from back end storage system, mark off the enough large space of a part often in advance allocates in advance to this application, even if this application temporarily does not need to use so large storage space, but because this part storage space has been reserved out, other application program cannot utilize these to have disposed but idle memory capacity.This allocation model makes the stored number of leaving unused constantly increase on the one hand, and overall system has cost and raises; User has to buy larger memory capacity on the other hand, and just can conform, cost strengthens further.
Automatically simplifying configuration is the technology that a new capacity distributes, a certain application can not be given in the excessive space of disposable division, but the capacity required for this application reality, repeatedly a small amount of distributes to application program, increase when this applies the data produced, time the volume space of distributing is inadequate, system again can be supplemented and be distributed a part of storage space from the storage pool of rear end.The cost of user's first purchase is reduced by thin provisioning.
But use and automatically simplify the decline that configuration can bring performance, because the action distributed before writing can increase I/O(Input Output on the one hand, input and output) time delay, in addition on the one hand, because multiple volume is from a resource pool allocation space, must cause in the physical space of continuous print spatial mappings in simplification volume discontinuous, the I/O read-write of order originally becomes random, causes hydraulic performance decline.
The granularity of automatically simplifying configuration use directly determines the effect of simplifying, when granularity is larger, a little I/O will distribute one large section of space, cause the weak effect of simplifying, and granularity more hour, the delay distributed before writing, the size of mapping table, the out of order impact on performance that I/O feature stores on dish will be larger.As can be seen here, the granularity that employing one is fixing is difficult to change and the demand of adaptation business.
Automatically simplify configuration for adopting fixing granularity in correlation technique and be difficult to the change of adaptation business and the problem of demand, not yet propose effective solution at present.
Summary of the invention
The invention provides a kind of resource allocation methods and device based on automatically simplifying configuration, at least to solve the problem.
According to an aspect of the present invention, providing a kind of resource allocation methods based on automatically simplifying configuration, comprising: the unallocated physical resource in space determining to correspond in simplification volume current input and output I/O; When the physical resource of simplifying resource pool belonging to simplification volume has been assigned or has reached threshold value, Current resource partition size is switched to new resources partition size, wherein, new resources partition size is less than Current resource partition size; New resources partition size is used to be the allocation of space physical resource corresponding to current I/O.
Preferably, Current resource partition size and new resources partition size comprise: multiple resource allocation granularity pre-set varied in size.
Preferably, Current resource partition size is switched to new resources partition size, comprise: the Physical Resource Block of simplifying resource pool is switched to according to the second assignment bit map display according to from the first assignment bit map display, and the Physical Resource Block corresponding to the first assignment bit map in the second assignment bit map is designated distribution state, other Physical Resource Block is designated idle condition, wherein, the first assignment bit map corresponds to Current resource partition size, and the second assignment bit map corresponds to new resources partition size; According to new resources partition size, current physical mapping relations are updated to new physics resource mapping relation, wherein, current physical mapping relations and new physics resource mapping relation refer to the corresponding relation of simplifying in resource pool between all Physical Resource Block and all simplification volume.
Preferably, after use new resources partition size is the allocation of space physical resource corresponding to current I/O, comprises: current I/O is issued on the physical resource of distribution, perform the write operation that current I/O is corresponding.
Preferably, unallocated complete or when not reaching threshold value at the physical resource of simplifying resource pool belonging to simplification volume, comprising: be the allocation of space physical resource corresponding to current I/O according to Current resource partition size; Current I/O is issued on the physical resource of distribution, performs the write operation that current I/O is corresponding.
Preferably, before determining to correspond in simplification volume the unallocated physical resource in space of current input and output I/O, comprising: when current I/O arrives simplification volume, judge whether the space corresponding to current I/O is assigned with physical resource.
Preferably, when the space determining to correspond to current I/O has been assigned with physical resource, has comprised: current I/O is issued on the physical resource of distribution, performed the write operation that current I/O is corresponding.
According to a further aspect in the invention, provide a kind of resource allocation device based on automatically simplifying configuration, comprise: determination module, for determining the unallocated physical resource in space corresponding to current input and output I/O in simplification volume, and the physical resource of simplifying resource pool belonging to simplification volume has been assigned or has reached threshold value; Handover module, for Current resource partition size is switched to new resources partition size, wherein, new resources partition size is less than Current resource partition size; Distribution module is the allocation of space physical resource corresponding to current I/O for using new resources partition size.
Preferably, Current resource partition size and new resources partition size comprise: multiple resource allocation granularity pre-set varied in size.
Preferably, handover module comprises: the first processing unit, for the Physical Resource Block of simplifying resource pool is switched to according to the second assignment bit map display according to from the first assignment bit map display, and the Physical Resource Block corresponding to the first assignment bit map in the second assignment bit map is designated distribution state, other Physical Resource Block is designated idle condition, wherein, the first assignment bit map corresponds to Current resource partition size, and the second assignment bit map corresponds to new resources partition size; Second processing unit, for current physical mapping relations being updated to new physics resource mapping relation according to new resources partition size, wherein, current physical mapping relations and new physics resource mapping relation refer to the corresponding relation of simplifying in resource pool between all Physical Resource Block and all simplification volume.
Pass through the present invention, adopt and constantly reduce resource allocation granularity, and use more and more less resource allocation granularity for distributing the mode of physical resource, solve in correlation technique and adopt fixing granularity automatically to simplify the very difficult change of adaptation business of configuration and the problem of demand, and then reach the effect of the contradiction between the space availability ratio of the automatic simplification volume of active balance and I/O performance.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 be according to the embodiment of the present invention based on the resource allocation methods process flow diagram of automatically simplifying configuration;
Fig. 2 be according to the embodiment of the present invention based on the structured flowchart of resource allocation device of automatically simplifying configuration;
Fig. 3 is the structured flowchart being preferably based on the resource allocation device of automatically simplifying configuration according to the embodiment of the present invention;
Fig. 4 is the schematic diagram of automatically simplifying configuration change of granularity according to the preferred embodiment of the invention;
Fig. 5 is that simplification volume writes the processing flow chart of I/O according to the preferred embodiment of the invention;
Fig. 6 is the processing flow chart of simplification volume change of granularity according to the preferred embodiment of the invention;
Fig. 7 is the granularity handoff procedure schematic diagram of simplification volume according to the preferred embodiment of the invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Embodiments provide a kind of resource allocation methods based on automatically simplifying configuration.Fig. 1 be according to the embodiment of the present invention based on the resource allocation methods process flow diagram of automatically simplifying configuration, as shown in Figure 1, the method mainly comprises the following steps (step S102-step S106):
Step S102, determines the unallocated physical resource in space corresponding to current input and output I/O in simplification volume;
Step S104, when the physical resource of simplifying resource pool belonging to simplification volume has been assigned or has reached threshold value, Current resource partition size is switched to new resources partition size, wherein, new resources partition size is less than Current resource partition size;
Step S106, uses new resources partition size to be the allocation of space physical resource corresponding to current I/O.
By each step above-mentioned, mainly through arranging the variable allocation granularity of automatically simplifying configuration, be that I/O distributes corresponding physical resource according to variable allocation granularity, to reach the contradiction between the space availability ratio of the automatic simplification volume of active balance and I/O performance.
In the present embodiment, Current resource partition size and new resources partition size can comprise: multiple resource allocation granularity pre-set varied in size.
In the present embodiment, in the implementation of step S104, Current resource partition size is switched to new resources partition size, can be realized by such mode: the Physical Resource Block of simplifying resource pool is switched to according to the second assignment bit map display according to from the first assignment bit map display, and the Physical Resource Block corresponding to the first assignment bit map in the second assignment bit map is designated distribution state, other Physical Resource Block is designated idle condition, wherein, first assignment bit map corresponds to Current resource partition size, and the second assignment bit map corresponds to new resources partition size; According to new resources partition size, current physical mapping relations are updated to new physics resource mapping relation, wherein, current physical mapping relations and new physics resource mapping relation refer to the corresponding relation of simplifying in resource pool between all Physical Resource Block and all simplification volume.
In the present embodiment, after execution step S106, can current I/O be issued on the physical resource of distribution, perform the write operation that current I/O is corresponding.
In the present embodiment, unallocated complete or when not reaching threshold value at the physical resource of simplifying resource pool belonging to simplification volume, can also be the allocation of space physical resource corresponding to current I/O according to Current resource partition size; Current I/O is issued on the physical resource of distribution, performs the write operation that current I/O is corresponding.
In the present embodiment, before execution step S102, when current I/O arrives simplification volume, can judge whether the space corresponding to current I/O is assigned with physical resource.
In the present embodiment, when the space determining to correspond to current I/O has been assigned with physical resource, can current I/O be issued on the physical resource of distribution, have performed the write operation that current I/O is corresponding.
The embodiment of the present invention additionally provides a kind of resource allocation device based on automatically simplifying configuration, this device in order to realize that above-described embodiment provides based on the resource allocation methods of automatically simplifying configuration.Fig. 2 be according to the embodiment of the present invention based on the structured flowchart of resource allocation methods of automatically simplifying configuration, as shown in Figure 2, this device mainly comprises: determination module 10, handover module 20 and distribution module 30.Wherein:
Determination module 10, for determining the unallocated physical resource in space corresponding to current input and output I/O in simplification volume, and the physical resource of simplifying resource pool belonging to simplification volume has been assigned or has reached threshold value; Handover module 20, for Current resource partition size is switched to new resources partition size, wherein, new resources partition size is less than Current resource partition size; Distribution module 30 is the allocation of space physical resource corresponding to current I/O for using new resources partition size.
In the present embodiment, Current resource partition size and new resources partition size can comprise: multiple resource allocation granularity pre-set varied in size.
Shown in Fig. 2 based on automatically simplifying on the basis of resource allocation device of configuration, the present embodiment additionally provides and is a kind ofly preferably based on the resource allocation device of automatically simplifying configuration.Fig. 3 is the structured flowchart being preferably based on the resource allocation device of automatically simplifying configuration according to the embodiment of the present invention, as shown in Figure 3, handover module 20 may further include: the first processing unit 22, for the Physical Resource Block of simplifying resource pool is switched to according to the second assignment bit map display according to from the first assignment bit map display, and the Physical Resource Block corresponding to the first assignment bit map in the second assignment bit map is designated distribution state, other Physical Resource Block is designated idle condition, wherein, first assignment bit map corresponds to Current resource partition size, second assignment bit map corresponds to new resources partition size, second processing unit 24, for current physical mapping relations being updated to new physics resource mapping relation according to new resources partition size, wherein, current physical mapping relations and new physics resource mapping relation refer to the corresponding relation of simplifying in resource pool between all Physical Resource Block and all simplification volume.
Adopt above-described embodiment provide based on resource allocation methods and the device of automatically simplifying configuration, solve in correlation technique and adopt fixing granularity automatically to simplify configuration to be difficult to the change of adaptation business and the problem of demand, can contradiction between the space availability ratio of the automatic simplification volume of active balance and I/O performance.
What provide above-described embodiment below in conjunction with Fig. 4 to Fig. 7 and preferred embodiment is described in more details based on the resource allocation methods of automatically simplifying configuration and describes.
In following preferred embodiment, the granularity of automatically simplifying configuration is variable, system can have a minimum particle size given tacit consent to, create automatically simplify configuration time, user can configure a maximum granularity for simplifying pond (can comprise multiple simplification volume) or simplification volume.
Distributing according to initial particle size, when all blocks are all assigned, reducing the granularity of distributing.Volume sets up mapping table with new granularity, and it is new granularity that resource pool changes partition size.Fig. 4 is the schematic diagram of automatically simplifying configuration change of granularity according to the preferred embodiment of the invention, and as shown in Figure 4, the minimum granularity of system default is 16KB, and user configured maximum particle size is 1GB.During original state, what system automatically simplified configuration according to the granularity of 1GB writes front distribution, and records according to minimum granularity the bitmap that I/O write.Now the performance of I/O is higher, close to the performance of non-simplification volume.Along with the consumption to space, when the granularity according to 1GB, simplify allocation of space in resource pool complete time, start the change starting partition size.Such as partition size is changed to 64MB, now can discharges the space that some 64MB are unit.New I/O distributes in units of 64MB.When the free space of 64MB distributes, restart the change of partition size, distribute in units of 4MB.Along with business is to the consumption of free space, constantly reduce partition size, until the remaining space of the minimum partition size of the system that reaches or resource pool reaches alarming threshold.
The remaining space of system is the bitmap according to writing I/O record, carrys out statistical space consumption with minimum granularity, and when space consuming reaches the thresholding of specifying to user's alarm, prompting user adds new dish.Once space consuming reaches alarming threshold, prove according to current granularity be space utilization rate and I/O efficiency comprehensive after more efficient granularity configuration, even if therefore to after storage pool dilatation, also need not carry out the adjustment that granularity becomes large again.
In the preferred embodiment, when I/O arrives simplification volume, the address for unallocated space carries out writing front distribution.If by current granularity, the space of resource pool is assigned, then enable the flow process of mapping granule change.Changed by mapping granule and carry out Free up Memory.Fig. 5 is that simplification volume writes the processing flow chart of I/O according to the preferred embodiment of the invention, and as shown in Figure 5, this flow process comprises the following steps:
Step S502, I/O arrive simplification volume;
By query mappings table, step S504, judges whether the space that I/O is corresponding has distributed physical resource (physical space);
Step S506, if the address on I/O correspondence volume is assigned with physical space, then issues I/O on the physical address of correspondence, performs step;
Step S508, if the unallocated physical space in address on I/O correspondence volume, then carries out writing front distribution, judges whether resource pool exists idling-resource block (free space), if having, perform step S510, otherwise, perform step S522;
Step S510, if the space that resource pool is also available free, distributes idle block to volume according to current partition size;
Step S512, according to the minimum particle size of configuration, record volume is write the bitmap of I/O;
Step S514, if the space of resource pool distributes, judges whether remaining space is zero;
Step S516, if zero, enable the flow process of mapping granule change, being changed by mapping granule and carry out Free up Memory, after Free up Memory, is current I/O allocation block according to new granularity;
Step S518, if not zero, whether the consumption of the resource pool calculated according to minimum particle size reaches thresholding, if so, then performs step S520, otherwise, perform step S524;
Step S520, simplifies pond generation space alarm;
Step S522, judges whether to reach minimum particle size, if not, performs step S516, if so, performs step S524;
Step S524, after being assigned, being issued to correspondence physically, writing I/O and complete by I/O.
In the preferred embodiment, before carrying out the change of granularity of rolling up, the granularity of the assignment bit map in pond is simplified in first amendment, by all pieces of all set distribution state in pond.The change of granularity of volume is modified in conjunction with the above-described bitmap writing I/O according to minimum particle size record volume.For the block write I/O and cover, the mapping table of record volume.For the block write I/O and do not cover, bit_map corresponding for resource pool is set to assignable state.Fig. 6 is the processing flow chart of simplification volume change of granularity according to the preferred embodiment of the invention, and as shown in Figure 6, this flow process comprises the following steps:
Step S602, by current granularity, when resource pool not having had free space, starts granularity changing process;
Step S604, distributes new bitmap space, the assignment bit map of resource pool is switched to the bitmap arranged by new granularity, and all bitmaps are all set to distribution state;
Step S606 is that volume arranges a new mapping table according to new granularity;
Step S608, according to new granularity, in conjunction with bitmap volume being write I/O, travels through whole volume, generates new mapping table;
Step S610, if according to new granularity, block had I/O, then record was rolled onto the mapping relations of block, if according to new granularity, block does not have I/O, then the assignment bit map of the corresponding blocks on resource pool was set to free state;
Step S612, when resource pool discharging idle space, for etc. I/O allocation space to be allocated;
Step S614, in the process that granularity changes, new writes I/O if having, carrys out allocation space according to new granularity.Whether I/O first inquires about new mapping relations and generates, and whether if new mapping relations do not generate, inquiring about old mapping table has mapping item, if old mapping table has mapping item, carries out the switching of old mapping table to new mapping table, is switched to new mapping table process.If old mapping table does not have list item, then directly to process on new mapping table;
Step S616, after the process of a volume completes, the upper old mapping table of release volume;
Step S618, all simplification volume on traversal resource pool, after all completing granularity change, the granularity of whole resource pool has changed.
Fig. 7 is the granularity handoff procedure schematic diagram of simplification volume according to the preferred embodiment of the invention, and as shown in Figure 7, before switching, according to the granularity of 1MB, space distributes, and the remaining space of resource pool is 0.After switching, according to the granularity of 256KB, resource pool has discharged a large amount of spaces.Meanwhile, the sequential I/O of volume I/O upper the last period, the physical space of its correspondence is also continuous print.
It should be noted that, above-mentioned modules can be realized by hardware.Such as: a kind of processor, comprise above-mentioned modules, or above-mentioned modules lays respectively in a processor.
In another embodiment, additionally provide a kind of software, this software is for performing the technical scheme described in above-described embodiment and preferred implementation.
In another embodiment, additionally provide a kind of storage medium, store above-mentioned software in this storage medium, this storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc.
From above description, can find out, present invention achieves following technique effect: in traditional scheme, poor-performing, space availability ratio is lower, the present invention adopts and constantly reduces resource allocation granularity, and use more and more less resource allocation granularity for distributing the mode of physical resource, solve in correlation technique and adopt fixing granularity automatically to simplify the very difficult change of adaptation business of configuration and the problem of demand, and then reach the effect of the contradiction between the space availability ratio of the automatic simplification volume of active balance and I/O performance.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. based on a resource allocation methods of automatically simplifying configuration, it is characterized in that, comprising:
Determine the unallocated physical resource in space corresponding to current input and output I/O in simplification volume;
When the physical resource of simplifying resource pool belonging to described simplification volume has been assigned or has reached threshold value, Current resource partition size is switched to new resources partition size, wherein, described new resources partition size is less than described Current resource partition size;
Described new resources partition size is used to be the described allocation of space physical resource corresponding to current I/O.
2. method according to claim 1, is characterized in that, described Current resource partition size and described new resources partition size comprise: multiple resource allocation granularity pre-set varied in size.
3. method according to claim 1, is characterized in that, Current resource partition size is switched to new resources partition size, comprising:
Described Physical Resource Block of simplifying resource pool is switched to according to the second assignment bit map display according to from the first assignment bit map display, and the Physical Resource Block corresponding to described first assignment bit map in described second assignment bit map is designated distribution state, other Physical Resource Block is designated idle condition, wherein, described first assignment bit map corresponds to described Current resource partition size, and described second assignment bit map corresponds to described new resources partition size;
According to described new resources partition size, current physical mapping relations are updated to new physics resource mapping relation, wherein, described current physical mapping relations and described new physics resource mapping relation refer to described in simplify corresponding relation in resource pool between all Physical Resource Block and all simplification volume.
4. method according to claim 1, is characterized in that, after the described new resources partition size of use is the described allocation of space physical resource corresponding to current I/O, comprising:
Described current I/O is issued on the physical resource of distribution, performs the write operation that current I/O is corresponding.
5. method according to claim 1, is characterized in that, unallocated complete or when not reaching threshold value at the physical resource of simplifying resource pool belonging to described simplification volume, comprising:
Be describedly correspond to the allocation of space physical resource of current I/O according to described Current resource partition size;
Described current I/O is issued on the physical resource of distribution, performs the write operation that current I/O is corresponding.
6. method according to any one of claim 1 to 5, is characterized in that, determine in simplification volume correspond to current input and output I/O the unallocated physical resource in space before, comprising:
When described current I/O arrives described simplification volume, judge whether the described space corresponding to current I/O is assigned with physical resource.
7. method according to claim 6, is characterized in that, when determining that the described space corresponding to current I/O has been assigned with physical resource, comprising:
Described current I/O is issued on the physical resource of distribution, performs the write operation that current I/O is corresponding.
8. based on a resource allocation device of automatically simplifying configuration, it is characterized in that, comprising:
Determination module, for determining the unallocated physical resource in space corresponding to current input and output I/O in simplification volume, and the physical resource of simplifying resource pool belonging to described simplification volume has been assigned or has reached threshold value;
Handover module, for Current resource partition size is switched to new resources partition size, wherein, described new resources partition size is less than described Current resource partition size;
Distribution module is the described allocation of space physical resource corresponding to current I/O for using described new resources partition size.
9. device according to claim 8, is characterized in that, described Current resource partition size and described new resources partition size comprise: multiple resource allocation granularity pre-set varied in size.
10. device according to claim 8 or claim 9, it is characterized in that, described handover module comprises:
First processing unit, for described Physical Resource Block of simplifying resource pool is switched to according to the second assignment bit map display according to from the first assignment bit map display, and the Physical Resource Block corresponding to described first assignment bit map in described second assignment bit map is designated distribution state, other Physical Resource Block is designated idle condition, wherein, described first assignment bit map corresponds to described Current resource partition size, and described second assignment bit map corresponds to described new resources partition size;
Second processing unit, for current physical mapping relations being updated to new physics resource mapping relation according to described new resources partition size, wherein, described current physical mapping relations and described new physics resource mapping relation refer to described in simplify corresponding relation in resource pool between all Physical Resource Block and all simplification volume.
CN201410096440.1A 2014-03-14 2014-03-14 Resource distribution method and device based on automatic thin provisioning Pending CN104915146A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410096440.1A CN104915146A (en) 2014-03-14 2014-03-14 Resource distribution method and device based on automatic thin provisioning
PCT/CN2014/083342 WO2015135281A1 (en) 2014-03-14 2014-07-30 Resource allocation method and device based on thin provisioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410096440.1A CN104915146A (en) 2014-03-14 2014-03-14 Resource distribution method and device based on automatic thin provisioning

Publications (1)

Publication Number Publication Date
CN104915146A true CN104915146A (en) 2015-09-16

Family

ID=54070863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410096440.1A Pending CN104915146A (en) 2014-03-14 2014-03-14 Resource distribution method and device based on automatic thin provisioning

Country Status (2)

Country Link
CN (1) CN104915146A (en)
WO (1) WO2015135281A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107533435A (en) * 2015-12-21 2018-01-02 华为技术有限公司 The distribution method and storage device of memory space
CN107819841A (en) * 2017-11-02 2018-03-20 郑州云海信息技术有限公司 Dynamic resource allocation method, device, equipment and the storage medium shared based on NAS
CN113419672A (en) * 2021-06-04 2021-09-21 济南浪潮数据技术有限公司 Storage capacity management method, system and storage medium
CN117215499A (en) * 2023-11-07 2023-12-12 苏州元脑智能科技有限公司 Data access method, device, product and multi-control storage system of thin volume

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976223B (en) * 2010-10-09 2012-12-12 成都市华为赛门铁克科技有限公司 Thin provisioning method and device
US8458514B2 (en) * 2010-12-10 2013-06-04 Microsoft Corporation Memory management to accommodate non-maskable failures
CN102650931B (en) * 2012-04-01 2015-07-08 华为技术有限公司 Method and system for writing data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107533435A (en) * 2015-12-21 2018-01-02 华为技术有限公司 The distribution method and storage device of memory space
CN107533435B (en) * 2015-12-21 2020-04-28 华为技术有限公司 Storage space allocation method and storage equipment
CN107819841A (en) * 2017-11-02 2018-03-20 郑州云海信息技术有限公司 Dynamic resource allocation method, device, equipment and the storage medium shared based on NAS
CN113419672A (en) * 2021-06-04 2021-09-21 济南浪潮数据技术有限公司 Storage capacity management method, system and storage medium
CN113419672B (en) * 2021-06-04 2023-06-13 济南浪潮数据技术有限公司 Storage capacity management method, system and storage medium
CN117215499A (en) * 2023-11-07 2023-12-12 苏州元脑智能科技有限公司 Data access method, device, product and multi-control storage system of thin volume
CN117215499B (en) * 2023-11-07 2024-02-09 苏州元脑智能科技有限公司 Data access method, device, product and multi-control storage system of thin volume

Also Published As

Publication number Publication date
WO2015135281A1 (en) 2015-09-17

Similar Documents

Publication Publication Date Title
CN102650931B (en) Method and system for writing data
CN109375985B (en) Dynamic memory management method and device
US9880780B2 (en) Enhanced multi-stream operations
CN103810020B (en) Virtual machine elastic telescopic method and device
CN110209490B (en) Memory management method and related equipment
CN103927127B (en) Reconfigurable storage device
CN110069219B (en) Data storage method and system, electronic equipment and storage medium
WO2018113472A1 (en) Method for scheduling resource, and server
EP2784985A1 (en) Cloud computing system and method for managing storage resources therein
CN104915146A (en) Resource distribution method and device based on automatic thin provisioning
CN104636286B (en) For the method and apparatus of data access
KR102077149B1 (en) Method for managing memory and apparatus thereof
CN104572301B (en) A kind of resource allocation methods and system
CN105791254B (en) Network request processing method and device and terminal
CN113419846B (en) Resource allocation method and device, electronic equipment and computer readable storage medium
CN104461698A (en) Dynamic virtual disk mounting method, virtual disk management device and distributed storage system
CN112889038B (en) Method and system for allocating cache resources
CN110505679B (en) Power consumption control method and device of communication terminal and storage medium
CN112162700A (en) Storage volume creation method and device, electronic equipment and storage medium
CN107347039A (en) A kind of management method and device in shared buffer memory space
CN108845876A (en) A kind of method and device of traffic assignments
CN110809030B (en) Network flow control method and device, coder-decoder and storage device
CN104503924A (en) Area distribution method and device of tiered storage system
CN105453066A (en) Processor and memory control method
CN109753339B (en) Resource allocation method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150916

WD01 Invention patent application deemed withdrawn after publication