CN112631519B - Method and equipment for dynamically allocating hard disk resources - Google Patents

Method and equipment for dynamically allocating hard disk resources Download PDF

Info

Publication number
CN112631519B
CN112631519B CN202011562621.0A CN202011562621A CN112631519B CN 112631519 B CN112631519 B CN 112631519B CN 202011562621 A CN202011562621 A CN 202011562621A CN 112631519 B CN112631519 B CN 112631519B
Authority
CN
China
Prior art keywords
hard disk
firmware
sas expander
back plate
uplink channel
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.)
Active
Application number
CN202011562621.0A
Other languages
Chinese (zh)
Other versions
CN112631519A (en
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 CN202011562621.0A priority Critical patent/CN112631519B/en
Publication of CN112631519A publication Critical patent/CN112631519A/en
Application granted granted Critical
Publication of CN112631519B publication Critical patent/CN112631519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of 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
    • G06F3/0613Improving I/O performance in relation to throughput
    • 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
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a device for dynamically allocating hard disk resources, wherein the method comprises the following steps: monitoring information of each hard disk on the SAS Expander back plate, and judging whether the uplink channel rate of the hard disk needs to be adjusted or not based on the information and preset information in corresponding firmware; in response to the requirement of adjusting the speed of the uplink channel of the hard disk, closing a preset functional pin on the SAS Expander back plate; selecting corresponding firmware on the SAS Expander back plate for burning; and responding to the completion of burning, and opening a preset function pin on the SAS Expander back plate. By using the scheme of the invention, online upgrade and maintenance of the firmware of the SAS Expander back plate can be realized, shutdown and restart are not needed when the firmware of the SAS Expander back plate is refreshed, the service of the server in operation is not interrupted, the startup and shutdown time and the maintenance time are saved, the dynamic bandwidth and the resource allocation of the storage equipment are realized, the uplink bandwidth of a hard disk can be dynamically adjusted, and the reasonable allocation of the storage resources is realized.

Description

Method and equipment for dynamically allocating hard disk resources
Technical Field
The field relates to the field of computers, and more particularly to a method and apparatus for dynamic allocation of hard disk resources.
Background
The hard disk is an indispensable component of a server storage unit, and currently, commonly used hard disks include SAS (serial attached SCSI interface), SATA (serial advanced technology attachment), and NVME (non-volatile memory express) hard disks according to different transmission protocols. The SATA hard disk, also known as a serial hard disk, adopts a serial connection mode, uses an embedded clock signal, has strong error correction capability, can check transmission instructions, improves the reliability of data transmission, and has the advantages of simple structure and hot plug support. SAS is a new generation SCSI technology, and SAS hard disks also use serial technology to achieve higher transmission speed, improve internal space by shortening a connection line, and are compatible with SATA hard disks.
With the increasing demand of server application scenes on storage, a limited SAS (serial attached SCSI) interface provided on a CPU (central processing unit) of a server mainboard is not enough to meet the application demand of multi-hard-disk high storage, and an Expander chip and an SAS Expander back plate capable of realizing SAS transmission interface expansion come into force. SAS Expander backplanes are typically used in conjunction with HBA or RAID cards to build a disk array or even larger storage system based on SAS technology by forming an advanced switched topology.
When the hard disk device hung under the SAS Expander back plate expansion is used, the bandwidth and the speed of the hard disk device are controlled by an Expander internal controller and Firmware, and the bandwidth and the speed of the hard disk device are usually fixed upper limit values, so that the flexible allocation of resources and the utilization efficiency of a storage unit are greatly reduced. How to reasonably distribute the hard disks for use while expanding the storage resources through the SAS Expander backplane, and improve the operating efficiency of the storage unit will become an important link for improving the resource utilization rate of the server.
Currently, an Expander Firmware capable of realizing different interface transmission rate allocations is developed by chip manufacturers. In the existing server storage unit design, by manually pre-judging the types and the rates of the hard disks connected to the SAS Expander backplane, operators manually refresh Firmware of the SAS Expander backplane. And after the computer is shut down and restarted, the refreshed Firmware can be used.
The disadvantages of the prior art solutions are mainly: the online upgrade and maintenance of Firmware of the SAS Expander back plate cannot be realized: after the Firmware of the SAS Expander back plate is refreshed, the restarting party must be shut down to take effect, and the running service of the server is interrupted; dynamic bandwidth and resource allocation of the storage device cannot be realized: when the SAS Expander backplane is connected to a plurality of hard disks, if the speed of uplink channels of different hard disks needs to be adjusted, the types of the hard disks need to be manually identified or instructions need to be manually input to measure the read-write speed of the hard disks, and then Firmware is selected for burning, and the read-write state of the mounted hard disks is allocated, so that the waste of human resources is caused.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for dynamically allocating hard disk resources, and by using the technical scheme of the present invention, online upgrade and maintenance of SAS Expander backplane firmware can be achieved, and shutdown and restart are not required when the SAS Expander backplane firmware is refreshed, and a service running in a server is not interrupted, so that time for powering on and powering off and maintenance is saved, dynamic bandwidth and resource allocation of a storage device are achieved, uplink bandwidth of a hard disk can be dynamically adjusted, and reasonable allocation of storage resources is achieved.
In view of the above object, an aspect of the embodiments of the present invention provides a method for dynamically allocating hard disk resources, including the following steps:
monitoring information of each hard disk on the SAS Expander back plate, and judging whether the uplink channel rate of the hard disk needs to be adjusted or not based on the information and preset information in corresponding firmware;
in response to the requirement of adjusting the speed of the uplink channel of the hard disk, closing a preset functional pin on the SAS Expander back plate;
selecting corresponding firmware on the SAS Expander back plate for burning;
and responding to the completion of burning, and opening a preset function pin on the SAS Expander back plate.
According to an embodiment of the present invention, monitoring information of each hard disk on the SAS Expander backplane, and determining whether the uplink channel rate of the hard disk needs to be adjusted based on the information and preset information in the corresponding firmware includes:
monitoring the real-time read-write rate of each hard disk, and calculating the real-time read-write rate ratio of each hard disk;
comparing the real-time read-write rate ratio of each hard disk with the ratio set by the flushed firmware;
and responding to the condition that the real-time read-write rate ratio of each hard disk is consistent with the set ratio of the flushed firmware, and judging that the uplink channel rate of the hard disk does not need to be adjusted.
According to an embodiment of the present invention, further comprising:
and judging that the uplink channel rate of the hard disk needs to be adjusted in response to the fact that any one of the real-time read-write rate ratios of the hard disks is inconsistent with the set proportion of the flushed firmware.
According to an embodiment of the present invention, further comprising:
and storing the firmware with unequal bandwidth allocation of the uplink channel of each hard disk in a flash memory on the SAS Expander back plate.
According to an embodiment of the invention, selecting corresponding firmware on the SAS Expander backplane for burning comprises:
and selecting firmware consistent with the data transmission rate ratio of each hard disk from a flash memory on the SAS Expander back plate for burning.
In another aspect of the embodiments of the present invention, an apparatus for dynamically allocating hard disk resources is further provided, where the apparatus includes:
the monitoring module is configured to monitor information of each hard disk on the SAS Expander back plate and judge whether the uplink channel rate of the hard disk needs to be adjusted or not based on the information and preset information in corresponding firmware;
the shutdown module is configured to respond to the requirement for adjusting the speed of the uplink channel of the hard disk and close a preset functional pin on the SAS Expander back plate;
the selection module is configured to select corresponding firmware on the SAS Expander back plate for burning;
and the enabling module is configured to respond to the completion of burning and open the preset functional pins on the SAS Expander backplane.
According to one embodiment of the invention, the monitoring module is further configured to:
monitoring the real-time reading and writing rate of each hard disk, and calculating the real-time reading and writing rate ratio of each hard disk;
comparing the real-time read-write rate ratio of each hard disk with the ratio set by the flushed firmware;
and responding to the condition that the real-time read-write rate ratio of each hard disk is consistent with the set ratio of the flushed firmware, and judging that the uplink channel rate of the hard disk does not need to be adjusted.
According to an embodiment of the present invention, the apparatus further includes a determining module configured to:
and judging that the uplink channel rate of the hard disk needs to be adjusted in response to the fact that any one of the real-time read-write rate ratios of the hard disks is inconsistent with the set proportion of the flushed firmware.
According to one embodiment of the invention, the system further comprises a storage module configured to:
and storing the firmware with unequal bandwidth allocation of the uplink channel of each hard disk in a flash memory on the SAS Expander back plate.
According to one embodiment of the invention, the selection module is configured to:
and selecting firmware consistent with the data transmission rate ratio of each hard disk from a flash memory on the SAS Expander back plate for burning.
The invention has the following beneficial technical effects: in the method for dynamically allocating hard disk resources provided by the embodiment of the invention, the information of each hard disk on the SAS Expander back plate is monitored, and whether the uplink channel rate of the hard disk needs to be adjusted or not is judged based on the information and the preset information in the corresponding firmware; responding to the requirement of adjusting the speed of an uplink channel of the hard disk, and closing a preset function pin on the SAS Expander back plate; selecting corresponding firmware on the SAS Expander back plate for burning; the technical scheme of starting the preset functional pins on the SAS Expander back plate in response to the completion of burning can realize online upgrading and maintenance of the firmware of the SAS Expander back plate, does not need shutdown and restart when the firmware of the SAS Expander back plate is refreshed, does not interrupt the service of a server in operation, saves the time for startup and shutdown and the time for maintenance, realizes the dynamic bandwidth and resource allocation of storage equipment, can dynamically adjust the uplink bandwidth of a hard disk, and realizes reasonable allocation of storage resources.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for dynamic allocation of hard disk resources according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an apparatus for dynamically allocating hard disk resources according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for dynamically allocating hard disk resources. Fig. 1 shows a schematic flow diagram of the method.
As shown in fig. 1, the method may include the steps of:
s1, monitoring information of each hard disk on an SAS Expander backboard, judging whether the speed of an uplink channel of the hard disk needs to be adjusted or not based on the information and preset information in corresponding Firmware, storing the real-time read-write speed of the mounted hard disk in a register of the SAS Expander backboard, acquiring the real-time read-write speed by an FPGA (field programmable gate array) through an I2C (inter-integrated circuit) protocol, analyzing the acquired real-time read-write speed of the hard disk by the FPGA, judging whether Firmware is refreshed or not, calculating the real-time read-write speed of each mounted hard disk in proportion inside the FPGA, rounding according to a rounding principle, if the real-time read-write speed proportion of each mounted hard disk is consistent with the set proportion of the refreshed Firmware (the bandwidth and the speed of the lower mounted hard disk are equal due to the Firmware input for the first time), keeping the Firmware of the original SAS Expander backboard unchanged, and if any one of the real-time read-write speed proportion of each mounted hard disk is inconsistent with the set proportion of the refreshed Firmware;
s2, responding to the requirement of adjustment of the speed of an uplink channel of the hard disk, closing a preset functional pin on the SAS Expander back plate, and under the condition that the speed needs to be adjusted, selecting other firmware for burning, so as to prevent the disorder of the work of the storage system in the burning process, and therefore the action of the functional pin for transmitting uplink and downlink data needs to be suspended in the burning process to stop the data transmission participated by the storage equipment mounted on the SAS Expander back plate;
s3, selecting corresponding Firmware on the SAS Expander backboard for burning, setting a flash memory on the SAS Expander backboard, storing Firmware with unequal uplink channel bandwidth distribution of each hard disk in the flash memory, storing the Firmware of the subsequent online automatic burning SAS Expander backboard in the flash memory, packaging the Firmware and marking the Firmware for FPGA identification, and selecting the Firmware stored in the flash memory and consistent with the data transmission rate ratio of each hard disk at present according to the rate of mounting the hard disk for burning.
And S4, in response to the completion of burning, starting a preset function pin on the SAS Expander backboard, and after the burning is completed, starting the closed preset function pin to recover the uplink and downlink transmission of the data, wherein the steps can be continuously repeated until the real-time read-write rate proportion of each mounted hard disk is consistent with the set proportion of the flushed Firmware, and at the moment, the resources of each hard disk storage device are reasonably utilized to the maximum extent.
By the technical scheme, online upgrade and maintenance of the firmware of the SAS Expander back plate can be realized, shutdown and restart are not needed when the firmware of the SAS Expander back plate is refreshed, the service of the server in operation is not interrupted, the startup and shutdown time and the maintenance time are saved, the dynamic bandwidth and the resource allocation of the storage device are realized, the uplink bandwidth of a hard disk can be dynamically adjusted, and the reasonable allocation of the storage resources is realized.
In a preferred embodiment of the present invention, monitoring information of each hard disk on the SAS Expander backplane, and determining whether the uplink channel rate of the hard disk needs to be adjusted based on the information and preset information in the corresponding firmware includes:
monitoring the real-time read-write rate of each hard disk, and calculating the real-time read-write rate ratio of each hard disk;
comparing the real-time read-write rate ratio of each hard disk with the ratio set by the flushed firmware;
and responding to the condition that the real-time reading-writing rate ratio of each hard disk is consistent with the ratio set by the flushed firmware, and judging that the uplink channel rate of the hard disk does not need to be adjusted.
In a preferred embodiment of the present invention, the method further comprises:
and judging that the uplink channel rate of the hard disk needs to be adjusted in response to the fact that any one of the real-time read-write rate ratios of the hard disks is inconsistent with the set proportion of the flushed firmware. The method comprises the steps that the real-time read-write speed of each mounted hard disk is subjected to proportion calculation inside the FPGA, rounding is carried out according to the principle of rounding, if the real-time read-write speed proportion of each mounted hard disk is consistent with the set proportion of the refreshed Firmware (the bandwidth and the speed of the lower mounted hard disk are equal due to the first-time input Firmware), the Firmware of the original SAS Expander back plate is kept unchanged, and if any one of the real-time read-write speed proportion of each mounted hard disk is inconsistent with the set proportion of the refreshed Firmware, judgment of refreshing the Firmware is made.
In a preferred embodiment of the present invention, further comprising:
and storing the firmware with unequal bandwidth allocation of the uplink channel of each hard disk in a flash memory on the SAS Expander back plate. A flash memory is arranged on the SAS Expander back plate, firmware with unequal bandwidth allocation of uplink channels of all hard disks is stored in the flash memory, and the Firmware of the SAS Expander back plate which is automatically burned on line subsequently is stored in the flash memory and is packaged and marked for being identified by the FPGA.
In a preferred embodiment of the present invention, selecting the corresponding firmware for burning on the SAS Expander backplane includes:
and selecting firmware consistent with the data transmission rate ratio of each hard disk from a flash memory on the SAS Expander back plate for burning.
By the technical scheme, online upgrade and maintenance of the firmware of the SAS Expander back plate can be realized, shutdown and restart are not needed when the firmware of the SAS Expander back plate is refreshed, the service of the server in operation is not interrupted, the startup and shutdown time and the maintenance time are saved, the dynamic bandwidth and the resource allocation of the storage device are realized, the uplink bandwidth of a hard disk can be dynamically adjusted, and the reasonable allocation of the storage resources is realized.
It should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by instructing relevant hardware through a computer program, and the above programs may be stored in a computer-readable storage medium, and when executed, the programs may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
In view of the above object, in a second aspect of the embodiments of the present invention, an apparatus for dynamically allocating hard disk resources is provided, as shown in fig. 2, an apparatus 200 includes:
the monitoring module is configured to monitor information of each hard disk on the SAS Expander back plate and judge whether the uplink channel rate of the hard disk needs to be adjusted or not based on the information and preset information in corresponding firmware;
the system comprises a shutdown module, a data processing module and a data processing module, wherein the shutdown module is configured to respond to the requirement of adjustment of the speed of an uplink channel of a hard disk and close a preset functional pin on an SAS Expander backboard;
the selection module is configured to select corresponding firmware on the SAS Expander back plate for burning;
and the enabling module is configured to respond to the completion of burning and open the preset functional pins on the SAS Expander backplane.
In a preferred embodiment of the present invention, the monitoring module is further configured to:
monitoring the real-time read-write rate of each hard disk, and calculating the real-time read-write rate ratio of each hard disk;
comparing the real-time read-write rate ratio of each hard disk with the ratio set by the flushed firmware;
and responding to the condition that the real-time read-write rate ratio of each hard disk is consistent with the set ratio of the flushed firmware, and judging that the uplink channel rate of the hard disk does not need to be adjusted.
In a preferred embodiment of the present invention, the apparatus further includes a determining module, and the determining module is configured to:
and judging that the uplink channel rate of the hard disk needs to be adjusted in response to the fact that any one of the real-time read-write rate ratios of the hard disks is inconsistent with the set proportion of the flushed firmware.
In a preferred embodiment of the present invention, the apparatus further comprises a storage module configured to:
and storing the firmware with unequal bandwidth allocation of the uplink channel of each hard disk in a flash memory on the SAS Expander back plate.
In a preferred embodiment of the invention, the selection module is configured to:
and selecting firmware consistent with the data transmission rate ratio of each hard disk from a flash memory on the SAS Expander back plate for burning.
The embodiments described above, particularly any "preferred" embodiments, are possible examples of implementations and are presented merely to clearly understand the principles of the invention. Many variations and modifications may be made to the above-described embodiments without departing from the spirit and principles of the technology described herein. All such modifications are intended to be included within the scope of this disclosure and protected by the following claims.

Claims (8)

1. A method for dynamically allocating hard disk resources is characterized by comprising the following steps:
monitoring information of each hard disk on the SAS Expander back plate, and judging whether the uplink channel rate of the hard disk needs to be adjusted or not based on the information and preset information in corresponding firmware, wherein the method comprises the following steps:
monitoring the real-time read-write rate of each hard disk, and calculating the real-time read-write rate ratio of each hard disk;
comparing the real-time read-write rate ratio of each hard disk with the ratio set by the flushed firmware; and
responding to the condition that the real-time reading-writing rate ratio of each hard disk is consistent with the ratio set by the flushed firmware, and judging that the uplink channel rate of the hard disk does not need to be adjusted;
in response to the requirement of adjusting the speed of an uplink channel of a hard disk, closing a preset functional pin on the SAS Expander back plate;
selecting corresponding firmware on the SAS Expander back plate for burning;
and responding to the completion of burning, and starting a preset function pin on the SAS Expander back plate.
2. The method of claim 1, further comprising:
and in response to the inconsistency between any one of the real-time read-write rate ratios of each hard disk and the set ratio of the flushed firmware, judging that the uplink channel rate of the hard disk needs to be adjusted.
3. The method of claim 1, further comprising:
and storing the firmware with unequal bandwidth allocation of the uplink channel of each hard disk in a flash memory on the SAS Expander back plate.
4. The method of claim 3, wherein selecting the corresponding firmware on the SAS Expander backplane for burning comprises:
and selecting firmware which is consistent with the data transmission rate ratio of each hard disk from the flash memory on the SAS Expander back plate for burning.
5. An apparatus for dynamic allocation of hard disk resources, the apparatus comprising:
the monitoring module is configured to monitor information of each hard disk on the SAS Expander back plate, judge whether the uplink channel rate of the hard disk needs to be adjusted or not based on the information and preset information in corresponding firmware, monitor the real-time read-write rate of each hard disk and calculate the real-time read-write rate ratio of each hard disk; comparing the real-time read-write rate ratio of each hard disk with the ratio set by the flushed firmware; responding to the condition that the real-time read-write rate ratio of each hard disk is consistent with the set ratio of the flushed firmware, and judging that the uplink channel rate of the hard disk does not need to be adjusted;
the shutdown module is configured to respond to the requirement for adjusting the speed of an uplink channel of a hard disk and close a preset functional pin on the SAS Expander back plate;
the selection module is configured to select corresponding firmware on the SAS Expander backplane for burning;
an enabling module configured to open a preset function pin on the SAS Expander backplane in response to completion of burning.
6. The device of claim 5, further comprising a determination module configured to:
and judging that the uplink channel rate of the hard disk needs to be adjusted in response to the fact that any one of the real-time read-write rate ratios of the hard disks is inconsistent with the set proportion of the flushed firmware.
7. The device of claim 5, further comprising a storage module configured to:
and storing the firmware with unequal bandwidth allocation of the uplink channel of each hard disk in a flash memory on the SAS Expander back plate.
8. The device of claim 7, wherein the selection module is configured to:
and selecting firmware which is consistent with the data transmission rate ratio of each hard disk from the flash memory on the SAS Expander back plate for burning.
CN202011562621.0A 2020-12-25 2020-12-25 Method and equipment for dynamically allocating hard disk resources Active CN112631519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011562621.0A CN112631519B (en) 2020-12-25 2020-12-25 Method and equipment for dynamically allocating hard disk resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011562621.0A CN112631519B (en) 2020-12-25 2020-12-25 Method and equipment for dynamically allocating hard disk resources

Publications (2)

Publication Number Publication Date
CN112631519A CN112631519A (en) 2021-04-09
CN112631519B true CN112631519B (en) 2023-01-06

Family

ID=75325890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011562621.0A Active CN112631519B (en) 2020-12-25 2020-12-25 Method and equipment for dynamically allocating hard disk resources

Country Status (1)

Country Link
CN (1) CN112631519B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN210324193U (en) * 2019-09-19 2020-04-14 苏州浪潮智能科技有限公司 Hard disk backboard extension structure
CN111258667A (en) * 2020-02-05 2020-06-09 苏州浪潮智能科技有限公司 Self-adaptive configuration method, device, equipment and storage medium of server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN210324193U (en) * 2019-09-19 2020-04-14 苏州浪潮智能科技有限公司 Hard disk backboard extension structure
CN111258667A (en) * 2020-02-05 2020-06-09 苏州浪潮智能科技有限公司 Self-adaptive configuration method, device, equipment and storage medium of server

Also Published As

Publication number Publication date
CN112631519A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US9740426B2 (en) Drive array policy control
US7562362B1 (en) User control of task priority
US8812913B2 (en) Method and apparatus for isolating storage devices to facilitate reliable communication
CN111737173B (en) I2C bus communication control method, device, system and readable storage medium
US10599521B2 (en) System and method for information handling system boot status and error data capture and analysis
US20130166832A1 (en) Methods and electronic devices for adjusting the operating frequency of a memory
CN101872288A (en) Solid-state hard drive and operation frequency control method
US8868811B2 (en) Systems and methods for hot-plug detection recovery
CN110704228A (en) Solid state disk exception handling method and system
CN107145198B (en) Method for improving compatibility of server to hard disk and mainboard thereof
US20240127870A1 (en) Configuring a host interface of a memory device based on mode of operation
KR20170047468A (en) Memory module monitoring memory operation and power management method thereof
CN105260138A (en) Read/write control system and method
CN112631519B (en) Method and equipment for dynamically allocating hard disk resources
CN109086081B (en) Method, system and medium for instantly prompting in-place change of SATA (Serial advanced technology attachment) and NVMe (network video recorder) equipment
US11487638B2 (en) Computer program product and method and apparatus for controlling access to flash memory card
EP3736683B1 (en) Solid-state drive and performance optimization method for solid-state drive
CN115221092A (en) Method, device and equipment for determining distributable bus of PCI-E card and storage medium
CN109324834A (en) A kind of system and method that distributed storage server is restarted automatically
CN108664366B (en) Data transmission method and device and server
JP6379841B2 (en) Information processing apparatus, test method, and test control program
JP2020086606A (en) Information processing unit and control program
CN111124882B (en) Method and device for realizing application test, computer storage medium and terminal
US11893391B2 (en) Processing computing jobs via an acceleration device
CN115617411B (en) Electronic equipment data processing method and device, electronic 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
GR01 Patent grant
GR01 Patent grant