CN116150067A - Bandwidth adjustment method, device, electronic equipment and storage medium - Google Patents

Bandwidth adjustment method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116150067A
CN116150067A CN202310070931.8A CN202310070931A CN116150067A CN 116150067 A CN116150067 A CN 116150067A CN 202310070931 A CN202310070931 A CN 202310070931A CN 116150067 A CN116150067 A CN 116150067A
Authority
CN
China
Prior art keywords
bandwidth
hard disk
target
slot
sub
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
CN202310070931.8A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310070931.8A priority Critical patent/CN116150067A/en
Publication of CN116150067A publication Critical patent/CN116150067A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • 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/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a bandwidth adjusting method, a device, equipment and a storage medium, wherein the method comprises the following steps: detecting the connection state of the hard disk, and determining at least one target hard disk currently connected with the backboard hard disk slot when the connection state changes; acquiring the total bandwidth of the PCIe device; and respectively distributing the total bandwidth of the PCIe device to the at least one target hard disk. When the connection state of the hard disk is changed, the total bandwidth of the PCIe device is dynamically distributed to the target hard disk according to the total bandwidth of the PCIe device and the target hard disk, so that the target hard disk can be fully used, the read-write performance of the target hard disk is improved, and the waste of bandwidth resources caused by the fact that the target hard disk is not fully distributed is avoided.

Description

Bandwidth adjustment method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a bandwidth adjustment method, a bandwidth adjustment apparatus, an electronic device, and a computer readable storage medium.
Background
In the use of the server, when the server reads and writes the hard disk, signal and data transmission can be performed through PCIe (peripheral component interconnect express, high-speed serial computer expansion bus standard) devices, in the existing technical scheme, the number of hard disks collocated by the server and the bandwidth of the hard disk are generally fixed, for example, when the total bandwidth of the PCIe device is X16, the transmission bandwidth of the bandwidth of X16 is 32Gb/S, the number of slots on the PCIe device is 4, at most, only 4 hard disks can be installed, the bandwidth of each hard disk is fixed, the bandwidth is X4, for example, when the total bandwidth of the PCIe device is X16, the number of slots on the PCIe device is 8, at most, only 8 hard disks can be installed, and the bandwidth of each hard disk is X2. In this way, in the case where the hard disk installation on the device is not fully configured, a problem of waste of bandwidth resources occurs.
Disclosure of Invention
In view of the above, embodiments of the present invention have been made to provide a bandwidth adjustment method, a bandwidth adjustment apparatus, an electronic device, and a computer-readable storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention discloses a bandwidth adjustment method, where the method is applied to a server, where the server has a PCIe device with a high-speed serial computer expansion bus standard, the PCIe device includes a backplane hard disk slot, and the backplane hard disk slot is connected to at least one hard disk, and the method includes:
detecting the connection state of the hard disk, and determining at least one target hard disk currently connected with the backboard hard disk slot when the connection state changes;
acquiring the total bandwidth of the PCIe device;
and respectively distributing the total bandwidth of the PCIe device to the at least one target hard disk.
Optionally, after detecting the connection state of the hard disk and determining at least one target hard disk currently connected to the slot of the back-plate hard disk when the connection state changes, the method further includes:
obtaining the number of hard disks of the at least one target hard disk, the number of slots of the backboard hard disk, and the number of slots of the target backboard hard disk; the target backboard hard disk slot is a backboard hard disk slot connected with the at least one target hard disk;
The allocating the total bandwidth of the PCIe device to the at least one target hard disk respectively includes:
dividing the total bandwidth of the PCIe device to obtain at least one sub-bandwidth; the number of the sub-bandwidths is the same as the number of the hard disks;
respectively distributing the sub-bandwidths to the target backboard hard disc slots according to the number of the slots of the target backboard hard disc slots;
and adjusting the bandwidth of the at least one target hard disk corresponding to the target backboard hard disk slot according to the sub-bandwidth allocated by the target backboard hard disk slot, so that the bandwidth of the at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot.
Optionally, the dividing the total bandwidth of the PCIe device to obtain at least one sub-bandwidth includes:
calculating the reference number of the hard disks according to the number of the slots of the hard disk slots of the backboard; the hard disk reference number is smaller than the slot number;
calculating a first reference bandwidth value and a second reference bandwidth value according to the total bandwidth of the PCIe device and the slot number; the first reference bandwidth value is greater than the second reference bandwidth value;
and dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value and the second reference bandwidth value to obtain at least one sub-bandwidth.
Optionally, the dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value to obtain at least one sub-bandwidth includes:
and when the number of the hard disks is smaller than or equal to the reference number of the hard disks, dividing the total bandwidth of the PCIe equipment into sub-bandwidths which are the same as the number of the hard disks and have the bandwidth values of the first reference bandwidth value.
Optionally, the dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value to obtain at least one sub-bandwidth includes:
when the number of the hard disks is larger than the reference number of the hard disks and smaller than the number of the slots, calculating a first division number with a bandwidth value being the first reference bandwidth value and a second division number with a bandwidth value being the second reference bandwidth value according to the number of the slots and the number of the hard disks;
dividing the total bandwidth of the PCIe device into sub-bandwidths which are the same as the first division number and are all the first reference bandwidth value, and sub-bandwidths which are the same as the second division number and are all the second reference bandwidth value.
Optionally, the dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value to obtain at least one sub-bandwidth includes:
and when the number of the hard disks is equal to the number of the slots, dividing the total bandwidth of the PCIe equipment into sub-bandwidths which are the same as the number of the hard disks and are all the second reference bandwidth values.
Optionally, the adjusting the bandwidth of the at least one target hard disk corresponding to the target backboard hard disk slot according to the sub-bandwidth allocated by the target backboard hard disk slot, so that the bandwidth of the at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot, includes:
determining a first target backboard hard disc slot position from the target backboard hard disc slot position according to the sequence from the small slot number to the large slot number; the number of the first target backboard hard disc slots is the same as the first division number;
bandwidth allocation is carried out on the first target backboard hard disc slot position, so that the sub-bandwidth of the first target backboard hard disc slot position is the first reference bandwidth value, and bandwidth allocation is carried out on the second target backboard hard disc slot position, so that the sub-bandwidth of the second target backboard hard disc slot position is the second reference bandwidth value; the second target backboard hard disc groove is the target backboard hard disc groove left by dividing the first target backboard hard disc groove in the target backboard hard disc groove;
And adjusting the bandwidth of a first target hard disk corresponding to the first target backboard hard disk slot position and the bandwidth of a second target hard disk corresponding to the second target backboard hard disk slot position to enable the bandwidth of the first target hard disk to be consistent with the sub-bandwidth of the first target backboard hard disk slot position, and enabling the bandwidth of the second target hard disk to be consistent with the sub-bandwidth of the second target backboard hard disk slot position.
Optionally, the calculating a first reference bandwidth value and a second reference bandwidth value according to the total bandwidth of the PCIe device and the slot number includes:
taking the quotient of the total bandwidth of the PCIe equipment and the slot number as a second reference bandwidth value;
and taking the product of the second reference bandwidth value and a preset coefficient as a first reference bandwidth value.
In a second aspect, an embodiment of the present invention discloses a bandwidth adjustment device, where the device is applied to a server, where the server has a high-speed serial computer expansion bus standard PCIe device, where the PCIe device includes a backplane hard disk slot, where the backplane hard disk slot is connected to at least one hard disk, and the device includes:
the determining module is used for detecting the connection state of the hard disk, and determining at least one target hard disk currently connected with the backboard hard disk slot position when the connection state changes;
The first acquisition module is used for acquiring the total bandwidth of the PCIe equipment;
and the distribution module is used for distributing the total bandwidth of the PCIe equipment to the at least one target hard disk respectively.
Optionally, the apparatus further comprises:
secondly, obtaining the number of hard disks of the at least one target hard disk, the number of slots of the hard disk of the backboard and the number of slots of the hard disk of the target backboard; the target backboard hard disk slot is a backboard hard disk slot connected with the at least one target hard disk;
the distribution module comprises:
a dividing sub-module, configured to divide a total bandwidth of the PCIe device to obtain at least one sub-bandwidth; the number of the sub-bandwidths is the same as the number of the hard disks;
the allocation sub-module is used for respectively allocating the sub-bandwidths to the target backboard hard disk slot positions according to the number of the slots of the target backboard hard disk slot positions;
and the adjusting sub-module is used for adjusting the bandwidth of the at least one target hard disk corresponding to the target backboard hard disk slot according to the sub-bandwidth allocated by the target backboard hard disk slot so that the bandwidth of the at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot.
Optionally, the dividing submodule includes:
the first calculating unit is used for calculating the reference number of the hard disks according to the number of the slots of the backboard hard disk slots; the hard disk reference number is smaller than the slot number;
the second calculation unit is used for calculating a first reference bandwidth value and a second reference bandwidth value according to the total bandwidth of the PCIe equipment and the slot number; the first reference bandwidth value is greater than the second reference bandwidth value;
the dividing unit is configured to divide the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value, so as to obtain at least one sub-bandwidth.
Optionally, the dividing unit includes:
and the first dividing subunit is used for dividing the total bandwidth of the PCIe equipment into sub bandwidths which are the same as the number of the hard disks and have the bandwidth values of the first reference bandwidth value when the number of the hard disks is smaller than or equal to the reference number of the hard disks.
Optionally, the dividing unit includes:
a calculating subunit, configured to calculate, according to the number of slots and the number of hard disks, a first division number with a bandwidth value being the first reference bandwidth value and a second division number with a bandwidth value being the second reference bandwidth value when the number of hard disks is greater than the reference number of hard disks and less than the number of slots;
And the second dividing subunit is used for dividing the total bandwidth of the PCIe device into sub-bandwidths which are the same as the first dividing quantity and are all the first reference bandwidth values and sub-bandwidths which are the same as the second dividing quantity and are all the second reference bandwidth values.
Optionally, the dividing unit includes:
and the third dividing subunit is used for dividing the total bandwidth of the PCIe equipment into sub-bandwidths which are the same as the number of the hard disks and are all the second reference bandwidth values when the number of the hard disks is equal to the number of the slots.
Optionally, the adjusting submodule includes:
the determining unit is used for determining a first target backboard hard disk slot position from the target backboard hard disk slot position according to the sequence from the small slot number to the large slot number by a user; the number of the first target backboard hard disc slots is the same as the first division number;
the allocation unit is used for performing bandwidth allocation on the first target backboard hard disk slot so that the sub-bandwidth of the first target backboard hard disk slot is the first reference bandwidth value, and performing bandwidth allocation on the second target backboard hard disk slot so that the sub-bandwidth of the second target backboard hard disk slot is the second reference bandwidth value; the second target backboard hard disc groove is the target backboard hard disc groove left by dividing the first target backboard hard disc groove in the target backboard hard disc groove;
The adjusting unit is used for adjusting the bandwidth of the first target hard disk corresponding to the first target backboard hard disk slot position and the bandwidth of the second target hard disk corresponding to the second target backboard hard disk slot position, so that the bandwidth of the first target hard disk is consistent with the sub-bandwidth of the first target backboard hard disk slot position, and the bandwidth of the second target hard disk is consistent with the sub-bandwidth of the second target backboard hard disk slot position.
Optionally, the second computing unit includes:
a first computing subunit, configured to take a quotient of the total bandwidth of the PCIe device and the slot number as a second reference bandwidth value;
and the second calculating subunit is used for taking the product of the second reference bandwidth value and a preset coefficient as the first reference bandwidth value.
In a third aspect, the application shows an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the bandwidth adjustment method described above when executing the computer program.
In a fourth aspect, the present application shows a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the bandwidth adjustment method described above.
The embodiment of the invention has the following advantages:
according to the embodiment of the invention, by detecting the connection state of the hard disk, when the connection state of the hard disk changes, at least one target hard disk currently connected with the backboard hard disk slot is determined, and the total bandwidth of the PCIe device is obtained, so that when the connection state of the hard disk changes, the total bandwidth of the PCIe device is dynamically distributed to the target hard disk according to the total bandwidth of the PCIe device and the at least one target hard disk, the target hard disk can be fully used, the read-write performance of the target hard disk is improved, and the waste of bandwidth resources caused by the fact that the target hard disk is not fully matched is avoided.
Drawings
Fig. 1 is a flowchart of steps of a bandwidth adjustment method according to an embodiment of the present invention;
fig. 2 is a block diagram of another bandwidth adjusting apparatus according to an embodiment of the present invention;
FIG. 3 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a block diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
In the prior art, under the condition that the hard disk is not fully installed, the problem of bandwidth resource waste occurs, so that a method strategy for improving the traditional bandwidth allocation is needed. In order to solve the technical problems, the method acquires the total bandwidth by determining the target hard disk connected with the backboard hard disk slot position, and finally distributes the total bandwidth to the target hard disk, so that the bandwidth of the target hard disk is dynamically adjusted according to the total bandwidth and the target hard disk.
Referring to fig. 1, a flowchart illustrating steps of a bandwidth adjustment method according to an embodiment of the present invention is shown, where the method is applied to a server, where the server has a high-speed serial computer expansion bus standard PCIe device, and the PCIe device includes a backplane hard disk slot, where the backplane hard disk slot is connected to at least one hard disk, and the method specifically may include the following steps:
and step 101, detecting the connection state of the hard disk, and determining at least one target hard disk currently connected with the backboard hard disk slot when the connection state changes.
In the embodiment of the invention, PCIe equipment can be installed in the server, the PCIe equipment can comprise a plurality of backboard hard disk slots, and the hard disk can be connected with the backboard hard disk slots so as to be connected with the server. The server may detect the connection state of the hard disk in real time, and when the connection state of the hard disk changes, for example: the number of hard disks connected with the backboard hard disk slot is changed, and the positions of the hard disks connected with the backboard hard disk slot are changed. The server may determine at least one target hard disk currently connected to the backplane hard disk slot, wherein the at least one target hard disk is all hard disks connected to the backplane hard disk slot.
Step 102, obtaining the total bandwidth of the PCIe device.
In the embodiment of the present invention, after the target hard disk is determined, the total bandwidth of the PCIe device may be obtained, and in practical application, the total bandwidth of the PCIe device is generally X16, or may be other bandwidth numbers. For a better description of the embodiments of the present application, the total bandwidth of PCIe devices in subsequent embodiments is exemplified by X16.
And step 103, respectively distributing the total bandwidth of the PCIe device to the at least one target hard disk.
In the embodiment of the invention, after obtaining the total bandwidth of the PCIe device, the server may enter an IIO (Integrated I/o module) configuration menu through a BIOS (Basic Input Output System ) to automatically divide the total bandwidth of the PCIe device, then allocate the divided bandwidths to the backboard hard disk slots respectively, and then adjust the bandwidth of the target hard disk connected to the backboard hard disk slots, so that the bandwidth of the target hard disk is consistent with the bandwidth of the corresponding backboard hard disk slot.
In an embodiment, after determining the target hard disk currently connected to the backboard hard disk slot, the number of hard disk of at least one target hard disk, the slot number of the backboard hard disk, and the slot number of the target backboard hard disk slot may be obtained, where the target backboard hard disk slot is the backboard hard disk slot connected to the at least one target hard disk. Dividing the total bandwidth of the PCIe device to obtain at least one sub-bandwidth; the number of the sub-bandwidths is the same as the number of the hard disks; respectively distributing sub-bandwidths to the target backboard hard disc slots according to the number of slots of the target backboard hard disc slots; and adjusting the bandwidth of at least one target hard disk corresponding to the target backboard hard disk slot according to the sub-bandwidth allocated by the target backboard hard disk slot, so that the bandwidth of at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot. For example: the number of the hard disks of the target hard disk connected with the backboard hard disk slot positions is 5, the total bandwidth of the PCIe equipment is divided into 5 sub-bandwidths, and then the 5 sub-bandwidths are respectively distributed to five target backboard hard disk slot positions according to the slot number of the target backboard slot positions.
In an embodiment, in the present application, the dividing the total bandwidth of the PCIe device to obtain at least one sub-bandwidth may be obtained by: calculating the reference number of the hard disks according to the number of the slots of the hard disk slots of the backboard; the reference number of the hard disks is smaller than the number of the slots; calculating a first reference bandwidth value and a second reference bandwidth value according to the total bandwidth and the slot number of the PCIe device; the first reference bandwidth value is greater than the second reference bandwidth value; dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value and the second reference bandwidth value to obtain at least one sub-bandwidth. For example: the number of the hard disks is 5, the number of slots of the backboard is 8, the number of the hard disk references is calculated to be 4, the first reference bandwidth value is calculated to be X4, and the second reference bandwidth value is calculated to be X2, so that the total bandwidth of the PCIe device is divided into 5 sub bandwidths according to the number of the hard disks, the number of the slots, the number of the hard disk references, the first reference bandwidth value and the second reference bandwidth value.
In one embodiment, the first and second reference bandwidth values are calculated by: taking the quotient of the total bandwidth of the PCIe device and the slot number as a second reference bandwidth value; and taking the product of the second reference bandwidth value and the preset coefficient as the first reference bandwidth value. For example: the total bandwidth of the PCIe device is X16, the number of slots is 8, the total bandwidth of the PCIe device may be divided by the number of slots to obtain a second reference bandwidth value X2, and then the second reference value is multiplied by a preset coefficient 2 to obtain a first reference bandwidth value X4. In this application, the first reference bandwidth value and the second reference bandwidth value may also be preset parameters, and the manner of obtaining the first reference bandwidth value and the second reference bandwidth value is not specifically limited herein.
In an embodiment, the total bandwidth of the PCIe device is divided according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value, to obtain at least one sub-bandwidth, which may be divided by: when the number of hard disks is smaller than or equal to the reference number of hard disks, dividing the total bandwidth of the PCIe device into sub-bandwidths which are the same as the number of hard disks and the bandwidth values of which are the first reference bandwidth values. For example: the total bandwidth of the PCIe device is X16, the number of hard disks is 4, the number of hard disk references is 4, the first reference bandwidth value is X4, when the total bandwidth of the PCIe device is divided, if the number of hard disks is judged to be equal to the number of hard disk references, the total bandwidth of the PCIe device is divided into 4 sub-bandwidths with the bandwidth value of X4.
In another example, the total bandwidth of the PCIe device is divided according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value, to obtain at least one sub-bandwidth, which may be divided by: when the number of the hard disks is larger than the reference number of the hard disks and smaller than the number of the slots, calculating a first division number with a bandwidth value being a first reference bandwidth value and a second division number with a bandwidth value being a second reference bandwidth value according to the number of the slots and the number of the hard disks; the total bandwidth of the PCIe device is divided into sub-bandwidths equal to the first division number and each being a first reference bandwidth value, and sub-bandwidths equal to the second division number and each being a second reference bandwidth value.
The first division number may be calculated by the formula a1=m-N, the second division number may be calculated by the formula a2=2n-M, A1 is the first division number, A2 is the second division number, M is the slot number, and N is the hard disk number. In this application, the first division number and the second division number may be calculated by other methods, which are not specifically limited herein.
For example: the total bandwidth of the PCIe device is X16, the number of slots is 8, the number of hard disks is 5, the number of hard disk references is 4, the first reference bandwidth value is X4, the second reference bandwidth value is X2, it can be judged that the number of hard disks is larger than the number of hard disk references, at this time, the first division number is 3, the second division number is 2, and then the total bandwidth of the PCIe device can be divided into 3 sub-bandwidths with the bandwidth value of X4 and 2 sub-bandwidths with the bandwidth value of X2.
In another example, the total bandwidth of the PCIe device is divided according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value, to obtain at least one sub-bandwidth, which may be divided by: when the number of hard disks is equal to the number of slots, dividing the total bandwidth of the PCIe device into sub-bandwidths which are the same as the number of hard disks and are both the second reference bandwidth value. For example: the total bandwidth of the PCIe device is X16, the number of slots is 8, the number of hard disks is 8, and the second reference bandwidth value is X2, where it may be determined that the number of hard disks is equal to the number of slots, and at this time, the total bandwidth of the PCIe device may be divided into 8 sub-bandwidths with the bandwidth value of X2.
In an embodiment, according to the sub-bandwidth allocated to the target backboard hard disk slot, the bandwidth of at least one target hard disk corresponding to the target backboard hard disk slot is adjusted, so that the bandwidth of at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot, and when the number of hard disks is less than or equal to the reference number of hard disks, the allocation and adjustment can be performed by: bandwidth allocation is carried out on the target backboard hard disc slot, so that the sub bandwidth of the target backboard hard disc slot is a first reference bandwidth value; and adjusting at least one target hard disk corresponding to the target backboard hard disk slot position to ensure that the bandwidth of the at least one target hard disk is consistent with the sub bandwidth of the target backboard hard disk slot position. For example: the first reference bandwidth value is X4, sub-bandwidth of the X4 is distributed to the hard disk slot of the target backboard, and then the target hard disk connected with the hard disk slot of the target backboard is regulated, so that the bandwidth of the target hard disk is also X4.
In another example, according to the sub-bandwidth allocated by the target backboard hard disk slot, the bandwidth of at least one target hard disk corresponding to the target backboard hard disk slot is adjusted, so that the bandwidth of at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot, and when the number of hard disks is greater than the reference number of hard disks and less than the number of slots, the sub-bandwidth allocated and adjusted can be allocated and adjusted as follows: determining a first target backboard hard disk slot position from the target backboard hard disk slot position according to the sequence from the small slot number to the large slot number; the number of the hard disk slots of the first target backboard is the same as the first division number; bandwidth allocation is carried out on the first target backboard hard disc slot position, so that the sub-bandwidth of the first target backboard hard disc slot position is a first reference bandwidth value, and bandwidth allocation is carried out on the second target backboard hard disc slot position, so that the sub-bandwidth of the second target backboard hard disc slot position is a second reference bandwidth value; the second target backboard hard disc groove is the target backboard hard disc groove left by dividing the first target backboard hard disc groove in the target backboard hard disc groove; and adjusting the bandwidth of the first target hard disk corresponding to the first target backboard hard disk slot position and the bandwidth of the second target hard disk corresponding to the second target backboard hard disk slot position to enable the bandwidth of the first target hard disk to be consistent with the sub-bandwidth of the first target backboard hard disk slot position, and enabling the bandwidth of the second target hard disk to be consistent with the sub-bandwidth of the second target backboard hard disk slot position.
For example: the number of slots corresponding to the target backboard hard disk slots A to E is respectively 1, 3, 5, 2, 5 and 6, the order of the slots from small to large is 1, 2, 3, 5 and 6, the first target backboard hard disk slot is determined to be the target backboard hard disk slot with the number of A, D, B, the second target backboard hard disk slot is determined to be the target backboard hard disk slot with the number of C, E, the sub-bandwidth of X4 is allocated to the target backboard hard disk slot with the number of A, D, B, the sub-bandwidth of X2 is allocated to the target backboard hard disk slot with the number of C, E, the bandwidth of the first target hard disk connected with the target backboard hard disk slot with the number of A, D, B is adjusted to be X4, the bandwidth of the second target hard disk connected with the target backboard hard disk slot with the number of C, E is adjusted to be the bandwidth of the second target hard disk with the number of X2.
In another example, according to the sub-bandwidth allocated by the target backboard hard disk slot, the bandwidth of at least one target hard disk corresponding to the target backboard hard disk slot is adjusted, so that the bandwidth of at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot, and when the number of hard disks is equal to the number of slots, the allocation and adjustment can be performed by: bandwidth allocation is carried out on the target backboard hard disc slot, so that the sub bandwidth of the target backboard hard disc slot is a second reference bandwidth value; and adjusting at least one target hard disk corresponding to the target backboard hard disk slot position to ensure that the bandwidth of the at least one target hard disk is consistent with the sub bandwidth of the target backboard hard disk slot position. For example: and the second reference bandwidth value is X2, the sub bandwidth of the X2 is distributed to the hard disk slot of the target backboard, and then the target hard disk connected with the hard disk slot of the target backboard is regulated, so that the bandwidth of the target hard disk is also X2.
In the embodiment, by detecting the connection state of the hard disk, when the connection state changes, determining at least one target hard disk currently connected with the slot of the backboard hard disk; acquiring the total bandwidth of PCIe equipment; and respectively distributing the total bandwidth of the PCIe device to at least one target hard disk. Therefore, when the hard disk connected to the PCIe device changes, the total bandwidth of the PCIe device is reasonably distributed to the target hard disk according to the total bandwidth of the PCIe device and the target hard disk, so that the target hard disk is fully used, the read-write performance of the target hard disk is improved, and the waste of bandwidth resources due to the fact that the number of the target hard disks is not full is avoided.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 2, there is shown a block diagram of a bandwidth adjustment apparatus according to an embodiment of the present invention, where the apparatus is applied to a server, and the server has a high-speed serial computer expansion bus standard PCIe device, and the PCIe device includes a backplane hard disk slot, and the backplane hard disk slot is connected to at least one hard disk, and the apparatus includes:
a determining module 201, configured to detect a connection state of the hard disk, and determine at least one target hard disk currently connected to the backboard hard disk slot when the connection state changes;
a first obtaining module 202, configured to obtain a total bandwidth of the PCIe device;
and the allocation module 203 is configured to allocate the total bandwidth of the PCIe device to the at least one target hard disk respectively.
Optionally, the apparatus further comprises:
secondly, obtaining the number of hard disks of the at least one target hard disk, the number of slots of the hard disk of the backboard and the number of slots of the hard disk of the target backboard; the target backboard hard disk slot is a backboard hard disk slot connected with the at least one target hard disk;
the distribution module 203 includes:
a dividing sub-module, configured to divide a total bandwidth of the PCIe device to obtain at least one sub-bandwidth; the number of the sub-bandwidths is the same as the number of the hard disks;
The allocation sub-module is used for respectively allocating the sub-bandwidths to the target backboard hard disk slot positions according to the number of the slots of the target backboard hard disk slot positions;
and the adjusting sub-module is used for adjusting the bandwidth of the at least one target hard disk corresponding to the target backboard hard disk slot according to the sub-bandwidth allocated by the target backboard hard disk slot so that the bandwidth of the at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot.
Optionally, the dividing submodule includes:
the first calculating unit is used for calculating the reference number of the hard disks according to the number of the slots of the backboard hard disk slots; the hard disk reference number is smaller than the slot number;
the second calculation unit is used for calculating a first reference bandwidth value and a second reference bandwidth value according to the total bandwidth of the PCIe equipment and the slot number; the first reference bandwidth value is greater than the second reference bandwidth value;
the dividing unit is configured to divide the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value, so as to obtain at least one sub-bandwidth.
Optionally, the dividing unit includes:
and the first dividing subunit is used for dividing the total bandwidth of the PCIe equipment into sub bandwidths which are the same as the number of the hard disks and have the bandwidth values of the first reference bandwidth value when the number of the hard disks is smaller than or equal to the reference number of the hard disks.
Optionally, the dividing unit includes:
a calculating subunit, configured to calculate, according to the number of slots and the number of hard disks, a first division number with a bandwidth value being the first reference bandwidth value and a second division number with a bandwidth value being the second reference bandwidth value when the number of hard disks is greater than the reference number of hard disks and less than the number of slots;
and the second dividing subunit is used for dividing the total bandwidth of the PCIe device into sub-bandwidths which are the same as the first dividing quantity and are all the first reference bandwidth values and sub-bandwidths which are the same as the second dividing quantity and are all the second reference bandwidth values.
Optionally, the dividing unit includes:
and the third dividing subunit is used for dividing the total bandwidth of the PCIe equipment into sub-bandwidths which are the same as the number of the hard disks and are all the second reference bandwidth values when the number of the hard disks is equal to the number of the slots.
Optionally, the adjusting submodule includes:
the determining unit is used for determining a first target backboard hard disk slot position from the target backboard hard disk slot position according to the sequence from the small slot number to the large slot number by a user; the number of the first target backboard hard disc slots is the same as the first division number;
the allocation unit is used for performing bandwidth allocation on the first target backboard hard disk slot so that the sub-bandwidth of the first target backboard hard disk slot is the first reference bandwidth value, and performing bandwidth allocation on the second target backboard hard disk slot so that the sub-bandwidth of the second target backboard hard disk slot is the second reference bandwidth value; the second target backboard hard disc groove is the target backboard hard disc groove left by dividing the first target backboard hard disc groove in the target backboard hard disc groove;
the adjusting unit is used for adjusting the bandwidth of the first target hard disk corresponding to the first target backboard hard disk slot position and the bandwidth of the second target hard disk corresponding to the second target backboard hard disk slot position, so that the bandwidth of the first target hard disk is consistent with the sub-bandwidth of the first target backboard hard disk slot position, and the bandwidth of the second target hard disk is consistent with the sub-bandwidth of the second target backboard hard disk slot position.
Optionally, the second computing unit includes:
a first computing subunit, configured to take a quotient of the total bandwidth of the PCIe device and the slot number as a second reference bandwidth value;
and the second calculating subunit is used for taking the product of the second reference bandwidth value and a preset coefficient as the first reference bandwidth value.
The invention discloses a bandwidth adjusting device, which comprises: the determining module is used for detecting the connection state of the hard disk, and determining at least one target hard disk currently connected with the backboard hard disk slot when the connection state changes; the first acquisition module is used for the total bandwidth of the PCIe equipment; and the distribution module is used for respectively distributing the total bandwidth of the PCIe equipment to at least one target hard disk. Therefore, when the hard disk connected to the PCIe device changes, the total bandwidth of the PCIe device is reasonably distributed to the target hard disk according to the total bandwidth of the PCIe device and the target hard disk, so that the target hard disk is fully used, the read-write performance of the target hard disk is improved, and the waste of bandwidth resources due to the fact that the number of the target hard disks is not full is avoided.
For the bandwidth adjusting apparatus embodiment described above, since it is substantially similar to the method embodiment, the description is relatively simple, and the relevant points will be referred to in the description of the method embodiment.
Referring to fig. 3, a block diagram of an electronic device according to an embodiment of the present invention is provided, including:
the bandwidth adjustment method comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein the computer program realizes the processes of the bandwidth adjustment method embodiment when being executed by the processor, can achieve the same technical effects, and is not repeated here.
Fig. 4 shows a block diagram of a computer readable storage medium according to an embodiment of the present invention, where a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the processes of the above-mentioned bandwidth adjustment method embodiment are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no redundant description is given here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The bandwidth adjusting method, device, equipment and storage medium provided by the invention are described in detail, and specific examples are applied to illustrate the principle and implementation of the invention, and the description of the above examples is only used for helping to understand the method and core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (11)

1. A method of bandwidth adjustment, the method being applied to a server having a high-speed serial computer expansion bus standard PCIe device including a backplane hard disk slot, the backplane hard disk slot being connected to at least one hard disk, the method comprising:
detecting the connection state of the hard disk, and determining at least one target hard disk currently connected with the backboard hard disk slot when the connection state changes;
acquiring the total bandwidth of the PCIe device;
and respectively distributing the total bandwidth of the PCIe device to the at least one target hard disk.
2. The method for adjusting bandwidth according to claim 1, wherein after detecting the connection state of the hard disk and determining at least one target hard disk currently connected to the backplane hard disk slot when the connection state changes, further comprising:
obtaining the number of the hard disks of the at least one target hard disk, the number of slots of the slot positions of the hard disk of the backboard and the number of slots of the slot positions of the hard disk of the target backboard; the target backboard hard disk slot is a backboard hard disk slot connected with the at least one target hard disk;
the allocating the total bandwidth of the PCIe device to the at least one target hard disk respectively includes:
dividing the total bandwidth of the PCIe device to obtain at least one sub-bandwidth; the number of the sub-bandwidths is the same as the number of the hard disks;
respectively distributing the sub-bandwidths to the target backboard hard disc slots according to the number of the slots of the target backboard hard disc slots;
and adjusting the bandwidth of the at least one target hard disk corresponding to the target backboard hard disk slot according to the sub-bandwidth allocated by the target backboard hard disk slot, so that the bandwidth of the at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backboard hard disk slot.
3. The method for adjusting bandwidth according to claim 2, wherein dividing the total bandwidth of the PCIe device to obtain at least one sub-bandwidth includes:
calculating the reference number of the hard disks according to the number of the slots of the hard disk slots of the backboard; the hard disk reference number is smaller than the slot number;
calculating a first reference bandwidth value and a second reference bandwidth value according to the total bandwidth of the PCIe device and the slot number; the first reference bandwidth value is greater than the second reference bandwidth value;
and dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value and the second reference bandwidth value to obtain at least one sub-bandwidth.
4. The method for bandwidth adjustment according to claim 3, wherein dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value to obtain at least one sub-bandwidth includes:
and when the number of the hard disks is smaller than or equal to the reference number of the hard disks, dividing the total bandwidth of the PCIe equipment into sub-bandwidths which are the same as the number of the hard disks and have the bandwidth values of the first reference bandwidth value.
5. The method for bandwidth adjustment according to claim 3, wherein dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value to obtain at least one sub-bandwidth includes:
when the number of the hard disks is larger than the reference number of the hard disks and smaller than the number of the slots, calculating a first division number with a bandwidth value being the first reference bandwidth value and a second division number with a bandwidth value being the second reference bandwidth value according to the number of the slots and the number of the hard disks;
dividing the total bandwidth of the PCIe device into sub-bandwidths which are the same as the first division number and are all the first reference bandwidth value, and sub-bandwidths which are the same as the second division number and are all the second reference bandwidth value.
6. The method for bandwidth adjustment according to claim 3, wherein dividing the total bandwidth of the PCIe device according to the number of hard disks, the number of slots, the number of hard disk references, the first reference bandwidth value, and the second reference bandwidth value to obtain at least one sub-bandwidth includes:
And when the number of the hard disks is equal to the number of the slots, dividing the total bandwidth of the PCIe equipment into sub-bandwidths which are the same as the number of the hard disks and are all the second reference bandwidth values.
7. The method for adjusting bandwidth according to claim 5, wherein adjusting the bandwidth of the at least one target hard disk corresponding to the target backplane hard disk slot according to the sub-bandwidth allocated by the target backplane hard disk slot so that the bandwidth of the at least one target hard disk is consistent with the sub-bandwidth of the corresponding target backplane hard disk slot comprises:
determining a first target backboard hard disc slot position from the target backboard hard disc slot position according to the sequence from the small slot number to the large slot number; the number of the first target backboard hard disc slots is the same as the first division number;
bandwidth allocation is carried out on the first target backboard hard disc slot position, so that the sub-bandwidth of the first target backboard hard disc slot position is the first reference bandwidth value, and bandwidth allocation is carried out on the second target backboard hard disc slot position, so that the sub-bandwidth of the second target backboard hard disc slot position is the second reference bandwidth value; the second target backboard hard disc groove is the target backboard hard disc groove left by dividing the first target backboard hard disc groove in the target backboard hard disc groove;
And adjusting the bandwidth of a first target hard disk corresponding to the first target backboard hard disk slot position and the bandwidth of a second target hard disk corresponding to the second target backboard hard disk slot position to enable the bandwidth of the first target hard disk to be consistent with the sub-bandwidth of the first target backboard hard disk slot position, and enabling the bandwidth of the second target hard disk to be consistent with the sub-bandwidth of the second target backboard hard disk slot position.
8. The method of bandwidth adjustment according to claim 3, wherein calculating a first reference bandwidth value and a second reference bandwidth value according to the total bandwidth of the PCIe device and the slot number comprises:
taking the quotient of the total bandwidth of the PCIe equipment and the slot number as a second reference bandwidth value;
and taking the product of the second reference bandwidth value and a preset coefficient as a first reference bandwidth value.
9. A bandwidth adjustment apparatus for use with a server having a high-speed serial computer expansion bus standard PCIe device including a backplane hard disk slot connected to at least one hard disk, the apparatus comprising:
the determining module is used for detecting the connection state of the hard disk, and determining at least one target hard disk currently connected with the backboard hard disk slot position when the connection state changes;
The first acquisition module is used for acquiring the total bandwidth of the PCIe equipment;
and the distribution module is used for distributing the total bandwidth of the PCIe equipment to the at least one target hard disk respectively.
10. An electronic device, comprising: a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor implements the steps of the bandwidth adjustment method according to any of claims 1-8.
11. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the bandwidth adjustment method according to any of claims 1-8.
CN202310070931.8A 2023-01-29 2023-01-29 Bandwidth adjustment method, device, electronic equipment and storage medium Pending CN116150067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310070931.8A CN116150067A (en) 2023-01-29 2023-01-29 Bandwidth adjustment method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310070931.8A CN116150067A (en) 2023-01-29 2023-01-29 Bandwidth adjustment method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116150067A true CN116150067A (en) 2023-05-23

Family

ID=86340222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310070931.8A Pending CN116150067A (en) 2023-01-29 2023-01-29 Bandwidth adjustment method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116150067A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117319214A (en) * 2023-11-30 2023-12-29 北京象帝先计算技术有限公司 PCIE transmission bandwidth processing method, PCIE terminal equipment and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117319214A (en) * 2023-11-30 2023-12-29 北京象帝先计算技术有限公司 PCIE transmission bandwidth processing method, PCIE terminal equipment and electronic equipment
CN117319214B (en) * 2023-11-30 2024-04-16 北京象帝先计算技术有限公司 PCIE transmission bandwidth processing method, PCIE terminal equipment and electronic equipment

Similar Documents

Publication Publication Date Title
US20110209157A1 (en) Resource allocation method, program, and resource allocation apparatus
CN110196767B (en) Service resource control method, device, equipment and storage medium
JP2003330734A (en) Method and system for allocating system resource to applications using weight
EP2921954A1 (en) Virtual machine allocation method and apparatus
WO2015101091A1 (en) Distributed resource scheduling method and device
CN110012001B (en) Resource allocation method and device
CN108958975B (en) Method, device and equipment for controlling data recovery speed
EP3482294A1 (en) Methods and modules relating to allocation of host machines
CN110636388A (en) Service request distribution method, system, electronic equipment and storage medium
CN116150067A (en) Bandwidth adjustment method, device, electronic equipment and storage medium
CN111562884B (en) Data storage method and device and electronic equipment
CN104243531A (en) Data processing method, device and system
CN108664321B (en) System resource allocation adjusting method and device
CN103336670A (en) Method and device for automatic distribution of data blocks based on data temperature
CN1694072A (en) Method of arbitration which allows requestors from multiple frequency domains
CN102904946B (en) Method and device for managing nodes in cluster
JP7214287B1 (en) Resource allocation determination method, device, computing device and computer program
CN109445684B (en) Resource allocation method and equipment for hard disk in distributed storage system
CN108845860B (en) Method and device for managing quota and electronic equipment
WO2017146618A1 (en) Methods and modules relating to allocation of host machines
CN109951506B (en) Method and equipment for evaluating performance of storage cluster
CN106131187B (en) Authorization control method and device
CN115269118A (en) Scheduling method, device and equipment of virtual machine
CN112783441B (en) Method and device for adjusting read-write speed limit of virtual machine disk and computing equipment
CN111800446B (en) Scheduling processing method, device, equipment and storage medium

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