JPS6386043A - Memory device with sorting mechanism - Google Patents

Memory device with sorting mechanism

Info

Publication number
JPS6386043A
JPS6386043A JP61232616A JP23261686A JPS6386043A JP S6386043 A JPS6386043 A JP S6386043A JP 61232616 A JP61232616 A JP 61232616A JP 23261686 A JP23261686 A JP 23261686A JP S6386043 A JPS6386043 A JP S6386043A
Authority
JP
Japan
Prior art keywords
disk
memory
sorter
devices
data
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
JP61232616A
Other languages
Japanese (ja)
Inventor
Masaru Kiregawa
優 喜連川
Takashi Suzuki
孝 鈴木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61232616A priority Critical patent/JPS6386043A/en
Publication of JPS6386043A publication Critical patent/JPS6386043A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To realize effective application of resources by forming memory devices of a hardware sorter into a multi-port and making various devices in an electronic computer system share those memory devices. CONSTITUTION:The ports 24-26 excepting for sorting processors of memory devices 14-16 out of those memory devices 11-16 of a hardware sorter 20 are connected to a memory bus 40 and used as disk caches. Under such conditions, the data on a disk device 30 are read out by a disk controller 31 and written to the devices 14-16 through ports 24-26. When a flow of data received from the device 30 is sorted by the sorter 20, the data are read out of the device 30 by the controller 31 and inputted to the sorter 20. The results of pipeline merge sorting jobs carried out successively via sorting processors P11-Pn6 and devices 11-16 are outputted to a bus 40.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、電子計算機上で行なわれるソート処理を高
速に実行するハードウェアソータの多重利用可能なメモ
リ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory device that can be used in multiple ways for a hardware sorter that executes sorting processing performed on a computer at high speed.

〔従来の技術〕[Conventional technology]

第3図は、電子通信学会論文誌、J66−D(1983
年3月333ページ)図1に示された従来のハードウェ
アソータの構成図の一例であり、(1)〜(5)ハソー
トプロセッサ、IIυ〜aつは各ソートプロセッサが使
用するメモリ装置である。
Figure 3 shows the Journal of the Institute of Electronics and Communication Engineers, J66-D (1983
This is an example of a configuration diagram of the conventional hardware sorter shown in Fig. 1, in which (1) to (5) ha sort processors, IIυ to a are memory devices used by each sort processor. be.

次に動作について説明する。今、N(−2”)個のレコ
ードのソートを行うものとする。2−waymerge
を行うプロセッサをn (−Z o g 2 N冶用意
し、1次元状に結合する。第1番のプロセッサは2レコ
ード分のメモリを持つ。すなわちM11Iυはルコード
分、 M 2CI3ハ2 L/:!−)’分、M5α9
は2−16レコ一ド分のメモリを持つ。N個のレコード
はシリアルに第1番目のプロセッサP1illに入力さ
れ、第1番目のプロセッサは第1−1番目のプロセッサ
から送られてくる2  イ固のレコードからなるソート
されたストリングを2本マージして2 レコードからな
る一本のストリングを生成し、第1+1番目のプロセッ
サへ送出する。
Next, the operation will be explained. Now, suppose that N (-2”) records are to be sorted. 2-way merge
Prepare n (-Z o g 2 N processors) and combine them in a one-dimensional manner. The first processor has a memory for two records. That is, M11Iυ is for two records, M2CI3H2L/: !-)'min, M5α9
has memory for 2-16 records. The N records are serially input to the first processor P1ill, and the first processor merges the two sorted strings of 2 unique records sent from the 1-1st processor. A string consisting of 2 records is generated and sent to the 1st+1st processor.

このように第3図のハードウェアソータはパイプライン
マージソートを順に実行していく。
In this way, the hardware sorter in FIG. 3 sequentially executes pipeline merge sort.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のハードウェアソータのメモリ装置は以上のように
構成されており、各段のプロセッサはそれぞれ専用のメ
モリ装Ek持ち、そのプロセッサがソート処理を行う目
的以外には使用することができなかった。例えば十数段
のプロセッサでメモリa址数MBのハードウェアソータ
をディスク装置等を含む計算機システムで使用する場合
も、そのメモリを他の装置が使うことができず、共有資
源の有効活用ができないという問題点があった。
The memory device of a conventional hardware sorter is configured as described above, and each processor in each stage has its own dedicated memory device Ek, and the processor cannot be used for any purpose other than performing sort processing. For example, when using a hardware sorter with more than 10 stages of processors and only a few MB of memory in a computer system that includes a disk device, the memory cannot be used by other devices, and shared resources cannot be used effectively. There was a problem.

この発明は上記のような問題点を解消するためになされ
たもので、ハードウェアソータを使用する装置1例えば
ディスク制御装置、中央処理装置。
The present invention has been made to solve the above-mentioned problems, and includes a device 1 that uses a hardware sorter, such as a disk control device or a central processing unit.

あるいは各狸マイクロプロセッサ等がそれ自Hのメモリ
空間として多重利用可能なソート機構を有するメモリ装
置を得ることを目的とする。
Alternatively, it is an object of the present invention to obtain a memory device having a sorting mechanism that can be used in multiple ways by each raccoon microprocessor or the like as its own H memory space.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るソート機構を有するメモリ装置は、マル
チポートのアクセスパスを提供することにより、ハード
ウェアソータのメモリとしての使用以外に、他の装置の
メモリ空間としても多重利用を可能としたものである。
By providing a multi-port access path, the memory device having a sorting mechanism according to the present invention can be used not only as a memory for a hardware sorter but also as a memory space for other devices. be.

〔作用〕[Effect]

この発明において、ソート機構を有するメモリ装置をマ
ルチポート化したことにより、電子計算機システム内の
各種装置が当該メモリ装置を利用可能となり、資源の共
有化、有効利用を図れるものである。
In the present invention, by making a memory device having a sorting mechanism multi-ported, various devices within a computer system can use the memory device, and resources can be shared and used effectively.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図はディスク装置にハードウェアソータを接続した例で
ある。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows an example in which a hardware sorter is connected to a disk device.

(至)はハードウェアソータ、(1)〜(6)はn段か
らなる各ソートプロセッサ、I〜αQはメモリ装置、 
04)〜(イ)は当該メモリ装置のソートプロセッサ以
外のボートである。ハードウェアソータの周辺装置とし
ては、ディスク装置01.ディスク制御装置Cl11.
    ゛データ入出力制御等を行うシステム制御装置
(41)。
(to) is a hardware sorter, (1) to (6) are each sort processor consisting of n stages, I to αQ are memory devices,
04) to (a) are ports other than the sort processor of the memory device. As a peripheral device of the hardware sorter, disk device 01. Disk control device Cl11.
゛System control device (41) that performs data input/output control, etc.

他のホスト計算機に接続するためのチャネルインターフ
ェース(42)がある。これらの装置間のデータ転送路
としてC1のメモリバス、ディスク装置■とディスク制
御装置C1υ間の転送路C(3、ディスク制御装置から
ハードウェアソータの出力路(至)、ディスク制御装置
00とメモリバス(4(Iとの転送路(ロ)。
There is a channel interface (42) for connecting to other host computers. The data transfer path between these devices is the memory bus C1, the transfer path C (3) between the disk device ■ and the disk control device C1υ, the output path (from the disk control device to the hardware sorter), and the disk control device 00 and the memory. Bus (transfer route (b) with 4 (I).

ハードウェアソータ(1)からのソート結果出力路(至
)さらにチャネルインターフェース(42) トホスト
計算機との転送路(43)がある。
There is a sort result output path (to) from the hardware sorter (1), a channel interface (42), and a transfer path (43) to the host computer.

次に動作について説明する。Next, the operation will be explained.

はじめにディスク装置(至)からのデータ流をハードウ
ェアソータ翰を用いてソートする場合について説明する
。ディスク装置(至)内のデータはディスク制御装置G
υによりデータ転送路0のから読み出され、データ転送
路(至)を通してハードウェアソータ、cXJに入力さ
れる。ハードウェアソータ(1)内では。
First, a case will be described in which a data stream from a disk device is sorted using a hardware sorter. The data in the disk device (to) is transferred to the disk controller G.
It is read out from data transfer path 0 by υ and input to the hardware sorter, cXJ, through the data transfer path (to). In the hardware sorter (1).

各ソートプロセッサP、(1)〜Pn(6)と各プロセ
ッサのメモリ装置機υ〜(Iet−用いて順にパイプラ
インマージンートが行なわれソート結果がデータ転送路
(至)を通してメモリバス(41に出力され、そのデー
タはシステム制御装置(41)が読み込後処理をしたり
、あるいはチャネルインターフェース(42) fc介
してデータ転送路(43) fjc通してホスト計算機
に送られる。
Pipeline margin is performed in order using each sort processor P, (1) to Pn (6) and the memory device υ (Iet-) of each processor, and the sort results are transferred to the memory bus (41) through the data transfer path The data is read and processed by the system control device (41), or sent to the host computer via the channel interface (42) fc and the data transfer path (43) fjc.

このようなソートモードを示したのが第2図(a)であ
る。
FIG. 2(a) shows such a sorting mode.

次にディスクキャッシュとして利用する場合について説
明する。ディスク装置(至)のデータはディスク制御装
置ODによってデータ転送路03から読み出され、デー
タ転送路(ロ)を経由してメモリバス顛に出力され、さ
らにハードウェアソータ(4)内のメモリ装置α尋〜8
0に、ボー)04)〜@全全通て書き込まれる。このよ
うにしてディスク装置(至)内のデータの写しがメモリ
装置I〜αQに配される。
Next, the case of using it as a disk cache will be explained. The data in the disk device (to) is read from the data transfer path 03 by the disk controller OD, output to the memory bus via the data transfer path (b), and then transferred to the memory device in the hardware sorter (4). α fathom~8
0, baud)04)~@all written. In this way, a copy of the data in the disk device (to) is placed in the memory devices I to αQ.

一方ホスト計算機からのディスク装歓内のデータの読み
出しはチャネルインターフェース(42)を介して行な
われ、データがヒツトした場合は。
On the other hand, data in the disk drive is read from the host computer via the channel interface (42), and if the data is a hit.

ただちにメモリ装置(14−Hからボー)C19〜@を
通しメモリバスGt(Iからチャネルインターフェース
(42)  、データ転送路(45)を介してホスト計
算機にデータが送られる。またアンヒツトの場合は。
Data is immediately sent to the host computer via the memory device (14-H to baud) C19-@ to the memory bus Gt (I) via the channel interface (42) and data transfer path (45).

ディスク制御装No公によりディスク装置(7)内のデ
ータが読み出される。このようにして通常のディスクキ
ャッシュメモリの制御が行なわれる。これらの制御はシ
ステム制御装置(41)によって管理される。
The data in the disk device (7) is read by the disk controller No. In this way, normal disk cache memory control is performed. These controls are managed by a system controller (41).

このようなディスクキャッシュモードを第2図(b)に
示しである。
Such a disk cache mode is shown in FIG. 2(b).

なお上記実施例ではメモリ装置全ディスクキャッシュと
して利用する場合について説明したが。
In the above embodiment, the case where the memory device is used as an all-disk cache was explained.

メモリ装置のボートを、メモリを必要とする他の装置1
例えばホスト計算機の中央処理装置のメモリアクセスポ
ートとして用いてもよく、メモリ装置のメモリ空間の多
重利用が可能である。
Transfer the memory device boat to another device that requires memory 1
For example, it may be used as a memory access port of a central processing unit of a host computer, allowing multiple use of the memory space of the memory device.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、ハードウェアソータ
のメモリ装置をマルチポート構成としたために、ディス
ク装置内のデータをソートするようなハードウェアソー
タ環境において、大きな/・−ドウエア装置の付加を必
要とせず、ディスクキャッシュ等の高速大容量メモリ空
間を提供でき。
As described above, according to the present invention, since the memory device of the hardware sorter has a multi-port configuration, it is not necessary to add a large hardware device in a hardware sorter environment where data in a disk device is sorted. It can provide high-speed, large-capacity memory space such as disk cache without requiring it.

資源の有効利用が可能となり、システム全体の高性能化
、簡素化、低価格化が実現できるという効果がある。
This has the effect of making it possible to use resources more effectively and realizing higher performance, simplification, and lower cost of the entire system.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例を示すブロック図。 第2図はメモリ装置のモード別使用例を示す図で。 第2図(a)はソートモードを示す図、第2図(b)は
ディスクキャッシュモードを示す図、第3図は従来のハ
ードウェアソータ構成図である。 図において(1)〜(6)はソートプロセッサ、1ll
)〜(IGはメモリ装置、翰はハードウェアソータ、 
Q4〜@はメモリ装置のアクセスポートである。■はデ
ィスク装置、01)はディスク制御装置、0ト僧はデー
タ転送路、 G11)はメモリバス、 (41)はシス
テム制御装置、 (42)はチャネルインターフェース
。 (43)はホスト計算機とのデータ転送路である。 なお図中同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a diagram showing an example of how the memory device is used by mode. FIG. 2(a) is a diagram showing the sort mode, FIG. 2(b) is a diagram showing the disk cache mode, and FIG. 3 is a diagram showing the configuration of a conventional hardware sorter. In the figure, (1) to (6) are sort processors, 1ll
) ~ (IG is a memory device, 翰 is a hardware sorter,
Q4~@ are access ports of the memory device. ■ is a disk device, 01) is a disk control device, 0 is a data transfer path, G11) is a memory bus, (41) is a system control device, and (42) is a channel interface. (43) is a data transfer path with the host computer. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 電子計算機システム上で行なわれるソート処理を高速に
実行するハードウェアソータのメモリ装置をマルチポー
ト化することにより、上記メモリ装置を電子計算機シス
テム内のメモリ機能を必要とする各種装置が共有するよ
うに構成したことを特徴としたソート機構を有するメモ
リ装置。
By making the memory device of a hardware sorter that performs high-speed sort processing on a computer system multi-ported, the memory device can be shared by various devices that require memory functions within the computer system. A memory device having a sorting mechanism characterized by comprising:
JP61232616A 1986-09-30 1986-09-30 Memory device with sorting mechanism Pending JPS6386043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61232616A JPS6386043A (en) 1986-09-30 1986-09-30 Memory device with sorting mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61232616A JPS6386043A (en) 1986-09-30 1986-09-30 Memory device with sorting mechanism

Publications (1)

Publication Number Publication Date
JPS6386043A true JPS6386043A (en) 1988-04-16

Family

ID=16942124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61232616A Pending JPS6386043A (en) 1986-09-30 1986-09-30 Memory device with sorting mechanism

Country Status (1)

Country Link
JP (1) JPS6386043A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01297722A (en) * 1988-05-26 1989-11-30 Masaru Kiregawa Memory device with sort function
JPH01303521A (en) * 1988-05-31 1989-12-07 Mitsubishi Electric Corp Hardware sorter unit
JPH02129727A (en) * 1988-11-10 1990-05-17 Masaru Kiregawa Error collecting method for sort processor
EP0735460A2 (en) * 1995-03-30 1996-10-02 Mitsubishi Denki Kabushiki Kaisha Sorting using multitasking
CN1069423C (en) * 1993-07-13 2001-08-08 三菱电机株式会社 Sorting system and method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01297722A (en) * 1988-05-26 1989-11-30 Masaru Kiregawa Memory device with sort function
JPH01303521A (en) * 1988-05-31 1989-12-07 Mitsubishi Electric Corp Hardware sorter unit
JPH02129727A (en) * 1988-11-10 1990-05-17 Masaru Kiregawa Error collecting method for sort processor
CN1069423C (en) * 1993-07-13 2001-08-08 三菱电机株式会社 Sorting system and method
US6035296A (en) * 1995-03-20 2000-03-07 Mitsubishi Denki Kabushiki Kaisha Sorting method, sort processing device and data processing apparatus
EP0735460A2 (en) * 1995-03-30 1996-10-02 Mitsubishi Denki Kabushiki Kaisha Sorting using multitasking
EP0735460A3 (en) * 1995-03-30 1997-03-26 Mitsubishi Electric Corp Sorting using multitasking

Similar Documents

Publication Publication Date Title
US4942517A (en) Enhanced input/output architecture for toroidally-connected distributed-memory parallel computers
US7421524B2 (en) Switch/network adapter port for clustered computers employing a chain of multi-adaptive processors in a dual in-line memory module format
US7003593B2 (en) Computer system architecture and memory controller for close-coupling within a hybrid processing system utilizing an adaptive processor interface port
JP5364543B2 (en) A multiprocessor computer architecture incorporating multiple memory algorithm processors in a memory subsystem.
US5857090A (en) Input/output subsystem having an integrated advanced programmable interrupt controller for use in a personal computer
US20090109996A1 (en) Network on Chip
EP0398523A2 (en) A device for data i/o and execution support in digital processors
JPH05233281A (en) Electronic computer
US4731737A (en) High speed intelligent distributed control memory system
JPS6386043A (en) Memory device with sorting mechanism
KR20050119677A (en) Opportunistic read completion combining
US20030009532A1 (en) Multiprocessor system having a shared main memory
US7254667B2 (en) Data transfer between an external data source and a memory associated with a data processor
ATE137038T1 (en) TRANSMISSION CONTROL SYSTEM FOR A COMPUTER AND PERIPHERAL DEVICES
KR930005842B1 (en) Dual bus structure in multiprocessor system
JP2665750B2 (en) Semiconductor integrated circuit device
JPH02212952A (en) Memory access control system
JPH04156620A (en) Virtual computer system
JPS5998363A (en) Memory device
JPH04281583A (en) Data driven type processor
JPH07168942A (en) Icon between processing element levels in image understanding device and computer structure for efficient extraction and transmission of symbol information
JPH0934736A (en) Operation switching controller
AU2002356010A1 (en) Switch/network adapter port for clustered computers employing a chain of multi-adaptive processors in a dual in-line memory module format
JPS62154056A (en) Interface for data communication
JPH04281549A (en) Parallel processing microprocessor