Method and device for allocating and processing address space resource

An address space and resource allocation technology, applied in the computer field, can solve the problem of not being able to be inserted at will, and achieve the effect of enhancing the hot-plug function

Active Publication Date: 2011-07-06
CHENGDU HUAWEI TECH
View PDF4 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the process of realizing the present invention, the inventor found that in the prior art, since the system pre-allocates a fixed-size address space resource for the downstream port in the SW that has not been inserted into the device, the address space required by the device inserted into the port cannot exceed the system A fixed-size address space is allocated for the port in advance, and the hot-swapping device is selective, that is, the system cannot insert any device at will, and the system supports the hot-swapping function with certain limitations.

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
  • Method and device for allocating and processing address space resource
  • Method and device for allocating and processing address space resource
  • Method and device for allocating and processing address space resource

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0022] figure 2 The flow chart of the address space resource allocation processing method provided by the embodiment of the present invention, as shown in figure 2 As shown, the method includes:

[0023] Step 100, detecting several downlink ports included in each bridge device in the system;

[0024] During the normal working process of the s...

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 embodiment of the invention provides a method and a device for allocating and processing an address space resource. The method comprises the following steps: detecting a plurality of downlink ports of each bridge device in a system, and if confirming that a device is inserted into one downlink port of one bridge device, allocating a section of spare address space resource to the inserted device in a preset first address space resource of the bridge device according to the length of the address space resource required by the inserted device. In the embodiment of the invention, through previously reserving certain address space resources on the uplink ports of all the bridge devices in the system, the required address space resources are dynamically allocated to the device when a device is inserted in the normal working process of the system, thereby achieving dynamically allocating resource according to the address space required by the device, avoiding influencing the running of the device by insufficient resource and enhancing the hot plug function of the device.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a method and device for address space resource allocation and processing. Background technique [0002] With the continuous development of the bus and interface standard high-speed external I / O equipment interconnection bus (PCI Express, PCIE) protocol technology, the PCIE protocol has been able to better support the hot plug function of the device. As far as the current hot-swapping method is concerned, the system generally allocates a fixed-size address space for the port connected to the device in advance, and there is no need to consider the processing of the address space when performing device hot-swapping. Specifically, after the system is started, the existing operating system such as linux will perform topology on the entire PCIE bus in the system, and allocate corresponding address space resources according to the requirements of connected d...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/42
Inventor 王学友
Owner CHENGDU HUAWEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products