JPH11338774A - Information processor, its system bus optimizing method and recording medium recording control program therefor - Google Patents

Information processor, its system bus optimizing method and recording medium recording control program therefor

Info

Publication number
JPH11338774A
JPH11338774A JP10145289A JP14528998A JPH11338774A JP H11338774 A JPH11338774 A JP H11338774A JP 10145289 A JP10145289 A JP 10145289A JP 14528998 A JP14528998 A JP 14528998A JP H11338774 A JPH11338774 A JP H11338774A
Authority
JP
Japan
Prior art keywords
bus
data
main storage
input
output
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
JP10145289A
Other languages
Japanese (ja)
Inventor
Sadanori Yamamoto
禎則 山本
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP10145289A priority Critical patent/JPH11338774A/en
Publication of JPH11338774A publication Critical patent/JPH11338774A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processor with which the processing performance of a system is improved and more efficient data transfer can be provided. SOLUTION: A bus connector 3 connects a system bus 100, to which a central processing unit 1 and a main storage device 2 are connected, to an I/O bus 200 to which a bus extension device 4 is connected. The bus extension device 4 is a device for extending an extension I/O bus 300 from the I/O bus 200 and provided with a cache control part 41 and a cache part 42. The cache control part 41 holds a flag showing whether data held in the cache part 42 are valid or not and the address of data held in the cache part 42 on the main storage device 2 and when valid data exist in the cache part 42, corresponding to read requests from input/output devices 5-1 to 5-6 to the main storage device 2, data in the cache part 42 are responded as read data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は情報処理装置及びそ
のシステムバス最適化方法並びにその制御プログラムを
記録した記録媒体に関し、特に複数の入出力装置がバス
接続装置を介して接続される情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, a system bus optimizing method therefor, and a recording medium storing a control program therefor, and more particularly to an information processing apparatus in which a plurality of input / output devices are connected via a bus connection device. About.

【0002】[0002]

【従来の技術】従来、この種の情報処理装置において
は、バス接続装置に接続されるI/O(Input/O
utput)バスにバス拡張装置を接続し、このバス拡
張装置に接続される拡張I/Oバスに複数の入出力装置
を接続するものがある。尚、バス接続装置はシステムバ
スとI/Oバスとを接続するものであり、システムバス
上には中央処理装置や主記憶装置等が接続されている。
2. Description of the Related Art Conventionally, in an information processing apparatus of this kind, an I / O (Input / O / O) connected to a bus connecting device is used.
In some cases, a bus expansion device is connected to an output bus, and a plurality of input / output devices are connected to an expansion I / O bus connected to the bus expansion device. The bus connection device connects the system bus and the I / O bus, and a central processing unit, a main storage device, and the like are connected on the system bus.

【0003】上記の構成において、複数の入出力装置各
々が拡張I/Oバスとバス拡張装置とI/Oバスとバス
接続装置とシステムバスとを介して主記憶装置にアクセ
スする場合、システムバスのバスサイクル(以下、シス
テムバスサイクルとする)を起動する必要がある。この
時、中央処理装置が主記憶装置にアクセスするためのシ
ステムバスサイクルは待たされることとなる。
In the above configuration, when each of the plurality of input / output devices accesses the main storage device via the expansion I / O bus, the bus expansion device, the I / O bus, the bus connection device, and the system bus, (Hereinafter referred to as a system bus cycle) must be started. At this time, a system bus cycle for the central processing unit to access the main storage device is waited.

【0004】上述したような拡張システムとしては、特
開平5−242232号公報に開示された技術がある。
この公報記載の技術では、ボード上にローカルバスを設
け、そのローカルバスに映像機器からの入力手段と、表
示用メモリ手段と、画像データの圧縮伸張手段と、PC
(パーソナルコンピュータ)の拡張I/Oバスとのイン
タフェース手段とをつないでいる。
As an extended system as described above, there is a technique disclosed in Japanese Patent Application Laid-Open No. 5-242232.
According to the technology described in this publication, a local bus is provided on a board, and input means from a video device, display memory means, image data compression / expansion means,
(Personal computer) and an interface means with an extended I / O bus.

【0005】この場合、ローカルバスはインタフェース
手段を介してPCに接続され、ローカルバス上の他の手
段各々とPCとの間のデータのやりとりをローカルバス
とインタフェース手段とを通して行うこととなる。よっ
て、ローカルバスから各々手段を取除いたり、ローカル
バスに他の機能を実現する機器を追加することが容易と
なる。
In this case, the local bus is connected to the PC via the interface means, and data is exchanged between the PC and the other means on the local bus through the local bus and the interface means. Therefore, it is easy to remove each unit from the local bus or to add a device that realizes another function to the local bus.

【0006】また、上記のシステムの他には、特開平9
−128346号公報に開示された技術がある。この公
報記載の技術では、メインメモリ及びI/O装置が接続
された下位バスに第1及び第2のバスブリッジを接続
し、これら第1及び第2のバスブリッジ各々が接続され
る第1及び第2の上位バスに夫々複数のCPU(中央処
理装置)を接続している。
[0006] In addition to the above system, Japanese Unexamined Patent Application Publication No.
There is a technique disclosed in -128346. In the technique described in this publication, first and second bus bridges are connected to a lower bus to which a main memory and an I / O device are connected, and the first and second bus bridges are connected to the first and second bus bridges, respectively. A plurality of CPUs (Central Processing Units) are connected to the second upper bus, respectively.

【0007】また、第1及び第2のバスブリッジには夫
々複数のCPUによって共有される第1及び第2のブリ
ッジキャッシュが接続され、第1及び第2の上位バス各
々をスプリットバスとして、複数のCPUをスプリット
対応としている。このような構成をとることで、階層化
によって接続可能なCPU数が増やすことができ、ブリ
ッジキャッシュの採用及び上位バスのスプリットバス化
によって、階層化に伴うスループットやレイテンシの劣
化が防止可能となる。
[0007] The first and second bus bridges are connected to first and second bridge caches respectively shared by a plurality of CPUs. Each of the first and second upper buses is used as a split bus. Are split-compatible. By adopting such a configuration, the number of CPUs that can be connected can be increased by layering, and by adopting a bridge cache and splitting the upper bus, degradation of throughput and latency due to layering can be prevented. .

【0008】[0008]

【発明が解決しようとする課題】上述した従来の情報処
理装置では、複数の入出力装置各々が主記憶装置にアク
セスする場合、システムバスサイクルの起動を必要とす
るため、入出力装置から主記憶装置へのアクセスが頻繁
に発生すると、システムバスに負荷がかかり、中央処理
装置が主記憶装置にアクセスするためのサイクルが待た
され、システムの処理性能が低下してしまう。
In the conventional information processing apparatus described above, when each of a plurality of input / output devices accesses the main storage device, it is necessary to start a system bus cycle. When the access to the device frequently occurs, a load is applied to the system bus, a cycle for the central processing unit to access the main storage device is waited, and the processing performance of the system is reduced.

【0009】そこで、本発明の目的は上記の問題点を解
消し、システムの処理性能を向上させることができ、よ
り効率的なデータ転送を実現することができる情報処理
装置及びそのシステムバス最適化方法並びにその制御プ
ログラムを記録した記録媒体を提供することにある。
An object of the present invention is to solve the above problems, improve the processing performance of a system, and realize an information processing apparatus capable of realizing more efficient data transfer and a system bus optimization thereof. An object of the present invention is to provide a recording medium recording a method and a control program thereof.

【0010】[0010]

【課題を解決するための手段】本発明による情報処理装
置は、中央処理装置及び主記憶装置が接続されたシステ
ムバスと入出力バスとをバス接続装置で接続し、複数の
入出力装置が接続された拡張入出力バスをバス拡張装置
で前記入出力バスに接続する情報処理装置であって、前
記主記憶装置に格納されたデータの一部を記憶するキャ
ッシュ手段と、前記複数の入出力装置のいずれかからの
読込み要求に対応するデータが前記キャッシュ手段に記
憶されている時に当該データを前記キャッシュ手段から
読込んで要求元に出力するよう制御する制御手段とを前
記バス拡張装置に備えている。
An information processing apparatus according to the present invention connects a system bus to which a central processing unit and a main storage device are connected to an input / output bus by a bus connection device, and a plurality of input / output devices are connected. An information processing device for connecting the expanded input / output bus to the input / output bus by a bus expansion device, wherein the cache unit stores a part of data stored in the main storage device, and the plurality of input / output devices And control means for controlling when the data corresponding to the read request from any one of the above is stored in the cache means, reads the data from the cache means and outputs the data to the request source. .

【0011】本発明による情報処理装置のシステムバス
最適化方法は、中央処理装置及び主記憶装置が接続され
たシステムバスと入出力バスとをバス接続装置で接続
し、複数の入出力装置が接続された拡張入出力バスをバ
ス拡張装置で前記入出力バスに接続する情報処理装置の
システムバス最適化方法であって、前記バス拡張装置に
設けられかつ前記主記憶装置に格納されたデータの一部
を記憶するキャッシュ手段に前記複数の入出力装置のい
ずれかからの読込み要求に対応するデータが記憶されて
いるか否かを判定するステップと、前記データが記憶さ
れていると判定された時に当該データを前記キャッシュ
手段から読込んで要求元に出力するステップとを前記バ
ス拡張装置に備えている。
According to a method of optimizing a system bus of an information processing device according to the present invention, a system bus to which a central processing unit and a main storage device are connected and an input / output bus are connected by a bus connection device, and a plurality of input / output devices are connected. A bus expansion device for connecting the expanded I / O bus to the I / O bus, the system bus optimization method for an information processing device, wherein one of data provided in the bus expansion device and stored in the main storage device is provided. Determining whether or not data corresponding to a read request from any of the plurality of input / output devices is stored in the cache unit that stores the data, and determining whether the data is stored. Reading the data from the cache means and outputting the data to the request source.

【0012】本発明による情報処理装置のシステムバス
最適化制御プログラムを記録した記録媒体は、中央処理
装置及び主記憶装置が接続されたシステムバスと入出力
バスとをバス接続装置で接続し、複数の入出力装置が接
続された拡張入出力バスをバス拡張装置で前記入出力バ
スに接続する情報処理装置において前記システムバスの
最適化を前記バス拡張装置に行わせるためのシステムバ
ス最適化制御プログラムを記録した記録媒体であって、
前記システムバス最適化制御プログラムは前記バス拡張
装置に、前記バス拡張装置に設けられかつ前記主記憶装
置に格納されたデータの一部を記憶するキャッシュ手段
に前記複数の入出力装置のいずれかからの読込み要求に
対応するデータが記憶されているか否かを判定させ、前
記データが記憶されていると判定された時に当該データ
を前記キャッシュ手段から読込んで要求元に出力させて
いる。
A recording medium storing a system bus optimization control program for an information processing apparatus according to the present invention includes a system bus to which a central processing unit and a main storage device are connected, and an input / output bus connected by a bus connection device. System bus optimization control program for causing the bus expansion device to optimize the system bus in an information processing device that connects the expansion input / output bus connected to the input / output device to the input / output bus with the bus expansion device Is a recording medium on which
The system bus optimization control program may be provided in the bus expansion device from a cache unit provided in the bus expansion device and storing a part of data stored in the main storage device from any of the plurality of input / output devices. It is determined whether data corresponding to the read request is stored, and when it is determined that the data is stored, the data is read from the cache unit and output to the request source.

【0013】すなわち、本発明の情報処理装置は、中央
処理装置及び主記憶装置が接続されるシステムバスとバ
ス拡張装置が接続される入出力バス[I/O(Inpu
t/Output)バス]とをバス接続装置で接続し、
バス拡張装置が接続される拡張入出力バス(拡張I/O
バス)に複数の入出力装置を接続するシステムにおい
て、バス拡張装置内に主記憶部のデータをキャッシング
するキャッシュ機能(キャッシュ制御部及びキャッシュ
部)を持たせている。
That is, the information processing apparatus according to the present invention has an input / output bus [I / O (Ipu) that connects a system bus to which a central processing unit and a main storage device are connected and a bus expansion device.
t / Output) bus] with a bus connection device,
Extended I / O bus (extended I / O) to which the bus extension device is connected
In a system in which a plurality of input / output devices are connected to a bus, a cache function (cache control unit and cache unit) for caching data in a main storage unit is provided in a bus expansion device.

【0014】これによって、拡張I/Oバスに接続され
た入出力装置が主記憶装置へアクセスする際にシステム
バスサイクルの起動を必要としなくなるので、中央処理
装置が主記憶装置にアクセスするためのシステムバスサ
イクルが待たされることが減少し、システムの処理性能
が向上する。
This eliminates the necessity of starting the system bus cycle when the input / output device connected to the extended I / O bus accesses the main storage device, so that the central processing unit can access the main storage device. Waiting for a system bus cycle is reduced, and the processing performance of the system is improved.

【0015】また、既存の本体システムにバス拡張装置
を接続する場合、本体システムに対して何の対応も必要
がないので、キャッシュ機能を複数のアドレスに対して
対応可能とすることで、より効率的なデータ転送が実現
可能となる。
Further, when a bus expansion device is connected to an existing main system, there is no need to cope with the main system, so that the cache function can cope with a plurality of addresses, thereby increasing efficiency. Data transfer can be realized.

【0016】[0016]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
る情報処理装置の構成を示すブロック図である。図にお
いて、本発明の一実施例による情報処理装置は中央処理
装置1と、主記憶装置2と、バス接続装置3と、バス拡
張装置4と、入出力装置5−1〜5−6とから構成され
ている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to one embodiment of the present invention. In the figure, an information processing apparatus according to an embodiment of the present invention includes a central processing unit 1, a main storage device 2, a bus connection device 3, a bus expansion device 4, and input / output devices 5-1 to 5-6. It is configured.

【0017】中央処理装置1は演算処理を行う装置で、
主記憶装置2に格納されたマイクロ命令を順次読込んで
実行する。また、中央処理装置1は入出力装置5−1〜
5−6のいずれかに対して入出力処理を行う時、入出力
命令を主記憶装置2に格納し、入出力装置5−1〜5−
6に対して入出力命令を発行する。
The central processing unit 1 is a device for performing arithmetic processing.
The microinstructions stored in the main storage device 2 are sequentially read and executed. Further, the central processing unit 1 includes input / output devices 5-1 to 5-1.
When performing input / output processing for any of 5-6, input / output instructions are stored in the main storage device 2, and the input / output devices 5-1 to 5-
Issue an input / output instruction to the device # 6.

【0018】主記憶装置2はシステムバス100を介し
て中央処理装置1及びバス接続装置3に接続されてお
り、中央処理装置1及びバス接続装置3からのデータ読
込み要求にしたがってデータを送出し、中央処理装置1
及びバス接続装置3からのデータ書込み要求にしたがっ
てデータを保持する。
The main storage device 2 is connected to the central processing unit 1 and the bus connecting device 3 via the system bus 100, and sends out data in accordance with a data read request from the central processing unit 1 and the bus connecting device 3. Central processing unit 1
And holds data in accordance with a data write request from the bus connection device 3.

【0019】バス接続装置3は中央処理装置1及び主記
憶装置2が接続されたシステムバス100と、バス拡張
装置4が接続されたI/Oバス200とを接続する装置
である。
The bus connection device 3 is a device for connecting the system bus 100 to which the central processing unit 1 and the main storage device 2 are connected, and the I / O bus 200 to which the bus expansion device 4 is connected.

【0020】バス拡張装置4はI/Oバス200から拡
張I/Oバス300を拡張する装置であり、キャッシュ
制御部41とキャッシュ部42とを備えている。キャッ
シュ制御部41はキャッシュ部42内に保持されている
データが有効か無効かを示すフラグとキャッシュ部42
に保持されているデータの主記憶装置2上のアドレスと
を保持する。また、キャッシュ制御部41は入出力装置
5−1〜5−6から主記憶装置2へのリード要求に対し
てキャッシュ部42内に有効データが存在する場合、キ
ャッシュ部42内のデータをリードデータとして応答す
る。
The bus expansion device 4 is a device for expanding the expansion I / O bus 300 from the I / O bus 200, and includes a cache control unit 41 and a cache unit 42. The cache control unit 41 includes a flag indicating whether data held in the cache unit 42 is valid or invalid and a flag indicating whether the data is valid or invalid.
And the address of the data stored in the main storage device 2. When valid data exists in the cache unit 42 in response to a read request from the input / output devices 5-1 to 5-6 to the main storage device 2, the cache control unit 41 converts the data in the cache unit 42 into read data. To respond.

【0021】図2は図1の中央処理装置1から入出力装
置5−1〜5−6への入出力命令発行時のキャッシュ制
御部41の制御を示すフローチャートであり、図3及び
図4は図1の入出力装置5−1〜5−6の読込みサイク
ル及び書込みサイクルの際のキャッシュ制御部41の制
御を示すフローチャートである。
FIG. 2 is a flowchart showing the control of the cache control unit 41 when issuing an I / O instruction from the central processing unit 1 to the I / O devices 5-1 to 5-6 in FIG. 1, and FIG. 3 and FIG. 6 is a flowchart showing control of the cache control unit 41 in a read cycle and a write cycle of the input / output devices 5-1 to 5-6 in FIG.

【0022】これら図1〜図4を参照して本発明の一実
施例による情報処理装置の動作について説明する。尚、
上記の図2〜図4に示す処理は図示せぬ制御メモリに記
録されたプログラムをバス拡張装置4のキャッシュ制御
部41に実行させることで実現され、制御メモリとして
はI/Oバス200及び拡張I/Oバス300のいずれ
かに接続されるROM(リードオンリメモリ)やフロッ
ピディスク等が使用可能である。
The operation of the information processing apparatus according to one embodiment of the present invention will be described with reference to FIGS. still,
The processing shown in FIGS. 2 to 4 is realized by causing the cache control unit 41 of the bus expansion device 4 to execute a program recorded in a control memory (not shown). A ROM (Read Only Memory), a floppy disk, or the like connected to any of the I / O buses 300 can be used.

【0023】中央処理装置1が入出力装置5−1に対し
て入出力命令を発行する場合、主記憶装置2に入出力命
令プログラムを格納する。このとき、バス拡張装置4の
キャッシュ制御部41はシステムバス100とバス接続
装置2とI/Oバス200とを介して入力される命令が
入出力装置5−1に対する入出力命令であることを検出
すると(図2ステップS1)、拡張I/Oバス300を
介して入出力装置5−1に当該命令を出力する(図2ス
テップS2)。
When the central processing unit 1 issues an input / output command to the input / output device 5-1, an input / output command program is stored in the main storage device 2. At this time, the cache control unit 41 of the bus expansion device 4 determines that the command input via the system bus 100, the bus connection device 2, and the I / O bus 200 is an input / output command for the input / output device 5-1. Upon detection (step S1 in FIG. 2), the instruction is output to the input / output device 5-1 via the extended I / O bus 300 (step S2 in FIG. 2).

【0024】その後に、キャッシュ制御部41は当該命
令に伴うデータ(入出力命令プログラム)があることを
検出し(図2ステップS3)、かつ当該データがキャッ
シュ部42にない場合(図2ステップS4)、当該デー
タをキャッシュ部42に格納してキャッシュ有効/無効
フラグを有効にする(図2ステップS5)。
Thereafter, the cache control unit 41 detects that there is data (input / output instruction program) accompanying the instruction (step S3 in FIG. 2), and if the data is not in the cache unit 42 (step S4 in FIG. 2). ), And stores the data in the cache unit 42 to make the cache valid / invalid flag valid (step S5 in FIG. 2).

【0025】入出力装置5−1はバス拡張装置4及び拡
張I/Oバス300を介して中央処理装置1からの入出
力命令が入力されると、主記憶装置2から入出力命令プ
ログラムを読込むための拡張I/Oバス300のバスサ
イクルを発生させる。
When an input / output command from the central processing unit 1 is input via the bus expansion device 4 and the expansion I / O bus 300, the input / output device 5-1 reads the input / output command program from the main storage device 2. A bus cycle of the extended I / O bus 300 is generated.

【0026】バス拡張装置4のキャッシュ制御部41は
入出力装置5−1から入出力命令プログラムを読込むた
めのバスサイクルを受付けると(図3ステップS1
1)、その入出力命令プログラムがキャッシュ部42に
格納され(図3ステップS12)、かつその入出力命令
プログラムのキャッシュ有効/無効フラグが有効であれ
ば(図3ステップS13)、I/Oバス200に対して
バスサイクルを発生させることなく、入出力装置5−1
に対してキャッシュ部42に格納されている入出力命令
プログラム(リードデータ)を送出する(図3ステップ
S14)。
When the cache control unit 41 of the bus expansion unit 4 receives a bus cycle for reading an input / output instruction program from the input / output unit 5-1 (step S1 in FIG. 3).
1) If the input / output instruction program is stored in the cache unit 42 (step S12 in FIG. 3) and the cache valid / invalid flag of the input / output instruction program is valid (step S13 in FIG. 3), the I / O bus I / O device 5-1 without causing a bus cycle to
Sends the input / output instruction program (read data) stored in the cache unit 42 to the server (step S14 in FIG. 3).

【0027】キャッシュ制御部41は上記の処理を入出
力装置5−1から入出力命令プログラムを読込むための
バスサイクルが終了するまで実行する(図3ステップS
11〜S15)。
The cache control unit 41 executes the above processing until the bus cycle for reading the input / output instruction program from the input / output device 5-1 ends (step S3 in FIG. 3).
11 to S15).

【0028】一方、キャッシュ制御部41は上記の入出
力命令プログラムがキャッシュ部42に格納されていな
い場合(図3ステップS12)、またはその入出力命令
プログラムのキャッシュ有効/無効フラグが無効であれ
ば(図3ステップS13)、その入出力命令プログラム
を主記憶装置2から読込む(図3ステップS16)。
On the other hand, the cache control unit 41 determines whether the input / output instruction program is not stored in the cache unit 42 (step S12 in FIG. 3) or if the cache valid / invalid flag of the input / output instruction program is invalid. (Step S13 in FIG. 3), the input / output instruction program is read from the main storage device 2 (Step S16 in FIG. 3).

【0029】キャッシュ制御部41は主記憶装置2から
読込んだ入出力命令プログラムを入出力装置5−1に対
して送出するとともに、その入出力命令プログラムをキ
ャッシュ部42に格納してキャッシュ有効/無効フラグ
を有効にする(図3ステップS17)。
The cache control unit 41 sends the input / output instruction program read from the main storage device 2 to the input / output device 5-1, and stores the input / output instruction program in the cache unit 42 to enable / disable the cache. The invalid flag is made valid (step S17 in FIG. 3).

【0030】上記の動作では、中央処理装置1が入出力
装置5−1に対して入出力命令を発行した時の入出力装
置5−1の読込みサイクルについて述べている。これに
対し、キャッシュ制御部41は入出力装置5−1から主
記憶装置2にデータを書込むためのバスサイクルを受付
けると(図4ステップS18)、入出力装置5−1から
のデータをキャッシュ部42に格納する(図4ステップ
S19)。
The above operation describes a read cycle of the input / output device 5-1 when the central processing unit 1 issues an input / output command to the input / output device 5-1. On the other hand, when the cache control unit 41 receives a bus cycle for writing data from the input / output device 5-1 to the main storage device 2 (step S18 in FIG. 4), the cache control unit 41 caches the data from the input / output device 5-1. It is stored in the section 42 (step S19 in FIG. 4).

【0031】キャッシュ制御部41は上記の処理を入出
力装置5−1からのデータを主記憶装置2に書込むため
のバスサイクルが終了するまで実行する(図4ステップ
S19,S20)。
The cache control unit 41 executes the above processing until a bus cycle for writing data from the input / output device 5-1 to the main storage device 2 ends (steps S19 and S20 in FIG. 4).

【0032】その後、キャッシュ制御部41はシステム
バス100が空いている時に(図4ステップS21)、
キャッシュ部42に格納したデータを主記憶装置2に書
込み(図4ステップS22)、当該データのキャッシュ
有効/無効フラグを無効とする(図4ステップS2
3)。
Thereafter, when the system bus 100 is free (step S21 in FIG. 4), the cache control unit 41
The data stored in the cache unit 42 is written to the main storage device 2 (step S22 in FIG. 4), and the cache valid / invalid flag of the data is invalidated (step S2 in FIG. 4).
3).

【0033】上述した処理では入出力装置5−1に対す
る処理について述べたが、他の入出力装置5−2〜5−
6に対しても入出力装置5−1と同様に処理することが
できる。また、バス拡張装置4内のキャッシュ部42に
格納されているデータを無効にしたい場合には、キャッ
シュ制御部41内のキャッシュ有効/無効フラグを無効
にする。
In the above-described processing, the processing for the input / output device 5-1 has been described, but the other input / output devices 5-2 to 5-
6 can be processed in the same manner as the input / output device 5-1. In order to invalidate the data stored in the cache unit 42 in the bus expansion device 4, the cache valid / invalid flag in the cache control unit 41 is invalidated.

【0034】このように、バス拡張装置4内のキャッシ
ュ制御部41の制御によって主記憶装置2に格納されて
いるデータの一部をキャッシュ部42にキャッシュする
ことによって、拡張I/Oバス300に接続された入出
力装置5−1〜5−6が主記憶装置2にアクセスする際
にシステムバスサイクルを起動する必要がなくなる。
As described above, by caching a part of the data stored in the main storage device 2 in the cache unit 42 under the control of the cache control unit 41 in the bus expansion device 4, the When the connected input / output devices 5-1 to 5-6 access the main storage device 2, there is no need to activate a system bus cycle.

【0035】よって、入出力装置5−1〜5−6が主記
憶装置2にアクセスする時もシステムバスサイクルの起
動を必要としないため、中央処理装置1が主記憶装置2
にアクセスするためのシステムバスサイクルが待たされ
ることが減少し、システムの処理性能を向上させること
ができる。
Therefore, when the input / output devices 5-1 to 5-6 access the main storage device 2, it is not necessary to activate the system bus cycle.
Waiting for a system bus cycle to access the system can be reduced, and the processing performance of the system can be improved.

【0036】また、既存の本体システムにバス拡張装置
4を接続する場合、本体システムに対して何の対応を行
う必要もなくなるので、キャッシュ部42を複数のアド
レスに対して対応できるようにすることで、より効率的
なデータ転送を実現することができる。
Further, when the bus expansion device 4 is connected to the existing main system, there is no need to cope with the main system, so that the cache unit 42 can cope with a plurality of addresses. Thus, more efficient data transfer can be realized.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、中
央処理装置及び主記憶装置が接続されたシステムバスと
入出力バスとをバス接続装置で接続し、複数の入出力装
置が接続された拡張入出力バスをバス拡張装置で入出力
バスに接続する情報処理装置において、主記憶装置に格
納されたデータの一部を記憶するキャッシュ手段と、複
数の入出力装置のいずれかからの読込み要求に対応する
データがキャッシュ手段に記憶されている時に当該デー
タをキャッシュ手段から読込んで要求元に出力するよう
制御する制御手段とをバス拡張装置に備えることによっ
て、システムの処理性能を向上させることができ、より
効率的なデータ転送を実現することができるという効果
がある。
As described above, according to the present invention, a system bus to which a central processing unit and a main storage device are connected and an input / output bus are connected by a bus connection device, and a plurality of input / output devices are connected. In an information processing apparatus for connecting an extended I / O bus to an I / O bus by a bus extension device, a cache means for storing a part of data stored in a main storage device, and a read from one of a plurality of I / O devices Improving the processing performance of the system by providing, in the bus expansion device, control means for controlling the data read from the cache means and outputting the data to the request source when the data corresponding to the request is stored in the cache means. Thus, there is an effect that more efficient data transfer can be realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例による情報処理装置の構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an information processing apparatus according to an embodiment of the present invention.

【図2】図1の中央処理装置から入出力装置への入出力
命令発行時のキャッシュ制御部の制御を示すフローチャ
ートである。
FIG. 2 is a flowchart illustrating control of a cache control unit when an I / O instruction is issued from the central processing unit to the I / O device in FIG. 1;

【図3】図1の入出力装置の読込みサイクル及び書込み
サイクルの際のキャッシュ制御部の制御を示すフローチ
ャートである。
FIG. 3 is a flowchart showing control of a cache control unit in a read cycle and a write cycle of the input / output device of FIG. 1;

【図4】図1の入出力装置の読込みサイクル及び書込み
サイクルの際のキャッシュ制御部の制御を示すフローチ
ャートである。
FIG. 4 is a flowchart showing control of a cache control unit in a read cycle and a write cycle of the input / output device of FIG. 1;

【符号の説明】[Explanation of symbols]

1 中央処理装置 2 主記憶装置 3 バス接続装置 4 バス拡張装置 5−1〜5−6 入出力装置 41 キャッシュ制御部 42 キャッシュ部 100 システムバス 200 I/Oバス 300 拡張I/Oバス REFERENCE SIGNS LIST 1 central processing unit 2 main storage device 3 bus connection device 4 bus expansion device 5-1 to 5-6 input / output device 41 cache control unit 42 cache unit 100 system bus 200 I / O bus 300 expansion I / O bus

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置及び主記憶装置が接続され
たシステムバスと入出力バスとをバス接続装置で接続
し、複数の入出力装置が接続された拡張入出力バスをバ
ス拡張装置で前記入出力バスに接続する情報処理装置で
あって、前記主記憶装置に格納されたデータの一部を記
憶するキャッシュ手段と、前記複数の入出力装置のいず
れかからの読込み要求に対応するデータが前記キャッシ
ュ手段に記憶されている時に当該データを前記キャッシ
ュ手段から読込んで要求元に出力するよう制御する制御
手段とを前記バス拡張装置に有することを特徴とする情
報処理装置。
An input / output bus is connected to a system bus to which a central processing unit and a main storage device are connected by a bus connection device, and an expansion input / output bus to which a plurality of input / output devices are connected is connected by a bus expansion device. An information processing device connected to a writing output bus, wherein a cache means for storing a part of data stored in the main storage device, and data corresponding to a read request from any of the plurality of input / output devices are An information processing apparatus comprising: a bus expansion device; and a control unit that controls the data to be read from the cache unit and output to a request source when the data is stored in the cache unit.
【請求項2】 前記制御手段は、前記中央処理装置から
前記入出力装置への入出力命令に伴うデータが前記主記
憶装置に格納される時に当該データを前記キャッシュ手
段に記憶するよう構成したことを特徴とする請求項1記
載の情報処理装置。
2. The data processing apparatus according to claim 1, wherein the control unit stores data associated with an input / output instruction from the central processing unit to the input / output device in the cache unit when the data is stored in the main storage device. The information processing apparatus according to claim 1, wherein:
【請求項3】 前記制御手段は、前記入出力装置から前
記主記憶装置に書込むべきデータがある時に当該データ
を前記キャッシュ手段に記憶してから前記主記憶装置に
書込むよう構成したことを特徴とする請求項1または請
求項2記載の情報処理装置。
3. The control unit according to claim 1, wherein when there is data to be written from said input / output device to said main storage unit, said data is stored in said cache unit and then written to said main storage unit. The information processing apparatus according to claim 1 or 2, wherein
【請求項4】 前記制御手段は、前記主記憶装置に書込
むべきデータが前記キャッシュ手段に存在しかつ前記シ
ステムバスが空いている時に当該データを前記主記憶装
置に書込むよう構成したことを特徴とする請求項3記載
の情報処理装置。
4. The system according to claim 1, wherein the control unit writes data to the main storage device when data to be written to the main storage device exists in the cache unit and the system bus is free. 4. The information processing apparatus according to claim 3, wherein:
【請求項5】 中央処理装置及び主記憶装置が接続され
たシステムバスと入出力バスとをバス接続装置で接続
し、複数の入出力装置が接続された拡張入出力バスをバ
ス拡張装置で前記入出力バスに接続する情報処理装置の
システムバス最適化方法であって、前記バス拡張装置に
設けられかつ前記主記憶装置に格納されたデータの一部
を記憶するキャッシュ手段に前記複数の入出力装置のい
ずれかからの読込み要求に対応するデータが記憶されて
いるか否かを判定するステップと、前記データが記憶さ
れていると判定された時に当該データを前記キャッシュ
手段から読込んで要求元に出力するステップとを前記バ
ス拡張装置に有することを特徴とするシステムバス最適
化方法。
5. An I / O bus is connected to a system bus to which a central processing unit and a main storage device are connected by an I / O bus, and an I / O bus to which a plurality of I / O devices are connected is connected by a bus expansion device. A method of optimizing a system bus of an information processing device connected to a writing output bus, wherein the plurality of input / output devices are provided in a cache unit provided in the bus expansion device and storing a part of data stored in the main storage device. Determining whether or not data corresponding to a read request from any of the devices is stored; and when it is determined that the data is stored, the data is read from the cache unit and output to the request source. And a step of performing the above operation in the bus expansion apparatus.
【請求項6】 前記中央処理装置から前記入出力装置へ
の入出力命令に伴うデータが前記主記憶装置に格納され
る時に当該データを前記キャッシュ手段に記憶するステ
ップを前記バス拡張装置に含むことを特徴とする請求項
5記載のシステムバス最適化方法。
6. The bus expansion device includes a step of storing data associated with an input / output instruction from the central processing unit to the input / output device in the cache unit when the data is stored in the main storage device. 6. The system bus optimizing method according to claim 5, wherein:
【請求項7】 前記入出力装置から前記主記憶装置に書
込むべきデータがある時に当該データを前記キャッシュ
手段に記憶してから前記主記憶装置に書込むステップを
前記バス拡張装置に含むことを特徴とする請求項5また
は請求項6記載のシステムバス最適化方法。
7. The bus expansion device according to claim 1, wherein when there is data to be written from said input / output device to said main storage device, said data is stored in said cache means and then written to said main storage device. The system bus optimizing method according to claim 5 or 6, wherein:
【請求項8】 前記入出力装置からのデータを前記主記
憶装置に書込むステップは、前記主記憶装置に書込むべ
きデータが前記キャッシュ手段に存在しかつ前記システ
ムバスが空いている時に当該データを前記主記憶装置に
書込むようにしたことを特徴とする請求項7記載のシス
テムバス最適化方法。
8. The step of writing data from the input / output device to the main storage device includes the step of writing the data to the main storage device when the data to be written to the main storage device is present in the cache unit and the system bus is free. The system bus optimizing method according to claim 7, wherein is written in said main storage device.
【請求項9】 中央処理装置及び主記憶装置が接続され
たシステムバスと入出力バスとをバス接続装置で接続
し、複数の入出力装置が接続された拡張入出力バスをバ
ス拡張装置で前記入出力バスに接続する情報処理装置に
おいて前記システムバスの最適化を前記バス拡張装置に
行わせるためのシステムバス最適化制御プログラムを記
録した記録媒体であって、前記システムバス最適化制御
プログラムは前記バス拡張装置に、前記バス拡張装置に
設けられかつ前記主記憶装置に格納されたデータの一部
を記憶するキャッシュ手段に前記複数の入出力装置のい
ずれかからの読込み要求に対応するデータが記憶されて
いるか否かを判定させ、前記データが記憶されていると
判定された時に当該データを前記キャッシュ手段から読
込んで要求元に出力させることを特徴とするシステムバ
ス最適化制御プログラムを記録した記録媒体。
9. An I / O bus is connected to a system bus to which a central processing unit and a main storage device are connected, and an extended I / O bus to which a plurality of I / O devices are connected by a bus extension device. A recording medium recording a system bus optimization control program for causing the bus expansion device to optimize the system bus in an information processing device connected to a writing output bus, wherein the system bus optimization control program is Data corresponding to a read request from any of the plurality of input / output devices is stored in a cache unit provided in the bus expansion device and storing a part of data stored in the main storage device. It is determined whether or not the data is stored. When it is determined that the data is stored, the data is read from the cache unit and output to the request source. A recording medium on which a system bus optimization control program is recorded.
【請求項10】 前記システムバス最適化制御プログラ
ムは前記バス拡張装置に、前記中央処理装置から前記入
出力装置への入出力命令に伴うデータが前記主記憶装置
に格納される時に当該データを前記キャッシュ手段に記
憶させることを特徴とする請求項9記載のシステムバス
最適化制御プログラムを記録した記録媒体。
10. The system bus optimization control program, when data associated with an input / output instruction from the central processing unit to the input / output device is stored in the main storage device, stores the data in the bus expansion device. 10. A recording medium storing a system bus optimization control program according to claim 9, wherein said recording medium is stored in a cache means.
【請求項11】 前記システムバス最適化制御プログラ
ムは前記バス拡張装置に、前記入出力装置から前記主記
憶装置に書込むべきデータがある時に当該データを前記
キャッシュ手段に記憶してから前記主記憶装置に書込ま
せることを特徴とする請求項9または請求項10記載の
システムバス最適化制御プログラムを記録した記録媒
体。
11. The system bus optimization control program stores data in the bus expansion device when the data to be written from the input / output device to the main storage device is stored in the cache unit, and then stores the data in the main storage device. 11. A recording medium on which a system bus optimization control program according to claim 9 or 10 is written.
【請求項12】 前記システムバス最適化制御プログラ
ムは前記バス拡張装置に、前記入出力装置からのデータ
を前記主記憶装置に書込ませる際に、前記主記憶装置に
書込むべきデータが前記キャッシュ手段に存在しかつ前
記システムバスが空いている時に当該データを前記主記
憶装置に書込ませることを特徴とする請求項11記載の
システムバス最適化制御プログラムを記録した記録媒
体。
12. The system bus optimization control program, when causing the bus expansion device to write data from the input / output device to the main storage device, stores the data to be written to the main storage device in the cache. 12. The recording medium according to claim 11, wherein said data is written to said main storage device when said system bus is available and said system bus is free.
JP10145289A 1998-05-27 1998-05-27 Information processor, its system bus optimizing method and recording medium recording control program therefor Pending JPH11338774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10145289A JPH11338774A (en) 1998-05-27 1998-05-27 Information processor, its system bus optimizing method and recording medium recording control program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10145289A JPH11338774A (en) 1998-05-27 1998-05-27 Information processor, its system bus optimizing method and recording medium recording control program therefor

Publications (1)

Publication Number Publication Date
JPH11338774A true JPH11338774A (en) 1999-12-10

Family

ID=15381707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10145289A Pending JPH11338774A (en) 1998-05-27 1998-05-27 Information processor, its system bus optimizing method and recording medium recording control program therefor

Country Status (1)

Country Link
JP (1) JPH11338774A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820161B1 (en) 2000-09-28 2004-11-16 International Business Machines Corporation Mechanism for allowing PCI-PCI bridges to cache data without any coherency side effects
JP2008171436A (en) * 2008-01-24 2008-07-24 Matsushita Electric Ind Co Ltd Data transfer device and data transfer method
US7814257B2 (en) 2000-07-04 2010-10-12 Panasonic Corporation Data transfer apparatus and data transfer method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814257B2 (en) 2000-07-04 2010-10-12 Panasonic Corporation Data transfer apparatus and data transfer method
US8028116B2 (en) 2000-07-04 2011-09-27 Panasonic Corporation Data transfer apparatus and data transfer method
US6820161B1 (en) 2000-09-28 2004-11-16 International Business Machines Corporation Mechanism for allowing PCI-PCI bridges to cache data without any coherency side effects
JP2008171436A (en) * 2008-01-24 2008-07-24 Matsushita Electric Ind Co Ltd Data transfer device and data transfer method

Similar Documents

Publication Publication Date Title
JP3289661B2 (en) Cache memory system
JP2003316753A (en) Multi-processor device
JP2003108439A (en) Processor system
JP3935873B2 (en) Memory power management using prefetch buffer
JPH11338774A (en) Information processor, its system bus optimizing method and recording medium recording control program therefor
JP2002024085A (en) Disk cache system and its control method
KR960007833B1 (en) Method and apparatus for fast page mode selection
JP3705354B2 (en) IO access control method and program for information processing system
JP3039391B2 (en) Memory system
JP2000227895A (en) Device and method for transferring image data
JP3052460B2 (en) Cooperative processing type information processing device
JP3940701B2 (en) Disk array device and cache matching control method applied to the same
JP2002259209A (en) Arithmetic processing system
JP2001290790A (en) Disk controller
JPH11327798A (en) Data transfer controller
JP2000029788A (en) Cache memory system, cache control method used therefor and recording medium control program therefor recorded therein
JPH03154139A (en) Cache memory
JP2000285019A (en) Cache control circuit
JP3299147B2 (en) Cache control circuit
JP3256516B2 (en) Multiprocessor control system
JP2000267986A (en) Device and method for controlling memory
JP2002182901A (en) Coprocessor data access controller, its method and its instruction format
JP2000194554A (en) Arithmetic processor
JPH02307123A (en) Computer
JPH07244564A (en) Disk array device