CN1031085C - 带有高速缓冲存储器的中心处理机优先控制 - Google Patents
带有高速缓冲存储器的中心处理机优先控制 Download PDFInfo
- Publication number
- CN1031085C CN1031085C CN90108431A CN90108431A CN1031085C CN 1031085 C CN1031085 C CN 1031085C CN 90108431 A CN90108431 A CN 90108431A CN 90108431 A CN90108431 A CN 90108431A CN 1031085 C CN1031085 C CN 1031085C
- Authority
- CN
- China
- Prior art keywords
- bus
- signal
- mentioned
- logical signal
- data bus
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
- G06F13/362—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
- G06F13/366—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using a centralised polling arbiter
Abstract
在支持数据总线上多个主设备的计算机系统判优逻辑中插入一逻辑控制门。在这样有判优使用数据总线的系统中,门被如此控制使得对数据总线的竞争者只有在达到一定的系统条件下,才能迫使中央处理器(CPU)退出数据总线。特别是,CPU“抵撞”高速缓冲存储器的信号出现时,就被认为是CPU让出数据总线的机会了。
Description
本发明涉及计算机系统,特别是涉及包含如下数据总线的计算机系统,该数据总线可受控于包含主处理机在内的多个主设备(masters),且该系统依据预定判优方案分配总线时间。
众所周知,在计算机系统中,如与IBM公司的微通道结构一致的系统中,有许多可以独自通过系统主数据总线安排数据传输的主设备。这些主设备的作用在于将中央处理器CPU从输入/输出口(I/O12)与主存储器之间以及I/O装置与I/O装置之间数据传输的繁索负担中解脱出来。去掉这些负担,CPU就可以集中更多效能于数据处理,安排其它装置执行数据传输。
在这种系统中,对数据总线上各装置已建立优先级,用以分配总线时间。CPU被赋予缺省(default)或剩余(residu-al)优先级,承认总线上的主要工作被合理地分配给其它装置。如果发生排队,则各装置包括CPU在内,在每个判优周期中,竞争占用总线,优先级最高者先用。由于猝发脉冲装置可能连续地坚持其高的优先级,故有一“公平”限制常对猝发脉冲装置使用,以迫使它们等待,在当前队列消失后,方可重新入队。
此工作过程除去在数据总线处于高负荷时,都能很好地分配总线时间。在高负荷状态,CPU偶尔有机会如预定判优方案被允许占用总线,且在一个总线周期后,若有其它装置占先总线,则CPU会被“挤出”。这种状态,将使CPU“锁定”在不能完成为数据传输作准备或其它所要求的工作例如存储器存取的状态。当出现此状态,整个系统性能变坏,在极端状态,还可能损坏系统。在含有高速缓冲存储器的系统中,克服上述锁定问题是很困难的。其原因为:主处理器可能遇到一串高速缓冲存储器的抵撞,从而避开了捕捉数据总线以完成所需信息传输的准备。
因此,本发明的基本目的是保证这样系统的CPU有一定的规定时间用于数据传输,即使在高负荷周期也可以通过主数据线进行数据传输。
发明的进一步目的是在不重新组织系统判优程序的情况下,提供上述时间。
发明的另一个目的是考虑当主处理器占用总线时,进行主处理器高速缓冲器的传输。
本发明在CPU占用数据总线时,通过建立一个受控选优功能(controlled prefere),防止CPU被挤出数据总线。这一选优功能最好由修改到达中央判优控制器的总线请求信号的逻辑引入。通过如此控制总线请求线,当CPU占用数据总线时,请求信号只有在成功地完成高速缓存储器存取的信号图样出现后才能被传输到中央判优控制,这样在认为高速缓冲存储器的动作是通过数据总线存取主存储器的一种替代形式,CPU便有机会进行数据总线传输。由于在第一个总线请求到达后的预选时限内,附加了暂时取消总线请求,本发明目前较佳实施(implemen-tation)能够保证满足动态主存储器的刷新要求。
全面了解本发明将通过下面目前较佳的具体实施例详细描述。附图只提供示例图示,而不限制本发明的范围。附图中:
图1. 为本发明目前较佳系统的具体化框图图示。
图2. 为根据现有技术将控制信号施加于中央判优控制,以及直接存储器存取(DMA)控制器的框图图示。
图3. 为本发明产生改变了的总线请求信号的目前较佳逻辑框图图示。
图4. 为根据本发明较佳实施例将改变的总线请求信号施加给中央判优控制以及直接存储器存取(DMA)控制器的框图图示。
图5. 为本发明目前较佳实施例的判优顺序的时序图。
结合附图,现在详细介绍本发明的一个目前较佳的实施方案。参见图1,为一本发明的目前较佳执行系统。系统包含一个CPU100,如英特公司(Intel corporation)80386微处理器,高速缓冲存储器105,以及-个高速缓冲存储器控制器110,它们通过一套CPU信号总线140与系统其它单元连接,总线包括一控制总线125,一数据总线130,和一地址总线135。CPU信号总线140与对应的一套系统总线装置140′通过一组缓冲器170隔开。当指令和数据存于高速缓冲存储器105时,缓冲器170允许CPU单独经总线140处理指令和数据,而与系统总线140′无关。与总线装置140相连的有一可直接动态读/写存储寻址的主存储器145、一个存储控制器105、以及一个判优控制器和一直接存储器存取控制器(DMA Controller)用于控制通过总线140进行的直接存储器传输。
对于本发明系统,最好是提供一连接点165,使总线接口装置175如能控制数据总线的总线主装置与系统总线140′连接。这些连接通常采用一般公知的方式,把线路插板,插入带有插板边连接器的插槽(图1表示了侧视)。接口装置175可以与多种其它装置连接,如输入/输出装置(I/O口)180。这种装置180可以包括例如软盘驱动器或磁带机装置(没有在图中表示出来)。这样的系统设置包括接口装置175(可为总线主设备)和控制数据总线115是针对IBM公司的微通道结构,该结构的详细说明见“IBM个人系统Ⅱ硬件接口技术手册”。对于这种系统,中央判优控制器155给控制数据总线130′的装置建立优先级,直接存储器存取控制器160协调实际的上述总线的传输,是公知的。一组典型的判优先等级配制见表1。
表1
判优 基本等级 配制-2 存储器刷新-1 错误校验
0 直接存储器存取端口0
1 直接存储器存取端口1
2 直接存储器存取端口2
3 直接存储器存取端口3
4 直接存储器存取端口4
5 直接存储器存取端口5
6 直接存储器存取端口6
7 直接存储器存取端口7
8 备用
9 备用
A 备用
B 备用
C 备用
D 备用
E 备用
F 系统板处理器(CPU)
现在参见图2,现有技术包括一组连线210组成控制总线125′(见图1)的一部分,其上传递的信号控制着数据总线130′的使用。
通道220传递+ARB/-GRANT信号,用于区分建立总线使用进行判优(ARB)的周期及受予使用(GRANT)且各种主设备170按该分配工作的周期。通道240当一个或多个主装置,例如设备170及包括CPU100在等待存取数据总线130′时发送-PREEMPT信号。通道250,当一设备170占有数据总线130′时,发送-BURST信号,表示它是否是可多次或猝发传输的设备。
同样,与中央判优控制器155相连的判优总线260,最好由4线(0~3)组成,通过此总线维持优先级以取得数据总线130′的使用,而在通道维持220GRANT期间,表示总线拥有者。
现在参见图3 ,“与”门310 ,基于-PREEMPT、+HOLD,+ARB/GRANT和ARB BUS四个信号,产生+CPUPRE信号(111=F对应于CPU100),表明CPU占用数据总线130′。此+CPUPRE信号在主存储器145要求刷新期间内,触发时间延迟器315产生一预定时间长短的信号,以便不破坏系统规贝及引起数据丢失。计数器320计数高速缓冲存储器控制器110指示的高速缓冲存储器抵撞,而当达到一预定的记数,可取为2,便产生+2HIT信号。选择两个抵撞,是因为这足以表明比抵撞串,而这时CPU可以放弃总线130′。信号+DELAY与+2HIT的反向通过“与”门330产生BLK信号。BLK信号反向与-PREEMPT信号的反向通过“与”门340产生G信号。G信号和+CACHEHIT/-MISS信号的反向施加于“与”门350 ,产生-P′信号。此-P′信号是-PREEMPT信号的改变信号,当CPU占用总线130′时,阻止请求直至两个连续的高速缓冲存储器抵撞出现或在此占有总线期间第一个请求到达后,延时期终了。
现在再看图4,图4结构是依据较佳实施例对图2的改变,线240发送-P′信号,-P′信号是上述-PREEMPT请求信号的改变。该请求信号-PREEMPT的改变见图5中两个时序图。第一个表示两个高速缓冲存储器抵撞状态,第二个表示延时停止状态。
本发明通过参考目前较佳的实施例进行了详细描述,本技术领域内的一般技术人员据此可推得各种本发明的变换形式,所以在确定本发明范围时,应当根据权利要求书考虑到所有其等同形式,这些同属本申请人的权利。
Claims (4)
1. 在含有数据总线和多个主设备包含主处理器的计算机系统中,这些主设备使用通过信号路径传输给判优控制逻辑的总线请求信号争夺所述数据总线,判优控制逻辑使用所述计算机系统总线上的设备标识信号指明当前总线得主,所述系统含有高速缓冲存储器存储系统,被连接来协助主处理器从高速缓冲存储器缓冲器中提供数据,并且包括每当此数据提供后发出第一逻辑信号的装置,所述主处理器的一种选优电路其特征为:
被连接收所述总线信号的装置,用于检测主处理器被确定为数据总线占有者的时间,并在该期间产生第二逻辑信号,
接收并记数所述第一逻辑信号,并且当预定数记到达后产生第三逻辑信号的装置,
被连接接收上述第二和第三逻辑信号及总线请求信号的门电路,当上述第二逻辑信号有效,而上述第三逻辑信号无效时,该门(电路)阻止上述总线请求信号,其它情况下则将所述总线请求信号传给所述判优控制逻辑。
2. 根据权利要求1所述的选优电路,其特征为:一个逻辑装置在上述第二逻辑信号有效时,检测总线请求信号产生,并在预定延时后触发第四逻辑信号,第四逻辑信号施于上述门,消除对上述总线请求信号的阻止。
3. 根据权利要求1和权利要求2所述的选优电路,其特征为:所述预定记数值为2。
4. 根据权利要求2所述选优电路,其特征为:所述计算机系统包含主存储器,主存储器要求定期刷新,而且预定延时短于所述主存储器的刷新周期。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US07/428,259 | 1989-10-27 | ||
US07/428,259 US5293493A (en) | 1989-10-27 | 1989-10-27 | Preemption control for central processor with cache |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1050936A CN1050936A (zh) | 1991-04-24 |
CN1031085C true CN1031085C (zh) | 1996-02-21 |
Family
ID=23698145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN90108431A Expired - Fee Related CN1031085C (zh) | 1989-10-27 | 1990-10-15 | 带有高速缓冲存储器的中心处理机优先控制 |
Country Status (6)
Country | Link |
---|---|
US (1) | US5293493A (zh) |
EP (1) | EP0425181B1 (zh) |
JP (1) | JPH0656602B2 (zh) |
KR (1) | KR930005725B1 (zh) |
CN (1) | CN1031085C (zh) |
DE (1) | DE69026336T2 (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5596749A (en) * | 1992-09-21 | 1997-01-21 | Texas Instruments Incorporated | Arbitration request sequencer |
WO1994019747A1 (en) * | 1993-02-17 | 1994-09-01 | 3Com Corporation | System for reading dynamically changing data |
US5528765A (en) * | 1993-03-15 | 1996-06-18 | R. C. Baker & Associates Ltd. | SCSI bus extension system for controlling individual arbitration on interlinked SCSI bus segments |
US6374319B1 (en) | 1999-06-22 | 2002-04-16 | Philips Electronics North America Corporation | Flag-controlled arbitration of requesting agents |
US7406554B1 (en) | 2000-07-20 | 2008-07-29 | Silicon Graphics, Inc. | Queue circuit and method for memory arbitration employing same |
US6816947B1 (en) * | 2000-07-20 | 2004-11-09 | Silicon Graphics, Inc. | System and method for memory arbitration |
DE602004019990D1 (de) * | 2004-08-30 | 2009-04-23 | Magima Digital Information Co | Verfahren und system zum datentransfer |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4237534A (en) * | 1978-11-13 | 1980-12-02 | Motorola, Inc. | Bus arbiter |
FR2462745B1 (fr) * | 1979-07-30 | 1986-01-03 | Jeumont Schneider | Dispositif de partage temporel de l'acces a une memoire connectee a un bus unique entre un calculateur central et une pluralite de calculateurs peripheriques |
US4323965A (en) * | 1980-01-08 | 1982-04-06 | Honeywell Information Systems Inc. | Sequential chip select decode apparatus and method |
JPS57196335A (en) * | 1981-05-27 | 1982-12-02 | Mitsubishi Electric Corp | Shared storage device |
JPS58107934A (ja) * | 1981-12-21 | 1983-06-27 | Matsushita Electric Ind Co Ltd | バス制御方式 |
JPS6052468B2 (ja) * | 1982-03-04 | 1985-11-19 | 株式会社東芝 | Dmaバス負荷可変装置 |
US4570220A (en) * | 1983-11-25 | 1986-02-11 | Intel Corporation | High speed parallel bus and data transfer method |
JPS60151769A (ja) * | 1984-01-19 | 1985-08-09 | Fujitsu Ltd | バス制御方式 |
US4941086A (en) * | 1984-02-02 | 1990-07-10 | International Business Machines Corporation | Program controlled bus arbitration for a distributed array processing system |
US4757441A (en) * | 1985-02-28 | 1988-07-12 | International Business Machines Corporation | Logical arrangement for controlling use of different system displays by main proessor and coprocessor |
US4833596A (en) * | 1985-02-28 | 1989-05-23 | International Business Machines Corporation | Logical arrangement for controlling use of different system displays by main processor and co-processor |
US4689786A (en) * | 1985-03-21 | 1987-08-25 | Apple Computer, Inc. | Local area network with self assigned address method |
US4760515A (en) * | 1985-10-28 | 1988-07-26 | International Business Machines Corporation | Arbitration apparatus for determining priority of access to a shared bus on a rotating priority basis |
JPS62266640A (ja) * | 1986-05-15 | 1987-11-19 | Omron Tateisi Electronics Co | バスア−ビトレ−シヨン回路 |
US5051946A (en) * | 1986-07-03 | 1991-09-24 | Unisys Corporation | Integrated scannable rotational priority network apparatus |
US4980854A (en) * | 1987-05-01 | 1990-12-25 | Digital Equipment Corporation | Lookahead bus arbitration system with override of conditional access grants by bus cycle extensions for multicycle data transfers |
US4947368A (en) * | 1987-05-01 | 1990-08-07 | Digital Equipment Corporation | Lookahead bus arbitration system with override of conditional access grants by bus cycle extensions for multicycle data transfers |
US5129090A (en) * | 1988-05-26 | 1992-07-07 | Ibm Corporation | System bus preempt for 80386 when running in an 80386/82385 microcomputer system with arbitration |
US5032984A (en) * | 1988-09-19 | 1991-07-16 | Unisys Corporation | Data bank priority system |
US4982404A (en) * | 1988-10-12 | 1991-01-01 | American Standard Inc. | Method and apparatus for insuring operation of a multiple part system controller |
US5047921A (en) * | 1989-01-31 | 1991-09-10 | International Business Machines Corporation | Asynchronous microprocessor random access memory arbitration controller |
US4969120A (en) * | 1989-02-13 | 1990-11-06 | International Business Machines Corporation | Data processing system for time shared access to a time slotted bus |
US5119292A (en) * | 1989-07-21 | 1992-06-02 | Clearpoint Research Corporation | Bus device which abstains from round robin arbitration |
-
1989
- 1989-10-27 US US07/428,259 patent/US5293493A/en not_active Expired - Fee Related
-
1990
- 1990-10-15 CN CN90108431A patent/CN1031085C/zh not_active Expired - Fee Related
- 1990-10-15 KR KR1019900016328A patent/KR930005725B1/ko not_active IP Right Cessation
- 1990-10-17 EP EP90311379A patent/EP0425181B1/en not_active Expired - Lifetime
- 1990-10-17 DE DE69026336T patent/DE69026336T2/de not_active Expired - Fee Related
- 1990-10-25 JP JP2286059A patent/JPH0656602B2/ja not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
DE69026336T2 (de) | 1996-10-10 |
US5293493A (en) | 1994-03-08 |
JPH03150654A (ja) | 1991-06-27 |
KR910008593A (ko) | 1991-05-31 |
EP0425181A2 (en) | 1991-05-02 |
KR930005725B1 (ko) | 1993-06-24 |
DE69026336D1 (de) | 1996-05-09 |
EP0425181A3 (en) | 1991-10-23 |
EP0425181B1 (en) | 1996-04-03 |
CN1050936A (zh) | 1991-04-24 |
JPH0656602B2 (ja) | 1994-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4797815A (en) | Interleaved synchronous bus access protocol for a shared memory multi-processor system | |
US4554628A (en) | System in which multiple devices have a circuit that bids with a fixed priority, stores all losing bids if its bid wins, and doesn't bid again until all stored bids win | |
US4463445A (en) | Circuitry for allocating access to a demand-shared bus | |
US6704817B1 (en) | Computer architecture and system for efficient management of bi-directional bus | |
DE60009355T2 (de) | Busbrücke mit einer speichersteuerung mit verbessertem speicheranforderungsarbitrierungsmechanismus | |
WO1982003931A1 (en) | Multi-master processor bus | |
CN88100962A (zh) | 具有可编程序直接存贮器存取控制的计算机系统 | |
GB2366883A (en) | Data processing apparatus with a bus system | |
US5515523A (en) | Method and apparatus for arbitrating conflicts by monitoring number of access requests per unit of time in multiport memory systems | |
US5717873A (en) | Deadlock avoidance mechanism and method for multiple bus topology | |
GB2114788A (en) | Shared facility allocation system | |
WO2007067739A1 (en) | Memory access request arbitration | |
EP1323045B1 (en) | Dynamic priority external transaction system | |
EP0327203A2 (en) | NxM arbitrating non-blocking high bandwidth switch | |
CN1031085C (zh) | 带有高速缓冲存储器的中心处理机优先控制 | |
US5317696A (en) | Bus arbitration scheme | |
CN1061153C (zh) | 输入/输出设备和处理设备之间的总线仲裁 | |
US4878173A (en) | Controller burst multiplexor channel interface | |
CN1024962C (zh) | 用于避免cpu不致于因总线占有而封锁的延迟逻辑 | |
CN1258362A (zh) | 通信dma装置 | |
CN1191530C (zh) | 多命令部件共用主控器的pci主桥 | |
US6725306B2 (en) | DEBUG mode for a data bus | |
GB2364867A (en) | Controlling access to a slave unit by a plurality of master units over plural buses using a slave interface | |
CN1203419C (zh) | 一种具有改进结构的微处理器系统 | |
DE60312036T2 (de) | Ein simd-prozessor mit einer multiportspeichereinheit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C15 | Extension of patent right duration from 15 to 20 years for appl. with date before 31.12.1992 and still valid on 11.12.2001 (patent law change 1993) | ||
OR01 | Other related matters | ||
ASS | Succession or assignment of patent right |
Owner name: LIAN XIANG(SINGAPORE)PRIVATE LTD. Free format text: FORMER OWNER: INTERNATIONAL BUSINESS MACHINE CORP. Effective date: 20061027 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20061027 Address after: Singapore Changi Patentee after: Lenovo (Singapore) Pte. Ltd. Address before: American Florida Patentee before: International Business Machines Corp. |
|
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |