Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Disk IO (Input/output) resource allocation method and device

A resource allocation and disk partitioning technology, applied in the field of data processing, can solve problems such as disk IO congestion and ineffective use of resources

Active Publication Date: 2013-12-11
BEIJING SOHU NEW MEDIA INFORMATION TECH
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the above resource allocation method will cause congestion of disk IO requests, and at the same time cannot effectively utilize resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Disk IO (Input/output) resource allocation method and device
  • Disk IO (Input/output) resource allocation method and device
  • Disk IO (Input/output) resource allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] refer to figure 1 , figure 1 The flow chart of the disk IO resource allocation method provided in this embodiment may specifically include:

[0060] Step 101: preset at least one policy group, the policy group includes at least one disk partition;

[0061] In this embodiment, the disk includes several disk partitions, and the several disk partitions form a policy group. In this embodiment, several policy groups are preset, and each policy group includes at least one disk partition. The control object of this embodiment is not a disk partition but a policy group.

[0062] Step 102: assign token numbers and strategy modes to each strategy group;

[0063] In this embodiment, after several policy groups are set, the number of tokens and policy modes are assigned to all policy groups respectively.

[0064] Among them, weight coefficients can be assigned to each strategy group, and the number of tokens can be assigned to each strategy group according to the weight coeffici...

Embodiment 2

[0097] refer to image 3 , image 3 The structure diagram of the disk IO resource allocation device provided in this embodiment, the device may include:

[0098] A setting unit 301, configured to preset at least one policy group, the policy group including at least one disk partition;

[0099] The first allocating unit 302 is configured to allocate token numbers and policy modes for each policy group;

[0100] The receiving unit 303 is configured to receive any disk IO request, the disk IO request includes a disk partition identifier, and the disk partition identifier is used to uniquely identify the disk partition;

[0101] The first obtaining unit 304 is configured to obtain the policy group corresponding to the disk partition identifier;

[0102] A judging unit 305, configured to judge whether the number of tokens in the policy group is greater than zero;

[0103] The second allocating unit 306 is configured to allocate the resources of the policy group for the disk IO re...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a disk IO (Input / output) resource allocation method and device. The method comprises the steps: presetting at least one strategy group which comprises at least one disk partition; firstly, respectively allocating the number of tokens and strategy modes for all strategy groups; secondly, receiving any one disk IO request which comprises a disk partition identification; acquiring the strategy group corresponding to the disk partition identification; finally, judging whether the number of the tokens of the strategy group is greater than zero, if so, allocating a resource of the strategy group for the disk IO request, and reducing the number of the tokens of the strategy group according to the strategy mode of the strategy group; if not, executing the issue of new tokens when meeting the issue conditions of new tokens. According to the disk IO resource allocation method and device, the waste of disk IO resource in the resource allocation process can be avoided by adopting the new token allocation mode, in addition, the blocking of the disk IO requests can be reduced by adopting a strategy grouping mode, and the utilization rate of the disk IO resources can be increased.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a disk IO resource allocation method and device. Background technique [0002] In recent years, with the continuous improvement of the performance of a single physical machine and the continuous maturity of virtualization technology, users can deploy multiple virtual machines on one physical machine to enable multiple types of applications. The system evenly allocates resources to each virtual machine, but cannot allocate resources reasonably and effectively to virtual machines according to the actual resource requirements of application services. In practical applications, the allocation of disk IO resources adopts the above-mentioned average allocation method. [0003] Generally, after receiving a disk IO request, the system determines the disk partition required by the IO request according to the disk IO request, and directly allocates resources of the disk partition ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/06
Inventor 栾利刚
Owner BEIJING SOHU NEW MEDIA INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products