CN103164381A - PHY adjustment method and system of serial attached small computer system interface (SCSI) (SAS) expander equipment - Google Patents

PHY adjustment method and system of serial attached small computer system interface (SCSI) (SAS) expander equipment Download PDF

Info

Publication number
CN103164381A
CN103164381A CN 201110420538 CN201110420538A CN103164381A CN 103164381 A CN103164381 A CN 103164381A CN 201110420538 CN201110420538 CN 201110420538 CN 201110420538 A CN201110420538 A CN 201110420538A CN 103164381 A CN103164381 A CN 103164381A
Authority
CN
China
Prior art keywords
phy
sas expander
expander equipment
reservation
equipment
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
CN 201110420538
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 201110420538 priority Critical patent/CN103164381A/en
Publication of CN103164381A publication Critical patent/CN103164381A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses a PHY adjustment method and a system of serial attached small computer system interface (SCSI) (SAS) expander equipment. The method comprises the steps of detecting whether the rate of flow of a PHY used for being connected with the SAS expander equipment of a next class in the SAS expander equipment is saturated or not, if yes, judging whether a reserved PHY which is connected with a PHY selector switch can be adjusted or not, when adjustment can be conducted, reading adjustable reversed PHY parameter information and re-arranging an address of the reserved PHY; modifying parameter information after the address is re-arranged; generating a novel firmware corresponding to the reserved PHY, and enabling the firmware to be written into the internal memory of the SAS expander equipment; selecting control signals from the firmware of the SAS expander equipment, and sending the control signals into the PHY selector switch through a system management bus; and when the adjustment can not be conducted, giving an information tip. By means of the PHY adjustment method and the system of the SAS expander equipment, PHY adjustment can be achieved when the rate of flow of the PHY of the SAS expander equipment is saturated.

Description

PHY method of adjustment and the system of SAS Expander equipment
Technical field
The present invention relates to a kind of PHY method of adjustment and system of SAS Expander equipment.
Background technology
SAS refers to serial SCSI technology, and English full name is Serial Attached SCSI (Small Computer System Interface, small computer system interface).SAS is a kind of disk interconnection technique.PHY (the physical link interface that comprises transceiver) although be logical concept, on function the spitting image of the SFP in optical-fibre channel, its correspondence be one group of SAS agreement Transmit-Receive Unit, formed by a transmitter and a receiver.Each PHY is connected with the another one PHY of far-end, consists of one one and receives two links.SAS supports full duplex, and each PHY when sending with 3Gbps, can also receive the flow of 3Gbps in other words.
In traditional working method, after the PHY of SAS Expander equipment and firmware (firmware) are decided, just can't adjust again.Described firmware is again firmware, firmware, is the software in a kind of SAS of being embedded in Expander equipment.If it is saturated to run into the flow of PHY of SAS Expander equipment, in this SAS Expander equipment, other PHY also can't go help to share flow.
Summary of the invention
In view of above content, be necessary to provide a kind of PHY method of adjustment of SAS Expander equipment, when saturated with the flow of the PHY that realizes SAS Expander equipment, carry out the adjustment of PHY, and reach the effect of being shared flow by other PHY.
In view of above content, also be necessary to provide a kind of PHY adjustment System of SAS Expander equipment, when saturated with the flow of the PHY that realizes SAS Expander equipment, carry out the adjustment of PHY, and reach the effect of being shared flow by other PHY.
The PHY method of adjustment of described SAS Expander equipment, the method comprises the following steps: detecting step: detect SAS Expander equipment whether saturated for the flow of the PHY that connects next stage SAS Expander equipment, when the flow of PHY is saturated, carry out determining step, otherwise direct process ends; Determining step: whether the reservation PHY that judges this SAS Expander equipment that the PHY change-over switch connects can adjust, when the reservation PHY that can adjust is arranged, step is reseted in execution, otherwise, provide and can not carry out the information indicating that PHY adjusts, wherein the reservation PHY of SAS Expander equipment is by this PHY change-over switch and next stage SAS Expander equipment connection; Reset step: read the parameter information of adjustable reservation PHY, and the address of reseting this reservation PHY; Write step: revise the parameter information of reseting the PHY behind the address according to the connection situation of SAS Expander equipment, the original firmware of the SAS Expander equipment at this PHY place in firmware file original in amended parameter information and computing machine is write a new firmware, the firmware that this is new writes the internal memory of this SAS Expander equipment, the original firmware of in store all SAS Expander equipment in described original firmware file; Control step: choose control signal from the firmware of the SAS Expander equipment at this reservation PHY place, and this control signal is sent to the PHY change-over switch by System Management Bus.
The PHY adjustment System of described SAS Expander equipment, this system comprises: whether detection module is saturated for the flow of the PHY that connects next stage SAS Expander equipment for detection of SAS Expander equipment; Judge module, be used for flow as PHY when saturated, whether the reservation PHY that judges this SAS Expander equipment that the PHY change-over switch connects can adjust, and wherein the reservation PHY of SAS Expander equipment is by this PHY change-over switch and next stage SAS Expander equipment connection; Reset module, be used for when the reservation PHY that can adjust is arranged, read the parameter information of adjustable reservation PHY, and the address of reseting this reservation PHY; Writing module, be used for revising according to the connection situation of SAS Expander equipment the parameter information of reseting the PHY behind the address, the original firmware of the SAS Expander equipment at this PHY place in firmware file original in amended parameter information and computing machine is write a new firmware, the firmware that this is new writes the internal memory of this SAS Expander equipment, the original firmware of in store all SAS Expander equipment in described original firmware file; Control module is used for choosing control signal from the firmware of the SAS Expander equipment at this reservation PHY place, and this control signal is sent to the PHY change-over switch by System Management Bus; Reminding module during the reservation PHY that is used for not having adjusting, provides and can not carry out the information indicating that PHY adjusts.
Compared to prior art, PHY method of adjustment and the system of described SAS Expander equipment, by raid-array (Redundant Array of Independent Disk, RAID) card or serial ports detect the PHY of SAS Expander equipment, when the flow that PHY detected is saturated, carry out the adjustment of PHY, and reach the effect of being shared flow by other PHY.
Description of drawings
Fig. 1 is the Organization Chart of the PHY adjustment System preferred embodiment of SAS Expander equipment of the present invention.
Fig. 2 is the functional block diagram of the PHY adjustment System preferred embodiment of SAS Expander equipment of the present invention.
Fig. 3 is the process flow diagram of the PHY method of adjustment preferred embodiment of SAS Expander equipment of the present invention.
Fig. 4 is the connection diagram of PHY change-over switch of the present invention and SAS Expander equipment.
Fig. 5 is the sub-process figure that judges whether the reservation PHY that can adjust of the PHY method of adjustment preferred embodiment of SAS Expander equipment of the present invention.
The main element symbol description
Computing machine 1
The PHY adjustment System of SAS Expander equipment 10
Detection module 100
Judge module 101
Reset module 102
Writing module 103
Control module 104
Reminding module 105
Definition module 106
The RAID card 20
The one SAS Expander equipment 30
The PHY change-over switch 40
SMBus 50
The 2nd SAS Expander equipment 60
Hardware device 70
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the Organization Chart of the PHY adjustment System preferred embodiment of SAS Expander equipment of the present invention.
The PHY adjustment System 10 of SAS Expander equipment runs in computing machine 1, also comprise RAID card 20, a SAS Expander equipment 30, PHY change-over switch 40, SMBus50 (System Management Bus in described computing machine 1, System Management Bus), the 2nd SAS Expander equipment 60 and hardware device 70, described hardware device 70 can be SAS Expander equipment, hard disk, SAS adapter or other-end equipment.
Described RAID card 20 is connected to a SAS Expander equipment 30, the one SAS Expander equipment 30 is connected (only drawing two in figure) by the PHY port with a plurality of the 2nd SAS Expander equipment 60, and each the 2nd SAS Expander equipment 60 is connected (in Fig. 1, each the 2nd SAS Expander equipment 60 only is connected with a hardware device 70) by the PHY port with one or more hardware devices 70 simultaneously.Described PHY change-over switch 40 is connected with the PHY port of a SAS Expander equipment 30, the PHY port of the 2nd SAS Expander equipment 60 simultaneously.Simultaneously, a described SAS Expander equipment 30 is connected to PHY change-over switch 40, the one SAS Expander equipment 30 by SMBus50 and sends a control signal to PHY change-over switch 40 by this SMBus50, to realize the control to PHY change-over switch 40.SMBus50 has two signal wires: bidirectional data line and clock cable, SMBus50 can realize the transmission of control signal by the compounding practice of these two signal wires.In Fig. 1, a SAS Expander equipment 30 is the upper level SAS Expander equipment of the 2nd SAS Expander equipment 60, and the 2nd SAS Expander equipment 60 is the next stage SAS Expander equipment of a SAS Expander equipment 30.
When hardware device 70 is SAS Expander equipment, also can connect again one or more hardware devices on this hardware device 70.When hardware device 70 was SAS Expander equipment, the 2nd SAS Expander equipment 60 was the upper level SAS Expander equipment of hardware device 70, and hardware device 70 is the next stage SAS Expander equipment of the 2nd SAS Expander equipment 60.At this moment, if will carry out the adjustment of PHY between the 2nd SAS Expander equipment 60 and hardware device 70, the 2nd SAS Expander equipment 60 also should be connected a PHY change-over switch 40 simultaneously with hardware device 70, and the 2nd SAS Expander equipment 60 sends a control signal to PHY change-over switch 40 by SMBus50.
Described PHY port is the concept of semi physical half logic, on the one hand, and the corresponding out and out physical connection line of each port; On the other hand, each port has a unique port address.The all corresponding PHY port of each PHY, a PHY port can comprise one or more PHY.Described PHY can be divided into fixedly PHY, reservation PHY and remaining PHY according to the difference of state.Each PHY all has an identification code.The PHY that when described fixedly PHY refers to the work of SAS Expander equipment, acquiescence is used, this PHY can not adjust.Described reservation PHY is connected with PHY change-over switch 40, be used for flow as the PHY of SAS Expander equipment when saturated, adjust to corresponding next stage SAS Expander equipment through PHY change-over switch 40 and use, also namely: make the reservation PHY that originally is in unused state can data transmission to a corresponding next stage SAS Expander equipment, or will originally just at the reservation PHY of data transmission to a next stage SAS Expander equipment, can be used in data transmission to corresponding another one next stage SAS Expander equipment.
SAS Expander equipment has a plurality of reservation PHY, and 40 of PHY change-over switches have many circuits to be connected to respectively this SAS Expander equipment and each corresponding next stage SAS Expander equipment accordingly.As shown in Figure 4, SAS Expander equipment has three to reserve PHY, PHY change-over switch 40 has three-line to be connected to this SAS Expander equipment, and respectively has respectively three-line to be connected to next stage SAS Expander device A, next stage SAS Expander equipment B.
Preserve a firmware in the internal memory of each SAS Expander equipment, the parameter information of all PHY of in store this SAS Expander equipment in this firmware, described parameter information shows the state of the register of PHY place port, and the parameter information of PHY comprises: PHY configuration data record (PHY Config Data Page), PHY link information record (PHY Connector Info Page), SAS address record information such as (SAS Address Page).Described PHY Config Data Page comprises the storage inside data in this SAS Expander device memory.Described PHY Connector Info Page comprises: direct route (Direct routing), tabular route (Table routing), other route (Subtractive) etc.Preserve an original firmware file in described computing machine 1, preserve the initial firmware in all SAS Expander equipment in this firmware file, this initial firmware is the firmware of SAS Expander equipment when also not working, and this initial firmware comprises the parameter information of the reservation PHY that PHY change-over switch 40 connects.
As shown in Figure 2, be the functional block diagram of the PHY adjustment System preferred embodiment of SAS Expander equipment of the present invention.
The PHY adjustment System 10 of described SAS Expander equipment comprises detection module 100, judge module 101, resets module 102, writing module 103, control module 104, reminding module 105 and definition module 106.The function of each module describes in detail in connection with the process flow diagram of Fig. 3.
As shown in Figure 3, be the process flow diagram of the PHY method of adjustment preferred embodiment of SAS Expander equipment of the present invention.
Step S10, whether described detection module 100 detects SAS Expander equipment saturated for the flow of the PHY that connects next stage SAS Expander equipment.When the flow of PHY is saturated, execution in step S11, otherwise direct process ends.
Described SAS Expander equipment is used for connecting the PHY of next stage SAS Expander equipment, refer in this SAS Expander equipment to be used for carrying out with corresponding next stage SAS Expander equipment the PHY of data transmission, wherein can comprise fixedly PHY and reservation PHY.When carrying out data transmission, the flow on each PHY is identical as a plurality of PHY.For example, a SAS Expander equipment 30 has two fixedly PHY, these two fixedly the identification code of PHY be 10,11, the one SAS Expander equipment 30 fixedly PHY and the 2nd a SAS Expander equipment 60 carry out data transmission by described two.At this moment, detection module 100 detects is described these two fixedly whether the flow of PHY is saturated.
SAS Expander equipment can connect a plurality of next stage SAS Expander equipment, so the PHY of data transmission is a lot, has increased the complicacy that reads.The PHY of data transmission in SAS Expander equipment has the PHY of corresponding reception data in the next stage SAS Expander equipment that connects.The flow of the PHY of this data transmission is identical with the flow of the PHY of this reception data.In order to lower the complicacy of read operation, detection module 100 reads the PHY flow of this reception data.For example, the identification code of the PHY of data transmission is 10,11, and the identification code that receives the PHY of data is 4,5, and detection module 100 reads the flow that identification code is 4,5 PHY.
Described detection module 100 reads the flow value of the PHY of reception data by RAID card 20 or serial ports via preset path, when this flow value being detected greater than a default threshold values, judge that the flow of PHY is saturated, otherwise judge that the flow of PHY is unsaturated.Described preset path is chosen according to the actual track connection of SAS Expander equipment.Described threshold values arranges according to the number of the PHY that is used for the reception data and the flow of each PHY.For example, the PHY that is used for the reception data has two, and the flow of each PHY is 3Gbps, and threshold values can be made as 95% of 6Gbps, i.e. 5.7Gbps.This 95% can be arranged according to practical experience by the user, as is made as any one value in 90% to 100%.
Step S11, described judge module 101 judge whether the reservation PHY that PHY change-over switch 40 connects can adjust.In the time can adjusting, execution in step S12, otherwise, execution in step S15.
Judge module 101 judges whether the process of the reservation PHY that can adjust, will describe in detail in Fig. 5.
Step S12 describedly resets the parameter information that module 102 reads adjustable reservation PHY, and the address of reseting this reservation PHY.
Reset module 102 from the firmware of the SAS Expander equipment at this reservation PHY place, read the parameter information of adjustable reservation PHY, choose SAS Address Page in this parameter information, corresponding reservation PHY in this SAS Address Page is revised as the port address that needs to connect in the next stage SAS Expander equipment that carries out data transmission in the address.
Step S13, said write module 103 revises according to the connection situation of SAS Expander equipment the parameter information that this resets the PHY behind the address, the original firmware of the SAS Expander equipment at this PHY place in firmware file original in amended parameter information and computing machine 1 is write a new firmware, and the firmware that this is new writes the internal memory of this SAS Expander equipment.
Can only there be a firmware in SAS Expander equipment, after when writing module 103, new firmware being write the internal memory of SAS Expander equipment at this PHY place, originally be present in firmware in the internal memory of this SAS Expander equipment by should the covering of new firmware, what exist in the internal memory of this SAS Expander equipment at this moment, is new firmware.
So far, the adjustment on the software of this reservation PHY is completed, and still, on the port of the PHY of the next stage SAS Expander equipment before this reservation PHY still is connected on hardware circuit and adjusts, the adjustment on the hardware circuit of this reservation PHY is not also completed.
Step S14, described control module 104 is chosen control signal from the firmware of the SAS Expander equipment at this reservation PHY place, and this control signal is sent to PHY change-over switch 40 by SMBus50.
PHY change-over switch 40 has multiple connected mode, and different connected modes can be distributed to different next stage SAS Expander equipment and uses reserving PHY, and every kind of connected mode is corresponding a kind of control signal all.Definition module 106 defines control signal according to the actual track connection of PHY change-over switch 40.When PHY change-over switch 40 receives different control signals, carry out corresponding line adjustment, can realize different connections.
When will reserving the next stage SAS Expander equipment of PHY by previous connection, when adjusting to the next stage SAS Expander equipment that will connect, control module 104 is according to the circuit situation that will adjust, choose corresponding control signal, and this control signal is sent to PHY change-over switch 40, PHY change-over switch 40 is carried out corresponding line adjustment according to this control signal, reservation PHY is switched to the port of the PHY of the next stage SAS Expander equipment that will connect, complete the adjustment on this reservation PHY hardware circuit.
Step S15, described reminding module 105 provide and can not carry out the information indicating that PHY adjusts.
Describedly can not carry out the information indicating that PHY adjusts and comprise: each reserve PHY operating position, which next stage SAS Expander equipment to be used, to reserve flow on PHY etc. by.
As shown in Figure 5, be the sub-process figure that judges whether the reservation PHY that can adjust of the PHY method of adjustment preferred embodiment of SAS Expander equipment of the present invention.
The original state of described reservation PHY comprises: used and do not used.
As Fig. 4, SAS Expander equipment has three to reserve PHY, reserves PHY respectively to three PHY port C1, C2, C3 on should SAS Expander equipment for these three.Port C1, C2, C3 all can be connected to arbitrarily PHY port B1, B2, the B3 of PHY port A1, A2, A3 and the next stage SAS Expander equipment B of next stage SAS Expander device A.When PHY port C1 or C2 or C3 are connected to arbitrary port of next stage SAS Expander device A or B, can think that reservation PHY corresponding to this PHY port is in the state that uses.When PHY port C1 or C2 or C3 are not connected to arbitrary PHY port of next stage SAS Expander device A or B, can think that reservation PHY corresponding to this PHY port is in unused state.
Step S110, described judge module 101 judge whether SAS Expander equipment has the PHY of reservation to be in unused state.When having the PHY of reservation to be in unused state, execution in step S114, otherwise, execution in step S111.
Step S111, described judge module 101 judge that the reservation PHY that whether is useful on this SAS Expander equipment with other next stage SAS Expander device transmission data exists.When having the PHY of reservation to exist, execution in step S112, when not reserving PHY, execution in step S113.
As Fig. 4, suppose, in figure, three of SAS Expander equipment reservation PHY all are in and have used state, there are two reservation PHY to be used for and next stage SAS Expander device A data transmission, there is a reservation PHY to be used for and next stage SAS Expander equipment B data transmission, when SAS Expander equipment is used for flow with the PHY of next stage SAS Expander device A data transmission when saturated, judge module 101 judge the reservation PHY existence that whether is useful on this SAS Expander equipment with SAS Expander equipment B data transmission.
Step S112, whether described judge module 101 judgements are used for can adjusting with the reservation PHY of this other next stage SAS Expander device transmission data.Can not adjust when reserving PHY, execution in step S113, otherwise, execution in step S114.
In this step S112, judge module 101 judges that whether this other next stage SAS Expander equipment is used for the flow value of PHY of reception data less than a predetermined value.When less than a predetermined value, judge that reserving PHY can adjust, otherwise, judge that reserving PHY can not adjust.The described predetermined value next stage SAS Expander equipment other according to this is used for the number of the PHY of reception data, the PHY that is connected with the reservation PHY of SAS Expander equipment arranges at the PHY proportion of the data of reception and the flow of each PHY.For example, the PHY that other next stage SAS Expander equipment B as shown in Figure 4 is used for the reception data always has two, the PHY corresponding with port B4 and port B1, wherein the PHY corresponding with port B4 is connected with the fixedly PHY of SAS Expander equipment, the PHY corresponding with port B1 is connected with the reservation PHY port C3 of SAS Expander equipment, the PHY corresponding with port B1 proportion in the PHY of the data of reception is 50%, the flow of each PHY is 3Gbps, predetermined value can be made as 50% of 6Gbps, i.e. 3Gbps.This 50% can be arranged according to practical experience by the user, as is made as any one value in 40% to 50%.
Step S113, described judge module 101 judge does not have the reservation PHY that can adjust.
Step S114, described judge module 101 is determined with the reservation PHY that can adjust.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (12)

1. the PHY method of adjustment of a SAS Expander equipment, is characterized in that, the method comprises the following steps:
Detecting step: whether detecting SAS Expander equipment, to be used for connecting the flow of PHY of next stage SAS Expander equipment saturated, when the flow of PHY is saturated, carries out determining step, otherwise direct process ends;
Determining step: whether the reservation PHY that judges this SAS Expander equipment that the PHY change-over switch connects can adjust, when the reservation PHY that can adjust is arranged, step is reseted in execution, otherwise, provide and can not carry out the information indicating that PHY adjusts, wherein the reservation PHY of SAS Expander equipment is by this PHY change-over switch and next stage SAS Expander equipment connection;
Reset step: read the parameter information of adjustable reservation PHY, and the address of reseting this reservation PHY;
Write step: revise the parameter information of reseting the PHY behind the address according to the connection situation of SAS Expander equipment, the original firmware of the SAS Expander equipment at this PHY place in firmware file original in amended parameter information and computing machine is write a new firmware, the firmware that this is new writes the internal memory of this SAS Expander equipment, the original firmware of in store all SAS Expander equipment in described original firmware file;
Control step: choose control signal from the firmware of the SAS Expander equipment at this reservation PHY place, and this control signal is sent to the PHY change-over switch by System Management Bus.
2. the PHY method of adjustment of SAS Expander equipment as claimed in claim 1, is characterized in that, described detecting step comprises:
Read by RAID card or serial ports the flow value that is used for the PHY of reception data in next stage SAS Expander equipment via preset path, described preset path is chosen according to the actual track connection of SAS Expander equipment;
When this flow value being detected greater than threshold values, judge that the flow of PHY is saturated, described threshold values arranges according to the number of the PHY that is used for the reception data and the flow of each PHY;
When this flow value being detected and be not more than threshold values, judge that the flow of PHY is unsaturated.
3. the PHY method of adjustment of SAS Expander equipment as claimed in claim 1, is characterized in that, whether this SAS Expander equipment that the described PHY of judgement change-over switch connects has the reservation PHY that can adjust to comprise:
Judge whether SAS Expander equipment has the PHY of reservation to be in unused state;
When this SAS Expander equipment is not reserved PHY and is in unused state, judge the reservation PHY that whether exists on this SAS Expander equipment be used to connecting other next stage SAS Expander equipment;
When there is the reservation PHY that is used for this other next stage SAS Expander equipment of connection in this SAS Expander equipment, whether judge the flow value of PHY that this other next stage SAS Expander equipment is used for the reception data less than a predetermined value, the described predetermined value next stage SAS Expander equipment other according to this arranges at the PHY proportion of reception data and the flow of each PHY for the number of the PHY of reception data, the PHY that is connected with the reservation PHY of SAS Expander equipment;
When this SAS Expander equipment does not exist when connecting the reservation PHY of this other next stage SAS Expander equipment, or this other next stage SAS Expander equipment flow value of being used for the PHY of reception data is when being not less than this predetermined value, and judging does not have the reservation PHY that can adjust;
When having on this SAS Expander equipment when reserving PHY and being in unused state, or this other next stage SAS Expander equipment during less than this predetermined value, is determined with the reservation PHY that can adjust for the flow value of the PHY of reception data.
4. the PHY method of adjustment of SAS Expander equipment as claimed in claim 1, is characterized in that, the described step of reseting comprises:
Reserve the firmware of SAS Expander equipment at PHY place from this, read the parameter information of adjustable reservation PHY;
Choose SAS address recorded information in this parameter information, corresponding reservation PHY in the recorded information of this SAS address is revised as the port address that needs to connect in the next stage SAS Expander equipment that carries out data transmission in the address.
5. the PHY method of adjustment of SAS Expander equipment as claimed in claim 1, it is characterized in that, described PHY change-over switch has multiple connected mode, different connected modes can be distributed to different next stage SAS Expander equipment uses with reserving PHY, every kind of connected mode is corresponding a kind of control signal all, when receiving different control signals, carry out corresponding line adjustment when the PHY change-over switch, to realize different connections.
6. the PHY method of adjustment of SAS Expander equipment as claimed in claim 5, is characterized in that, the method also comprises before controlling step:
Definition step: control signal is defined according to the actual track connection of PHY change-over switch.
7. the PHY adjustment System of a SAS Expander equipment, is characterized in that, this system comprises:
Whether detection module is saturated for the flow of the PHY that connects next stage SAS Expander equipment for detection of SAS Expander equipment;
Judge module, be used for flow as PHY when saturated, whether the reservation PHY that judges this SAS Expander equipment that the PHY change-over switch connects can adjust, and wherein the reservation PHY of SAS Expander equipment is by this PHY change-over switch and next stage SAS Expander equipment connection;
Reset module, be used for when the reservation PHY that can adjust is arranged, read the parameter information of adjustable reservation PHY, and the address of reseting this reservation PHY;
Writing module, be used for revising according to the connection situation of SAS Expander equipment the parameter information of reseting the PHY behind the address, the original firmware of the SAS Expander equipment at this PHY place in firmware file original in amended parameter information and computing machine is write a new firmware, the firmware that this is new writes the internal memory of this SAS Expander equipment, the original firmware of in store all SAS Expander equipment in described original firmware file;
Control module is used for choosing control signal from the firmware of the SAS Expander equipment at this reservation PHY place, and this control signal is sent to the PHY change-over switch by System Management Bus;
Reminding module during the reservation PHY that is used for not having adjusting, provides and can not carry out the information indicating that PHY adjusts.
8. the PHY adjustment System of SAS Expander equipment as claimed in claim 7, is characterized in that, whether saturated detection of the flow that described detection module carries out PHY by following steps:
Read by RAID card or serial ports the flow value that is used for the PHY of reception data in this next stage SAS Expander equipment via preset path, described preset path is chosen according to the actual track connection of SAS Expander equipment;
When this flow value being detected greater than threshold values, judge that the flow of PHY is saturated, described threshold values arranges according to the number of the PHY that is used for the reception data and the flow of each PHY;
When this flow value being detected and be not more than threshold values, judge that the flow of PHY is unsaturated.
9. the PHY adjustment System of SAS Expander equipment as claimed in claim 7, is characterized in that, described judge module judges by following steps whether this SAS Expander equipment that the PHY change-over switch connects has the reservation PHY that can adjust:
Judge whether SAS Expander equipment has the PHY of reservation to be in unused state;
When this SAS Expander equipment is not reserved PHY and is in unused state, judge the reservation PHY that whether exists on this SAS Expander equipment be used to connecting other next stage SAS Expander equipment;
When there is the reservation PHY that is used for this other next stage SAS Expander equipment of connection in this SAS Expander equipment, whether judge the flow value of PHY that this other next stage SAS Expander equipment is used for the reception data less than a predetermined value, the described predetermined value next stage SAS Expander equipment other according to this arranges at the PHY proportion of reception data and the flow of each PHY for the number of the PHY of reception data, the PHY that is connected with the reservation PHY of SAS Expander equipment;
When this SAS Expander equipment does not exist when connecting the reservation PHY of this other next stage SAS Expander equipment, or this other next stage SAS Expander equipment flow value of being used for the PHY of reception data is when being not less than this predetermined value, and judging does not have the reservation PHY that can adjust;
When having on this SAS Expander equipment when reserving PHY and being in unused state, or this other next stage SAS Expander equipment during less than this predetermined value, is determined with the reservation PHY that can adjust for the flow value of the PHY of reception data.
10. the PHY adjustment System of SAS Expander equipment as claimed in claim 7, is characterized in that, the described module of reseting realizes reseting of address by following steps:
Reserve the firmware of SAS Expander equipment at PHY place from this, read the parameter information of adjustable reservation PHY;
Choose SAS address recorded information in this parameter information, corresponding reservation PHY in the recorded information of this SAS address is revised as the port address that needs to connect in the next stage SAS Expander equipment that carries out data transmission in the address.
11. the PHY adjustment System of SAS Expander equipment as claimed in claim 7, it is characterized in that, described PHY change-over switch has multiple connected mode, different connected modes can be distributed to different next stage SAS Expander equipment uses with reserving PHY, every kind of connected mode is corresponding a kind of control signal all, when receiving different control signals, carry out corresponding line adjustment when the PHY change-over switch, to realize different connections.
12. the PHY adjustment System of SAS Expander equipment as claimed in claim 11 is characterized in that, this system also comprises:
Definition module is used for according to the actual track connection of PHY change-over switch, control signal being defined.
CN 201110420538 2011-12-15 2011-12-15 PHY adjustment method and system of serial attached small computer system interface (SCSI) (SAS) expander equipment Pending CN103164381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110420538 CN103164381A (en) 2011-12-15 2011-12-15 PHY adjustment method and system of serial attached small computer system interface (SCSI) (SAS) expander equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110420538 CN103164381A (en) 2011-12-15 2011-12-15 PHY adjustment method and system of serial attached small computer system interface (SCSI) (SAS) expander equipment

Publications (1)

Publication Number Publication Date
CN103164381A true CN103164381A (en) 2013-06-19

Family

ID=48587478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110420538 Pending CN103164381A (en) 2011-12-15 2011-12-15 PHY adjustment method and system of serial attached small computer system interface (SCSI) (SAS) expander equipment

Country Status (1)

Country Link
CN (1) CN103164381A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272070A (en) * 2020-09-11 2021-01-26 苏州浪潮智能科技有限公司 Method, system, equipment and readable storage medium for accurate time synchronization of SAS expander
WO2024103829A1 (en) * 2022-11-14 2024-05-23 苏州元脑智能科技有限公司 Port configuration method, component, and hard disk expansion apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272070A (en) * 2020-09-11 2021-01-26 苏州浪潮智能科技有限公司 Method, system, equipment and readable storage medium for accurate time synchronization of SAS expander
CN112272070B (en) * 2020-09-11 2022-12-23 苏州浪潮智能科技有限公司 Method, system, equipment and readable storage medium for accurate time synchronization of SAS expander
WO2024103829A1 (en) * 2022-11-14 2024-05-23 苏州元脑智能科技有限公司 Port configuration method, component, and hard disk expansion apparatus

Similar Documents

Publication Publication Date Title
CN100507874C (en) Memory hub and method for memory system performance monitoring
CN100568211C (en) Realize method and the device of a plurality of I2C of visit with programming device from device
US20150032917A1 (en) Multiplexer for signals according to different protocols
CN103999159A (en) Memory apparatuses, computer systems and methods for ordering memory responses
CN1573723B (en) Method and apparatus for communication via serial multi-port
CN108920173B (en) Method, chip and communication system for configuring equalization time
CN114048164B (en) Chip interconnection method, system, device and readable storage medium
US20120059977A1 (en) Electronic device, controller for accessing a plurality of chips via at least one bus, and method for accessing a plurality of chips via at least one bus
CN102073611B (en) I2C bus control system and method
KR20140078161A (en) PCI express switch and computer system using the same
CN102253914B (en) Data transmitting and processing method and device and equipment interface
CN102103562A (en) Multi-power mode serial interface architecture
CN107526534A (en) The method and apparatus for managing the input and output (I/O) of storage device
KR20050097300A (en) Multi-channel memory card and control method thereof
US6381675B1 (en) Switching mechanism and disk array apparatus having the switching mechanism
KR20180030985A (en) Method and system for USB 2.0 bandwidth reservation
CN101145145A (en) PCIE channel expansion device, system and its collocation method
CN103530215A (en) Self-inspection method and device of inter integrated circuit host and host
CN103412838B (en) A kind of expanding system, communication means, address configuration method, equipment and device
CN103164381A (en) PHY adjustment method and system of serial attached small computer system interface (SCSI) (SAS) expander equipment
CN114003528A (en) OCP switching card, switching system and switching method
US8782298B2 (en) Computing device and method for adjusting physical links of a SAS expander of the computing device
CN109815169B (en) Storage device and storage link self-adaption method thereof
CN108139993A (en) Memory device, Memory Controller Hub, data buffer storage device and computer system
CN101354634B (en) Memory apparatus system connecting ATA port with multiplex SATA port and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130619