JP5278117B2 - Buffer degeneration method, apparatus and method - Google Patents
Buffer degeneration method, apparatus and method Download PDFInfo
- Publication number
- JP5278117B2 JP5278117B2 JP2009085799A JP2009085799A JP5278117B2 JP 5278117 B2 JP5278117 B2 JP 5278117B2 JP 2009085799 A JP2009085799 A JP 2009085799A JP 2009085799 A JP2009085799 A JP 2009085799A JP 5278117 B2 JP5278117 B2 JP 5278117B2
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- degeneration
- area
- payload size
- capacity
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Systems (AREA)
- Communication Control (AREA)
Abstract
Description
本発明は、バッファ故障時にバッファ縮退を行い動作継続を可能にするバッファ縮退方式、バッファ縮退装置及びバッファ縮退方法に関する。 The present invention relates to a buffer degeneration method, a buffer degeneration apparatus, and a buffer degeneration method that enable operation to be continued by performing buffer degeneration when a buffer fails.
バッファ故障時において、故障を検出し、検出した故障部分を切り離した小さなバッファ容量で動作継続を可能とするバッファ縮退装置がある。例えば、特許文献1には、命令バッファ空検知回路を用いてバッファに空きがあることを確認してから、縮退したバッファへの書き込みを行うバッファ縮退装置が記載されている。 There is a buffer degeneration device that detects a failure and can continue operation with a small buffer capacity from which the detected failure portion is separated when a buffer failure occurs. For example, Patent Literature 1 describes a buffer degeneration device that uses an instruction buffer empty detection circuit to confirm that a buffer is empty and then writes to the degenerated buffer.
しかし、特許文献1に記載された装置では、あるバスやインタフェースを介して、データの送受信が行われるシステムにおいて、データ送信側は、バッファの縮退状況を直接認識することができない。そのため、送信されたデータが、縮退したバッファに対して、データオーバランを起こす可能性があり、このような装置を採用することができない。 However, in the apparatus described in Patent Document 1, in a system in which data is transmitted / received via a certain bus or interface, the data transmission side cannot directly recognize the degeneration status of the buffer. Therefore, the transmitted data may cause a data overrun with respect to the degenerated buffer, and such a device cannot be employed.
そこで、本発明は、PCI expressインタフェースで接続されたユニット間において、バッファ故障時にバッファ縮退を行い、データオーバーランを起こすことなく動作継続を可能にすることができるバッファ縮退方式、バッファ縮退装置及びバッファ縮退方法を提供することを目的とする。 Therefore, the present invention provides a buffer degeneration method, a buffer degeneration apparatus, and a buffer that can perform buffer degeneration when a buffer failure occurs between units connected by a PCI express interface and can continue operation without causing data overrun. The purpose is to provide a degeneration method.
本発明によるバッファ縮退方式は、バッファの故障領域を検出すると、検出したバッファの故障領域を使用不可に設定してバッファを縮退するバッファ縮退手段と、バッファ縮退手段によって縮退されたバッファにおける縮退後の使用可能な容量を算出する容量算出手段と、容量算出手段が算出した容量に基づいて、ペイロードサイズの最大値の設定を更新するペイロードサイズ設定更新手段とを備え、バッファ縮退手段は、検出したバッファの故障領域に故障状態であることを示すフラグを設定し、容量算出手段は、バッファのうちバッファ縮退手段によってフラグが設定されていない領域を特定してバッファにおける使用可能な容量を算出し、ペイロードサイズ設定更新手段がペイロードサイズの最大値の設定を更新すると、更新されたペイロードサイズの最大値に基づいて、検出したバッファの故障領域に格納されていたデータを再送信する再送信手段と、バッファのうちフラグが設定されていない領域にデータを書き込むデータ書き込み手段と、バッファのうちフラグが設定されていない領域からデータを読み出すデータ読み出し手段とをさらに備えたことを特徴とする。 In the buffer degeneration method according to the present invention, when a buffer failure area is detected, a buffer degeneration means for setting the detected buffer failure area to be unusable and degenerating the buffer, and a buffer after degeneration in the buffer degenerated by the buffer degeneration means buffers and capacity calculating means for calculating an available capacity based on the capacity capacity calculation means has calculated, and a payload size set updating means for updating the set of maximum payload size, the buffer degeneracy unit, detected A flag indicating that there is a failure state in the failure area, and the capacity calculation means calculates an available capacity in the buffer by identifying an area of the buffer in which the flag is not set by the buffer degeneration means, and the payload When the size setting updater updates the maximum payload size setting, it is updated. Retransmission means for retransmitting data stored in the detected failure area of the buffer based on the maximum value of the reload size, data writing means for writing data to an area of the buffer where no flag is set, and a buffer And a data reading means for reading data from an area in which no flag is set .
本発明によるバッファ縮退装置は、バッファの故障領域を検出すると、検出したバッファの故障領域を使用不可に設定してバッファを縮退するバッファ縮退手段と、情報処理装置に、バッファ縮退手段によって縮退されたバッファにおける縮退後の使用可能な容量を算出させる容量算出手段と、容量算出手段が算出した容量に基づいて、情報処理装置に、ペイロードサイズの最大値の設定を更新させるペイロードサイズ設定更新手段とを備え、バッファ縮退手段は、情報処理装置に、検出したバッファの故障領域に故障状態であることを示すフラグを設定させ、容量算出手段は、情報処理装置に、バッファのうちバッファ縮退手段によってフラグが設定されていない領域を特定してバッファにおける使用可能な容量を算出させ、ペイロードサイズ設定更新手段がペイロードサイズの最大値の設定を更新すると、情報処理装置に、更新されたペイロードサイズの最大値に基づいて、検出したバッファの故障領域に格納されていたデータを再送信させる再送信手段と、バッファのうちフラグが設定されていない領域にデータを書き込むデータ書き込み手段と、バッファのうちフラグが設定されていない領域からデータを読み出すデータ読み出し手段とをさらに備えたことを特徴とする。 When the buffer degeneration apparatus according to the present invention detects a buffer failure area, the buffer degeneration means sets the detected buffer failure area to be unusable and degenerates the buffer, and the information processing apparatus is degenerated by the buffer degeneration means. Capacity calculating means for calculating usable capacity after degeneration in the buffer, and payload size setting updating means for causing the information processing apparatus to update the setting of the maximum value of the payload size based on the capacity calculated by the capacity calculating means. And the buffer degeneration means causes the information processing apparatus to set a flag indicating a failure state in the detected buffer failure area, and the capacity calculation means causes the information processing apparatus to set the flag by the buffer degeneration means in the buffer. Specify an area that is not set, calculate the available capacity in the buffer, and When the setting update unit updates the setting of the maximum value of the payload size, the information processing apparatus retransmits the data stored in the detected failure area of the buffer based on the updated maximum value of the payload size. It further comprises transmission means, data writing means for writing data to an area of the buffer where no flag is set, and data reading means for reading data from an area of the buffer where no flag is set. .
本発明によるバッファ縮退方法は、バッファの故障領域を検出すると、検出したバッファの故障領域を使用不可に設定してバッファを縮退するバッファ縮退ステップと、縮退されたバッファにおける縮退後の使用可能な容量を算出する容量算出ステップと、算出した容量に基づいて、ペイロードサイズの最大値の設定を更新するペイロードサイズ設定更新ステップとを含み、バッファ縮退ステップで、検出したバッファの故障領域に故障状態であることを示すフラグを設定し、容量算出ステップで、バッファのうちフラグが設定されていない領域を特定してバッファにおける使用可能な容量を算出し、ペイロードサイズ設定更新ステップでペイロードサイズの最大値の設定を更新すると、更新された設定したペイロードサイズの最大値に基づいて、検出したバッファの故障領域に格納されていたデータを再送信する再送信ステップと、バッファのうちフラグが設定されていない領域にデータを書き込むデータ書き込みステップと、バッファのうちフラグが設定されていない領域からデータを読み出すデータ読み出しステップとをさらに含むことを特徴とする。 According to the buffer degeneration method of the present invention, when a failure area of a buffer is detected, a buffer degeneration step for degrading the buffer by setting the detected failure area of the buffer to be unusable, and a usable capacity after degeneration in the degenerated buffer a capacity calculation step of calculating, based on the calculated capacitance, viewed including the payload size set updating step of updating the setting of the maximum payload size, the buffer degeneracy step, a failure state to the failure region of the detected buffer Set a flag to indicate that there is an area where the flag is not set in the capacity calculation step, calculate the usable capacity in the buffer, and the payload size setting update step When the setting is updated, it is based on the updated maximum payload size. A retransmission step for retransmitting the data stored in the detected failure area of the buffer, a data writing step for writing data to an area in the buffer where the flag is not set, and a flag for the buffer being set. And a data reading step of reading data from a non- existing area.
本発明は、PCI expressインタフェースで接続されるユニットにおいて、バッファの故障検出回路、故障フラグ及びこれらに連携して動作するライト制御部とリード制御部とを含み、バッファに故障が発生した場合でも、バッファを縮退して動作継続を可能にすることを特徴としている。 The present invention includes a buffer failure detection circuit, a failure flag, and a write control unit and a read control unit operating in conjunction with these in a unit connected by a PCI express interface, and even when a failure occurs in the buffer, It is characterized in that the buffer can be degenerated and the operation can be continued.
本発明によれば、PCI expressインタフェースで接続されたユニット間において、バッファ故障時にバッファ縮退を行い、データオーバーランを起こすことなく動作継続を可能にすることができる。 According to the present invention, between units connected by a PCI express interface, buffer degeneration can be performed when a buffer failure occurs, and operation can be continued without causing data overrun.
以下、本発明の実施形態について図面を参照して説明する。図1は、本発明によるバッファ縮退方式を適用したPCI expressアドインカードの構成例を示すブロック図である。図1に示すように、本実施形態では、バッファ縮退方式をPCI expressアドインカード1に適用した例について説明する。 Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of a PCI express add-in card to which a buffer degeneration method according to the present invention is applied. As shown in FIG. 1, in this embodiment, an example in which the buffer degeneration method is applied to a PCI express add-in card 1 will be described.
図1に示すように、PCI expressアドインカード1は、PCI expressインタフェース制御部2、ライト制御部3、リード制御部4、受信バッファ5、故障フラグ6及び故障検出回路7を含む。PCI expressアドインカード1は、例えば、プログラムに従って動作するパーソナルコンピュータ等の情報処理装置に搭載される。なお、本実施形態において、バッファ縮退装置は、例えば、PCI expressアドインカード1と、PCI expressアドインカード1を搭載する情報処理装置とによって実現される。
As shown in FIG. 1, the PCI express add-in card 1 includes a PCI express
PCI expressインタフェース制御部2は、PCI expressを用いて、PCI expressインタフェースを介したデータの送受信や割り込み通知の制御を行う機能を備えている。
The PCI express
ライト制御部3は、PCI expressインタフェース制御部2が受信した受信データを、受信バッファ5に書き込む機能を備えている。ライト制御部3は、受信データを受信バッファ5の故障フラグ6がセットされていないアドレス領域から順に書き込む機能を備えている。
The
リード制御部4は、受信バッファ5から受信データを読み出す機能を備えている。リード制御部4は、受信バッファ5の故障フラグ6がセットされていないアドレス領域から順に、受信データの読み出しを行う機能を備えている。
The
受信バッファ5は、PCI expressインタフェース制御部2が受信した受信データを格納する。受信バッファ5が格納するデータは、ライト制御部3及びリード制御部4によってライト及びリード処理が実行される。
The reception buffer 5 stores reception data received by the PCI express
故障フラグ6は、受信バッファ5の所定のメモリ容量単位に対応して設定される。故障フラグ6がセットされた状態は、受信バッファ5において、故障フラグ6に対応するアドレス領域に故障が発生したことを示す。また、故障フラグ6がリセットされた状態は、受信バッファ5において、故障フラグ6に対応するアドレス領域が正常であり、使用可能であることを示す。 The failure flag 6 is set corresponding to a predetermined memory capacity unit of the reception buffer 5. The state in which the failure flag 6 is set indicates that a failure has occurred in the address region corresponding to the failure flag 6 in the reception buffer 5. The state in which the failure flag 6 is reset indicates that the address area corresponding to the failure flag 6 is normal in the reception buffer 5 and can be used.
故障検出回路7は、受信バッファ5から読み出されたデータに対して、エラーチェック(例えば、パリティチェックなど)を行い、受信バッファ5の故障を検出する機能を備えている。故障検出回路7は、例えば、エラーチェックによってエラーを検出したデータが格納されていた受信バッファ5のアドレス領域を、故障があるとして検出する。故障検出回路7は、受信バッファ5の故障を検出すると、故障を検出したアドレス領域に対応する故障フラグ6をセットし、さらに、PCI expressインタフェース制御部2に割り込み通知を行う機能を備えている。
The
次に、本発明によるバッファ縮退装置の機能構成について説明する。図2は、バッファ縮退装置の機能構成例を示す機能ブロック図である。 Next, the functional configuration of the buffer degeneration apparatus according to the present invention will be described. FIG. 2 is a functional block diagram illustrating a functional configuration example of the buffer degeneration apparatus.
図2に示すように、バッファ縮退装置は、故障領域検出手段11、バッファ縮退手段12、容量算出手段13、ペイロードサイズ設定更新手段14、再送信手段15、データ書き込み手段16及びデータ読み込み手段17を含む。
As shown in FIG. 2, the buffer degeneration device includes a failure
故障領域検出手段11は、具体的には、故障検出回路7によって実現される。故障領域検出手段11は、受信バッファ5の故障を検出する機能を備えている。故障領域検出手段11は、例えば、受信バッファ5から読み出されたデータのエラーチェックを行い、エラーを検出したデータが格納されていた受信バッファ5のアドレス領域を故障があるとして検出する。
The failure area detection means 11 is specifically realized by the
バッファ縮退手段12は、具体的には、故障検出回路7によって実現される。バッファ縮退手段12は、検出されたバッファの故障領域を使用不可に設定してバッファを縮退する機能を備えている。バッファ縮退手段12は、例えば、受信バッファ5の故障領域に故障状態であることを示す故障フラグ6を設定することで故障領域を使用不可とする。
The buffer degeneration means 12 is specifically realized by the
容量算出手段13は、具体的には、情報処理装置が搭載するデバイスドライバによって実現される。容量算出手段13は、バッファ縮退手段によって縮退された受信バッファ5における縮退後の使用可能な容量を算出する機能を備えている。容量算出手段は、例えば、受信バッファ5のうち故障フラグ6が設定されていない領域を特定して受信バッファ5における使用可能な容量を算出する。
Specifically, the
ペイロードサイズ設定更新手段14は、具体的には、情報処理装置が搭載するデバイスドライバによって実現される。ペイロードサイズ設定更新手段14は、容量算出手段13が算出した容量に基づいて、ペイロードサイズの最大値の設定を更新する機能を備えている。ペイロードサイズ設定更新手段14は、例えば、PCI expressアドインカード1の上位に接続されているRoot Complexのコンフィグレーション レジスタ Device Control registerのMax_Payload_Sizeをwpを再設定することで、ペイロードサイズの最大値の設定を更新する。
Specifically, the payload size
再送信手段15は、具体的には、情報処理装置が搭載するデバイスドライバによって実現される。再送信手段15は、受信バッファ5から故障が検出された場合に、ペイロードサイズ設定更新手段14が設定したペイロードサイズの最大値に基づいて、受信バッファ5の故障領域に格納されていたデータを再送信する機能を備えている。
Specifically, the
なお、本実施形態では、デバイスドライバが処理を実行するという表現や、デバイスドライバによって実現される手段が処理を実行する等の表現を用いる場合があるが、具体的には、バッファ縮退装置を実現する情報処理装置のCPUが、デバイスドライバに従って処理を実行することである。 In this embodiment, the expression that the device driver executes processing and the expression that means realized by the device driver execute processing may be used. Specifically, the buffer degeneration device is realized. The CPU of the information processing apparatus that performs the processing executes according to the device driver.
データ書き込み手段16は、具体的には、ライト制御部3によって実現される。データ書き込み手段16は、受信バッファ5にデータを書き込む機能を備えている。データ書き込み手段16は、受信バッファ5のうち故障フラグ6が設定されていない領域にデータを書き込む機能を備えている。
Specifically, the
データ読み込み手段17は、具体的には、リード制御部4によって実現される。データ読み込み手段17は、受信バッファ5からにデータを読み出す機能を備えている。データ読み込み手段17は、受信バッファ5のうち故障フラグ6が設定されていない領域からデータを読み込む機能を備えている。
Specifically, the
次に、バッファ縮退装置が実行する動作について説明する。図3は、バッファ縮退装置が実行する処理例を示す流れ図である。 Next, an operation performed by the buffer degeneration apparatus will be described. FIG. 3 is a flowchart showing an example of processing executed by the buffer degeneration apparatus.
PCI expressインタフェース制御部2が、PCI expressインタフェースを介して、データを受信すると、データ書き込み手段16は、受信データを受信バッファ5に書き込む。また、データ読み込み手段17が受信バッファ5からデータを読み出すと、故障領域検出手段11は、データ読み込み手段17が読み出したデータのエラーチェックを行い、受信バッファ5の故障を検出する処理を行う。そして、故障を検出すると、バッファ縮退手段12は、読み出されたデータを格納していたアドレス領域に対応する故障フラグ6をセットする。さらに、バッファ縮退手段12は、PCI expressインタフェース制御部2に割り込み通知を行う(ステップS21)。そして、PCI expressインタフェース制御部2は、デバイスドライバに割り込み通知を行い、デバイスドライバが割り込み通知を受信すると、以下の割り込み処理が実行される。
When the PCI express
ステップS21において、PCI expressインタフェース制御部2から割り込み通知を受信すると、デバイスドライバは、割り込みの要因が受信バッファ5の故障であるか否かを判定する(ステップS22)。
In step S21, upon receiving an interrupt notification from the PCI express
ステップS22において、割り込みの要因が受信バッファ5の故障でないと判定した場合には、デバイスドライバは、その割り込み要因に対応する処理を行う。一方、ステップS22において、割り込み要因が受信バッファ5の故障であると判定した場合には、容量算出手段13は、受信バッファ5において、故障フラグ6のセットされていない容量(つまり使用可能な受信バッファ5の容量)を計算(算出)する(ステップS23)。
If it is determined in step S22 that the interrupt factor is not a failure of the reception buffer 5, the device driver performs processing corresponding to the interrupt factor. On the other hand, when it is determined in step S22 that the interrupt factor is a failure of the reception buffer 5, the
次いで、ペイロードサイズ設定更新手段14は、計算(算出)した受信バッファ5の容量に基づいて、PCI expressアドインカード1及びPCI expressインタフェースを介して、PCI expressアドインカード1の上位に接続されているRoot Complexのコンフィグレーション レジスタ Device Control registerのMax_Payload_Sizeをwpを再設定する(ステップS24)。ここで、Max_Payload_Sizeとは、パケット通信において、転送可能なペイロードの最大値を意味し、ペイロードサイズ設定更新手段14は、具体的には、故障発生による受信バッファ領域の減少に応じて、転送可能なペイロードの最大値を小さくするように設定する。すなわち、ペイロードサイズ設定更新手段14は、ペイロードサイズの最大値の設定を更新することによって、パケットの最大データサイズを制限する。
Next, the payload size
ステップS24において、Max_Payload_Size(ペイロードサイズの最大値)の設定を更新すると、再送信手段15は、ステップS21においてエラーが検出されたデータの再送信処理を行う(ステップS25)。
In step S24, when the setting of Max_Payload_Size (maximum value of payload size) is updated, the
ステップS25において、再送信処理が行われると、PCI expressインタフェース制御部2は、再送信されたデータを受信する。この時、データ書き込み手段16は、故障フラグ6をチェックし、故障フラグ6がセットされている場合には、そのアドレス領域の受信バッファ5が故障しているため、次のアドレス領域の受信バッファ5に書き込みアドレスを設定する。そして、データ書き込み手段16は、設定したアドレス順にデータの書き込みを行う。同様に、データ読み込み手段17は、受信バッファ5からデータの読み出しを行う際に、故障フラグ6がセットされている場合には、そのアドレス領域の受信バッファ5は故障しているため、次のアドレス領域の受信バッファ5に読み出しアドレスを設定する。そして、データ読み込み手段17は、設定したアドレス順に、データの読み出しを行う。
When retransmission processing is performed in step S25, the PCI express
以上のように、本実施形態によれば、PCI expressのバッファ制御において、バッファに故障を検出した場合にはバッファを縮退させ、またバッファ縮退に合わせてDevice Control registerのMax_Payload_Size(ペイロードサイズの最大値)の再設定を行う。そのため、縮退したバッファの容量を越えるデータの送受信を制限することができ、バッファ縮退によるデータオーバーランを起こすことなく動作継続を可能にすることができる。 As described above, according to the present embodiment, in PCI express buffer control, when a failure is detected in the buffer, the buffer is degenerated, and Device Control register Max_Payload_Size (maximum value of payload size) in accordance with the buffer degeneration. ) Is reset. Therefore, transmission / reception of data exceeding the capacity of the degenerated buffer can be restricted, and operation can be continued without causing data overrun due to buffer degeneration.
次に、本発明によるバッファ縮退装置の最小構成について説明する。図4は、バッファ縮退装置の最小の機能構成例を示す機能ブロック図である。図4に示すように、バッファ縮退装置は、最小の構成要素として、バッファ縮退手段12と、容量算出手段13と、ペイロードサイズ設定手段14とを含む。
Next, the minimum configuration of the buffer degeneration apparatus according to the present invention will be described. FIG. 4 is a functional block diagram illustrating a minimum functional configuration example of the buffer degeneration device. As shown in FIG. 4, the buffer degeneration device includes a
図4に示す最小構成のバッファ縮退装置では、バッファ縮退手段12は、バッファの故障領域を検出すると、検出したバッファの故障領域を使用不可と設定してバッファを縮退する。そして、容量算出手段13は、縮退されたバッファにおける縮退後の使用可能な容量を算出する。そして、ペイロードサイズ設定更新手段14は、容量算出手段13が算出した容量に基づいて、ペイロードサイズの最大値の設定を更新する。
In the buffer degeneration apparatus having the minimum configuration shown in FIG. 4, when the buffer degeneration means 12 detects a failure area of the buffer, the buffer degeneration means 12 sets the detected failure area of the buffer as unusable and degenerates the buffer. Then, the
従って、図4に示す最小構成のバッファ縮退装置によれば、バッファに故障を検出した場合にはバッファを縮退させ、またバッファ縮退に合わせてペイロードサイズの最大値を再設定する。そのため、縮退したバッファの容量を越えるデータの送受信を制限することができ、バッファ縮退によるデータオーバーランを起こすことなく動作継続を可能にすることができる。 Therefore, according to the buffer degeneration apparatus of the minimum configuration shown in FIG. 4, when a failure is detected in the buffer, the buffer is degenerated, and the maximum value of the payload size is reset according to the buffer degeneration. Therefore, transmission / reception of data exceeding the capacity of the degenerated buffer can be restricted, and operation can be continued without causing data overrun due to buffer degeneration.
なお、本実施形態では、以下の(1)〜(5)に示すようなバッファ縮退方式の特徴的構成が示されている。 In the present embodiment, the characteristic configuration of the buffer degeneration method as shown in the following (1) to (5) is shown.
(1)バッファの故障領域を検出すると(例えば、故障領域検出手段11によって実現される)、検出したバッファの故障領域を使用不可と設定してバッファを縮退するバッファ縮退手段(例えば、バッファ縮退手段12によって実現される)と、バッファ縮退手段によって縮退されたバッファにおける縮退後の使用可能な容量を算出する容量算出手段(例えば、容量算出手段13によって実現される)と、容量算出手段が算出した容量に基づいて、ペイロードサイズの最大値の設定を更新するペイロードサイズ設定更新手段(例えば、ペイロードサイズ設定更新手段14によって実現される)とを備えたことを特徴とする。 (1) When a buffer failure area is detected (for example, realized by the failure area detection means 11), a buffer degeneration means (for example, buffer degeneration means) that sets the detected buffer failure area as unusable and degenerates the buffer. 12), a capacity calculation means for calculating a usable capacity after degeneration in the buffer degenerated by the buffer degeneration means (for example, realized by the capacity calculation means 13), and a capacity calculation means It is characterized by comprising payload size setting updating means (for example, realized by the payload size setting updating means 14) for updating the setting of the maximum value of the payload size based on the capacity.
(2)バッファ縮退方式において、バッファ縮退手段は、検出したバッファの故障領域に故障状態であることを示すフラグ(例えば、故障フラグ6によって実現される)を設定し、容量算出手段は、バッファのうちバッファ縮退手段によってフラグが設定されていない領域を特定してバッファにおける使用可能な容量を算出するように構成されていてもよい。 (2) In the buffer degeneration method, the buffer degeneration means sets a flag (for example, realized by the failure flag 6) indicating a failure state in the detected failure area of the buffer, and the capacity calculation means Of these, an area where no flag is set may be specified by the buffer degeneration means, and the usable capacity in the buffer may be calculated.
(3)バッファ縮退方式は、バッファのうちフラグが設定されていない領域にデータを書き込むデータ書き込み手段(例えば、データ書き込み手段16によって実現される)を備えるように構成されていてもよい。 (3) The buffer degeneration method may be configured to include a data writing unit (for example, realized by the data writing unit 16) that writes data to an area of the buffer where a flag is not set.
(4)バッファ縮退方式は、バッファのうちフラグが設定されていない領域からデータを読み出すデータ読み出し手段(例えば、データ読み込み手段17によって実現される)を備えるように構成されていてもよい。 (4) The buffer degeneration method may be configured to include data reading means (for example, realized by the data reading means 17) for reading data from an area of the buffer where no flag is set.
(5)バッファ縮退方式は、ペイロードサイズ設定更新手段が設定したペイロードサイズの最大値に基づいて、検出されたバッファの故障領域に格納されていたデータを再送信する再送信手段(例えば、再送信手段15によって実現される)を備えるように構成されていてもよい。 (5) The buffer degeneration method is a retransmission unit (for example, retransmission) that retransmits the data stored in the detected failure area of the buffer based on the maximum value of the payload size set by the payload size setting update unit. (Implemented by means 15).
本発明は、PCI expressインタフェースを介して接続されるユニットの信頼性を高める用途に適用可能である。 The present invention can be applied to an application for improving the reliability of a unit connected via a PCI express interface.
1 PCI expressアドインカード
2 PCI expressインタフェース制御部
3 ライト制御部
4 リード制御部
5 受信バッファ
6 故障フラグ
7 故障検出回路
11 故障領域検出手段
12 バッファ縮退手段
13 容量算出手段
14 ペイロードサイズ設定手段
15 再送信手段
16 データ書き込み手段
17 データ読み出し手段
DESCRIPTION OF SYMBOLS 1 PCI express add-in
Claims (3)
前記バッファ縮退手段によって縮退された前記バッファにおける縮退後の使用可能な容量を算出する容量算出手段と、
前記容量算出手段が算出した容量に基づいて、ペイロードサイズの最大値の設定を更新するペイロードサイズ設定更新手段とを備え、
前記バッファ縮退手段は、検出した前記バッファの故障領域に故障状態であることを示すフラグを設定し、
前記容量算出手段は、前記バッファのうち前記バッファ縮退手段によって前記フラグが設定されていない領域を特定して前記バッファにおける使用可能な容量を算出し、
前記ペイロードサイズ設定更新手段が前記ペイロードサイズの最大値の設定を更新すると、更新された前記ペイロードサイズの最大値に基づいて、検出した前記バッファの故障領域に格納されていたデータを再送信する再送信手段と、
前記バッファのうち前記フラグが設定されていない領域にデータを書き込むデータ書き込み手段と、
前記バッファのうち前記フラグが設定されていない領域からデータを読み出すデータ読み出し手段とをさらに備えた
ことを特徴とするバッファ縮退方式。 When detecting a buffer failure area, buffer degeneration means for degrading the buffer by setting the detected failure area of the buffer to be unusable,
Capacity calculation means for calculating usable capacity after degeneration in the buffer degenerated by the buffer degeneration means;
Payload size setting updating means for updating the setting of the maximum value of the payload size based on the capacity calculated by the capacity calculating means ,
The buffer degeneration means sets a flag indicating a failure state in the detected failure region of the buffer,
The capacity calculating means calculates a usable capacity in the buffer by specifying an area in the buffer where the flag is not set by the buffer degeneration means,
When the payload size setting update unit updates the setting of the maximum value of the payload size, based on the updated maximum value of the payload size, re-sends the data stored in the detected failure area of the buffer. A transmission means;
Data writing means for writing data to an area of the buffer where the flag is not set;
A buffer degeneration method , further comprising data reading means for reading data from an area of the buffer in which the flag is not set .
情報処理装置に、前記バッファ縮退手段によって縮退された前記バッファにおける縮退後の使用可能な容量を算出させる容量算出手段と、
前記容量算出手段が算出した容量に基づいて、情報処理装置に、ペイロードサイズの最大値の設定を更新させるペイロードサイズ設定更新手段とを備え、
前記バッファ縮退手段は、情報処理装置に、検出した前記バッファの故障領域に故障状態であることを示すフラグを設定させ、
前記容量算出手段は、情報処理装置に、前記バッファのうち前記バッファ縮退手段によって前記フラグが設定されていない領域を特定して前記バッファにおける使用可能な容量を算出させ、
前記ペイロードサイズ設定更新手段が前記ペイロードサイズの最大値の設定を更新すると、情報処理装置に、更新された前記ペイロードサイズの最大値に基づいて、検出した前記バッファの故障領域に格納されていたデータを再送信させる再送信手段と、
前記バッファのうち前記フラグが設定されていない領域にデータを書き込むデータ書き込み手段と、
前記バッファのうち前記フラグが設定されていない領域からデータを読み出すデータ読み出し手段とをさらに備えた
ことを特徴とするバッファ縮退装置。 When detecting a buffer failure area, buffer degeneration means for degrading the buffer by setting the detected failure area of the buffer to be unusable,
Capacity calculation means for causing the information processing apparatus to calculate usable capacity after degeneration in the buffer degenerated by the buffer degeneration means;
Based on the capacity calculated by the capacity calculation means, the information processing apparatus comprises payload size setting update means for updating the setting of the maximum value of the payload size ,
The buffer degeneration means causes the information processing apparatus to set a flag indicating a failure state in the detected failure area of the buffer,
The capacity calculation means causes the information processing apparatus to calculate an available capacity in the buffer by specifying an area in the buffer where the flag is not set by the buffer degeneration means,
When the payload size setting update unit updates the setting of the maximum value of the payload size, the data stored in the detected failure area of the buffer based on the updated maximum value of the payload size in the information processing device Re-transmission means to re-send,
Data writing means for writing data to an area of the buffer where the flag is not set;
A buffer degeneration apparatus , further comprising data reading means for reading data from an area of the buffer in which the flag is not set .
縮退された前記バッファにおける縮退後の使用可能な容量を算出する容量算出ステップと、
算出した容量に基づいて、ペイロードサイズの最大値の設定を更新するペイロードサイズ設定更新ステップとを含み、
前記バッファ縮退ステップで、検出した前記バッファの故障領域に故障状態であることを示すフラグを設定し、
前記容量算出ステップで、前記バッファのうち前記フラグが設定されていない領域を特定して前記バッファにおける使用可能な容量を算出し、
前記ペイロードサイズ設定更新ステップで前記ペイロードサイズの最大値の設定を更新すると、更新された設定したペイロードサイズの最大値に基づいて、検出した前記バッファの故障領域に格納されていたデータを再送信する再送信ステップと、
前記バッファのうち前記フラグが設定されていない領域にデータを書き込むデータ書き込みステップと、
前記バッファのうち前記フラグが設定されていない領域からデータを読み出すデータ読み出しステップとをさらに含む
ことを特徴とするバッファ縮退方法。 A buffer degeneration step of detecting a buffer failure area and degenerating the buffer by setting the detected failure area of the buffer to be unusable;
A capacity calculating step for calculating a usable capacity after degeneration in the degenerated buffer;
Based on the calculated capacity, only contains a payload size setting updating step of updating the setting of the maximum value of the payload size,
In the buffer degeneration step, set a flag indicating a failure state in the detected failure region of the buffer;
In the capacity calculating step, an area where the flag is not set in the buffer is specified to calculate a usable capacity in the buffer;
When the setting of the maximum value of the payload size is updated in the payload size setting update step, the data stored in the detected failure area of the buffer is retransmitted based on the updated maximum value of the payload size. A retransmission step;
A data writing step of writing data to an area of the buffer where the flag is not set;
A buffer degeneration method , further comprising a data reading step of reading data from an area of the buffer in which the flag is not set .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009085799A JP5278117B2 (en) | 2009-03-31 | 2009-03-31 | Buffer degeneration method, apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009085799A JP5278117B2 (en) | 2009-03-31 | 2009-03-31 | Buffer degeneration method, apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010237991A JP2010237991A (en) | 2010-10-21 |
JP5278117B2 true JP5278117B2 (en) | 2013-09-04 |
Family
ID=43092244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009085799A Expired - Fee Related JP5278117B2 (en) | 2009-03-31 | 2009-03-31 | Buffer degeneration method, apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5278117B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5663418B2 (en) * | 2011-06-30 | 2015-02-04 | 株式会社日立製作所 | Plant control system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02166544A (en) * | 1988-12-20 | 1990-06-27 | Fujitsu Ltd | Memory address conversion method |
JP3866426B2 (en) * | 1998-11-05 | 2007-01-10 | 日本電気株式会社 | Memory fault processing method in cluster computer and cluster computer |
JP2002297532A (en) * | 2001-03-29 | 2002-10-11 | Sanyo Electric Co Ltd | Communication method, communication apparatus, computer program and recording medium |
JP4821497B2 (en) * | 2006-08-11 | 2011-11-24 | 富士ゼロックス株式会社 | Image forming apparatus |
-
2009
- 2009-03-31 JP JP2009085799A patent/JP5278117B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010237991A (en) | 2010-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101099471B1 (en) | PCC communication system and communication method | |
US8589763B2 (en) | Cache memory system | |
US20110010557A1 (en) | Control message signature for device control | |
US9191030B2 (en) | Memory controller, data storage device, and memory controlling method | |
JP2007300619A (en) | Method, apparatus, and program for maintaining integrity of data in case of switching between different data protection method | |
CN109964215B (en) | Flow control in remote direct memory access data communications with ring buffer mirroring | |
US9106417B2 (en) | Communication apparatus for transmission protocol processing and reception protocol processing | |
US10153887B2 (en) | Patch download with improved acknowledge mechanism | |
CN103270497A (en) | Method and system of live error recovery | |
JP5932947B2 (en) | Host and system | |
CN104184543A (en) | Data transmission method, device and system | |
US7925931B1 (en) | System and method of handling erroneous data in computer systems | |
JP5966243B2 (en) | Storage device and storage device control method | |
JP5278117B2 (en) | Buffer degeneration method, apparatus and method | |
US20070206598A1 (en) | Communications apparatus and communication method | |
JP4451837B2 (en) | Data transfer apparatus and data transfer method | |
JP2009211419A (en) | Interface control circuit and information processing apparatus | |
JP2008225835A (en) | MEMORY ACCESS CONTROL METHOD AND CIRCUIT, AND INFORMATION PROCESSING DEVICE | |
US8910007B2 (en) | Apparatus and method for error check of transmission data | |
JP3727928B2 (en) | Information processing apparatus and retransmission control method | |
US20230305987A1 (en) | Communication control apparatus and communication method | |
JP2008148181A (en) | Communication apparatus and communication control method | |
JP2006260273A (en) | Subsystem module, information processor, and data transfer method in the subsystem module | |
JP4584124B2 (en) | Information processing apparatus, error processing method thereof, and control program | |
JP6734031B2 (en) | Transmission device, transmission/reception system, transmission method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120113 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130108 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130311 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130423 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130506 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5278117 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |