[go: up one dir, main page]

CN1217342C - Multi-channel storage management system - Google Patents

Multi-channel storage management system Download PDF

Info

Publication number
CN1217342C
CN1217342C CN 01111218 CN01111218A CN1217342C CN 1217342 C CN1217342 C CN 1217342C CN 01111218 CN01111218 CN 01111218 CN 01111218 A CN01111218 A CN 01111218A CN 1217342 C CN1217342 C CN 1217342C
Authority
CN
China
Prior art keywords
channel
memory
requires
system requirements
management system
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
Application number
CN 01111218
Other languages
Chinese (zh)
Other versions
CN1374662A (en
Inventor
郑启政
周俊彦
叶国炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Silicon Integrated Systems Corp
Original Assignee
Silicon Integrated Systems 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 Silicon Integrated Systems Corp filed Critical Silicon Integrated Systems Corp
Priority to CN 01111218 priority Critical patent/CN1217342C/en
Publication of CN1374662A publication Critical patent/CN1374662A/en
Application granted granted Critical
Publication of CN1217342C publication Critical patent/CN1217342C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)

Abstract

A multi-channel memory management system includes a plurality of memory channels, a request scheduler, and a read request recorder. The memory channel and the independent data bus form an independent data access bank in a mode of interleaving the addressing memory device, so as to provide an access path of an interleaving addressing area of the independent access memory device according to the system requirement. The demand dispatch device simultaneously sends the system demand to the memory channel. The read request recorder is coupled with the request scheduling device, and when the system requests to read data from the self-storage channel, the read request recorder records the original sequence required by the system so as to facilitate the storage channel to return the data in the original sequence to respond to the system request.

Description

多通道存储管理系统Multi-channel storage management system

本发明涉及一种存储管理系统,特别是有关于一种具有多存储通道(MultipleMemory Channel)的系统,以交错定址储存于存储器中的数据。The present invention relates to a memory management system, in particular to a system with multiple memory channels (MultipleMemoryChannel) for addressing data stored in memory in an interleaved manner.

存储装置,如动态随机存取存储,可将数字化的数据储存于其存储单元(MemoryCell)中。为了存取这些数字化的数据,许多要求启动装置(Request Initiator),如各类程序软件,会发出许多系统要求以针对存储单元的物理位置,读出或写入数据。为了对存储资源进行有效的管理,存储装置通常会以逻辑定址的方式区分成多个页面(Page)。这样,程序设计人员将可以依据这些逻辑定址的页面,存取存储装置中的数据,而不必追踪了解其物理位置。当系统要求读出储存于存储装置的页面中的数据时,会先将所述页面中的所有数据复制到检测放大器(SenseAmplifier)中,之后再从检测放大器中取出所需的数据片段,并将其传送给需要的要求启动装置。因此可以了解的是,要求启动装置是通过逻辑定址的页面而存取位于存储装置中的数据。Storage devices, such as dynamic random access storage, can store digitized data in its storage unit (MemoryCell). In order to access these digitized data, many request initiators, such as various program software, will issue many system requests to read or write data for the physical location of the storage unit. In order to effectively manage storage resources, storage devices are usually divided into multiple pages (Pages) in a logical addressing manner. In this way, programmers can access the data in the storage device according to these logically addressed pages without having to trace their physical locations. When the system requires to read out the data stored in the page of the storage device, it will first copy all the data in the page into the sense amplifier (SenseAmplifier), and then take out the required data fragments from the sense amplifier, and It is sent to the required request activation device. It can therefore be understood that the boot device is required to access data located in the storage device through logically addressed pages.

一般而言,存储装置服伺多个要求启动装置,而这些要求启动装置也常常会同时对存储装置发送系统要求。如图1所示,为了协调这些系统要求,存储控制器4与存储装置2以及要求启动装置6、8、10形成一个传统的单通道存储管理系系统(Single-Channel Memory Management System)。存储控制器4接收由要求启动装置-A、要求启动装置-B与要求启动装置-C所发出的系统要求,并将这些系统要求依照其优先顺序,而传送至存储装置2。当系统要求传送到存储装置2时,存储装置2会响应此系统要求,而使用此存储管理系统所有的数据总线频宽,以服伺发送此系统要求的要求启动装置。换言之,只有先行的系统要求处理完成之后,后续的系统要求才能进入,并存取存储装装置2。举例而言,当要求启动装置A所发出的系统要求正存取存储装置2时,其他由要求启动装置6、8、10所发出的系统要求将会进入等候状态,直到要求启动装置A的系统要求处理完成后,再续行处理其他的系统要求。Generally speaking, a storage device serves multiple request triggering devices, and these request triggering devices often send system requests to the storage device at the same time. As shown in FIG. 1 , in order to coordinate these system requirements, the storage controller 4, the storage device 2 and the required activation devices 6, 8, and 10 form a traditional single-channel memory management system (Single-Channel Memory Management System). The storage controller 4 receives the system requests issued by the request activation device-A, the request activation device-B and the request activation device-C, and transmits these system requests to the storage device 2 according to their priority order. When the system request is sent to the storage device 2, the storage device 2 will respond to the system request and use all the data bus bandwidth of the storage management system to serve the request to send the system request to activate the device. In other words, only after the previous system request is processed, the subsequent system request can enter and access the storage device 2 . For example, when the system request issued by the requesting device A is accessing the storage device 2, other system requests issued by the requesting device 6, 8, and 10 will enter a waiting state until the system request of the device A is requested. After the request processing is completed, continue to process other system requests.

上述传统的单通道存储管理系统的一个缺点在于,在某一时刻下,此存储管理系统仅能够处理一个系统要求,这样将造成其他无法同时处理的系统要求的延迟。而此传统存储管理系统的另一缺点是其存取存储的效率缓慢。如同前文所述,当系统要求自存储装置读出数据时,这些数据将会首先被复制到检测放大器(SenseAmplifier)中。若是所欲读出的数据已存在于检测放大器中,则此时读出数据将化费极少的时间,而此一状态称为页面命中(Page-Hit)。若系统要求所欲读出的数据并未存在于检测放大器中,此时必须要先将检测放大器中的数据写回存储装置,再从存储装置中将所需的页面复制到检测放大器中,最后再从检测放大器中取出所需的数据片段,而此一状态则称为页面错失(Page-Miss)。由于页面错失的状态需要化费许多时间对存储装置进行重复读写的动作。一般而言,这些重复读写的动作所花费的时间约九倍于处理页面命中状态所花费的时间,因此将会使得整个数据存取的过程显得效率低下。而由于系统要求是以随机的方式读出存储装置中的数据,因而无法避免于此过程中发生页面错失的情形,故造成此传系统的存储管理系统效率不高的问题。A disadvantage of the above-mentioned conventional single-channel storage management system is that at a certain moment, the storage management system can only handle one system request, which will cause delays for other system requests that cannot be processed simultaneously. Another shortcoming of the traditional storage management system is that the storage access efficiency is slow. As mentioned above, when the system requires to read data from the storage device, the data will be copied to the sense amplifier (SenseAmplifier) first. If the data to be read out already exists in the sense amplifier, it will take very little time to read out the data at this time, and this state is called a page hit (Page-Hit). If the system requires that the data to be read does not exist in the sense amplifier, the data in the sense amplifier must first be written back to the storage device, and then the required page is copied from the memory device to the sense amplifier, and finally Then the required data fragments are taken out from the sense amplifier, and this state is called Page-Miss. Due to the state of page miss, it takes a lot of time to repeatedly read and write to the storage device. Generally speaking, the time spent on these repeated reading and writing actions is about nine times the time spent on processing the page hit status, thus making the entire data access process inefficient. Since the system requires that the data in the storage device be read out in a random manner, page misses cannot be avoided during this process, which causes the problem of low efficiency of the storage management system of the transfer system.

图2显示了一种传统的双重通道存储管理系统(Dual-Channel MemoryManagement System)。其中,存储装置被区分成存储通道-1 12与存储通道-216,并通过通道控制装置14与要求启动装置18、20、22相耦合。通道控制装置14则负责接收由要求启动装置18、20、22所发出的系统要求,并将这些要求发送至存储通道12、16。存储通道-1是通过通道控制装置14以一对一的方式单独服伺要求启动装置-A,而存储通道-2则服伺其余的所有要求启动装置20、22。附带一提的是,所谓存储通道是指由一组独立的数据传输线传输特定地址存储单元所储存数据的独立的数据存取库。举例而言,在传统的绘图芯片中,存储通道-1往往服伺单一的要求启动装置-A,如结构缓冲器(Texture Buffer)。而存储通道-2则会服伺剩余的要求启动装置20、22。Figure 2 shows a traditional dual-channel memory management system (Dual-Channel Memory Management System). Wherein, the storage device is divided into a storage channel-112 and a storage channel-216, and is coupled with the required activation device 18, 20, 22 through the channel control device 14. The channel control device 14 is responsible for receiving the system requests sent by the request initiating devices 18 , 20 , 22 and sending these requests to the storage channels 12 , 16 . The storage channel-1 is individually served by the channel control device 14 in a one-to-one manner to the request activation device-A, while the storage channel-2 is served by all the remaining request activation devices 20 , 22 . Incidentally, the so-called storage channel refers to an independent data access library for transmitting data stored in a storage unit with a specific address through a set of independent data transmission lines. For example, in a traditional graphics chip, memory channel-1 often serves a single request enabling device-A, such as a texture buffer. The storage channel-2 will serve the remaining request enablers 20 , 22 .

理论上,双重通道存储管理系统的数据传输频宽会等于存储通道-1的数据传输频宽与存储通道-2的数据传输频宽的总和。然而实际上,由于存储通道-1的数据传输线与存储通道-2的数据传输线往往不会同时传输数据,甚至存储通道-1的数据传输频线亦不会一直处于忙线状态,因此其实际的总数据传输频宽通常比理论值来得小。故当存储通道-1与存储通道-2的数据传输线使用不平均时,即一组线路忙线而另一组线路闲置,此一存储管理系统的资源即形成浪费。此外,由于要求启动装置20、22共用同一组存储通道-2,因此仍然会面对单通道存储管理系统所遭遇到的效率不高以及无法平行处理等问题。Theoretically, the data transmission bandwidth of the dual-channel storage management system is equal to the sum of the data transmission bandwidth of storage channel-1 and the data transmission bandwidth of storage channel-2. However, in fact, since the data transmission line of memory channel-1 and the data transmission line of memory channel-2 often do not transmit data at the same time, even the data transmission frequency line of memory channel-1 will not always be in a busy state, so its actual The total data transmission bandwidth is usually smaller than the theoretical value. Therefore, when the data transmission lines of storage channel-1 and storage channel-2 are used unevenly, that is, one set of lines is busy and the other set of lines is idle, the resources of the storage management system are wasted. In addition, since the booting devices 20 and 22 are required to share the same set of storage channels-2, problems such as low efficiency and inability to perform parallel processing encountered in single-channel storage management systems are still encountered.

本发明的目的在于提供一种具有存储通道的存储管理系统,以提供平行处理系统要求的能力。The object of the present invention is to provide a storage management system with storage channels to provide the capability required by the parallel processing system.

本发明的另一目的在于提供一种具有存储通道的存储管理系统,可使存储管理系统的频宽获得更有效的运用。Another object of the present invention is to provide a storage management system with storage channels, which can make more effective use of the bandwidth of the storage management system.

为实现上述目的,本发明提供一种多通道存储管理系统,用以响应系统要求而以平行处理的方式存取存储装置,其特点是,所述多通道存储管理系统至少包括:数个存储通道,交错定址所述存储装置并与独立数据总线组成独立的数据存取库,所述存储通道按所述系统要求提供独立存取所述存储装置的交错定址区的存取路径;要求调度装置,它响应于所述系统要求而同时发送所述系统要求至所述存储通道;以及读出要求记录器,它与所述要求调度装置相耦合,当所述系统要求从所述存储通道中读出数据时,所述读出要求记录器记录所述系统要求的原始顺序,以利于所述存储通道将所述数据按所述原始顺序传回以响应所述系统要求。To achieve the above object, the present invention provides a multi-channel storage management system for accessing storage devices in a parallel processing manner in response to system requirements. The feature is that the multi-channel storage management system includes at least: several storage channels , interleaving addressing the storage device and forming an independent data access library with an independent data bus, the storage channel provides an access path for independently accessing the interleaved addressing area of the storage device according to the system requirements; the scheduling device is required, which simultaneously sends said system request to said memory channel in response to said system request; and a read request recorder coupled to said request dispatcher which, when said system request is read from said memory channel When storing data, the readout requires the recorder to record the original sequence required by the system, so that the storage channel can return the data in the original sequence to respond to the system requirement.

本发明的存储管理系统的优点是:通过交错定址存储装置的方式而降低了发生页面错失的机率,当存储装置的每一个交错定址区的容量越小时,每个存储通道的使用将更为平均,因此在本发明的存储管理系统中,几乎所有的频宽将可同时获得利用;提供了平行处理系统要求的能力。The advantage of the storage management system of the present invention is that the probability of page misses is reduced by interleaving the addressing storage device. When the capacity of each interleaving addressing area of the storage device is smaller, the use of each storage channel will be more even , so in the storage management system of the present invention, almost all the bandwidth can be utilized at the same time; the capability required by the parallel processing system is provided.

为更清楚理解本发明的目的、特点和优点,下面将结合附图对本发明的较佳实施例进行详细说明。In order to better understand the purpose, features and advantages of the present invention, preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

图1为传统的单通道存储管理系统的功能方块示意图;Fig. 1 is a functional block diagram of a traditional single-channel storage management system;

图2为传统的双通道存储管理系统的功能方块示意图;Fig. 2 is a functional block diagram of a traditional dual-channel storage management system;

图3为本发明的多通道存储管理系统的第一实施例的功能方块图;Fig. 3 is the functional block diagram of the first embodiment of the multi-channel storage management system of the present invention;

图4是显示本发明的存储通道如何交错定址存储装置的示意图;Fig. 4 is a schematic diagram showing how the storage channels of the present invention interleave addressing storage devices;

图5是显示本发明的读出要求记录器如何记录系统要求的原始顺序示意图;Figure 5 is a schematic diagram showing the original sequence of how the read request recorder of the present invention records system requests;

图6是显示本发明的要求调度装置如何发送系统要求至存储通道的示意图;Fig. 6 is a schematic diagram showing how the request scheduling device of the present invention sends system requests to storage channels;

图7是显示本发明的读出数据排序装置如何依据原始顺序而对所传回的数据进行排序的示意图;FIG. 7 is a schematic diagram showing how the read data sorting device of the present invention sorts the returned data according to the original order;

图8为本发明的多通道存储管理系统的第二实施例的功能方块图;8 is a functional block diagram of a second embodiment of the multi-channel storage management system of the present invention;

图9是显示本发明的多通道存储管理系统如何同时处理多个系统要求的示意图。FIG. 9 is a schematic diagram showing how the multi-channel storage management system of the present invention handles multiple system requirements simultaneously.

本发明揭示了一种具有多个存储通道的存储管理装置,用以利用平行处理的方式服伺多个要求启动装置,并提高存取存储装置的效率。以下则以数个较佳实施例来说明本发明的精神。The invention discloses a storage management device with multiple storage channels, which is used to serve multiple request activation devices in a parallel processing manner and improve the efficiency of accessing the storage device. The spirit of the present invention is described below with several preferred embodiments.

参阅图3,图中显示了本发明的多通道存储管理系统(以下一简称存储管理系统)的第一个实施例。此存储管理系统包括数个要求启动装置40、42、44、46,存储通道32、34、36、38,以及通道控制装置30。此处附带一提的是,所谓存储通道是指由一组独立的数据传输线传输特定地址存储单元,以提供存储装置(如动态随机存储)的存取路径的数据存取库。而存储通道32、34、36、38是将存储装置进行交错的定址,故储存于其中的数据也将交错掺杂于存储通道之中。Referring to FIG. 3 , the first embodiment of the multi-channel storage management system (hereinafter referred to as the storage management system) of the present invention is shown in the figure. The storage management system includes several request activation devices 40 , 42 , 44 , 46 , storage channels 32 , 34 , 36 , 38 , and a channel control device 30 . It should be mentioned here that the so-called storage channel refers to a data access bank that transmits specific address storage units through a set of independent data transmission lines to provide access paths for storage devices (such as DRAM). The storage channels 32 , 34 , 36 , and 38 address the storage devices in an interleaved manner, so the data stored therein will also be interleaved in the storage channels.

请参阅图4,图中显示如何以存储通道交错定址存储装置的示意图。以三个存储通道为例,通道-1、通道-2、通道-3交错定址存储装置47,其相对于存储通道的交错定址区的线性地址则如下所示:(C×I~C×i+1)×N、(C×j+1~C×i+2)×N、(C×i+2~C×i+3)×N。其中N代表交错定址区的容量,C则代表存储通道的数目,在此例中其值为三。此外,M则代表了存储装置47的总容量,而i则为数列0,1,2,……,[M/(C×N)]-1。附带一提的是,交错定址区容量N的大小,可通过此存储管理系统的驱动程序,以可编程的方式予以控制。Please refer to FIG. 4 , which shows a schematic diagram of how to interleave addressing memory devices with memory channels. Taking three storage channels as an example, the channel-1, channel-2, and channel-3 interleaved addressing storage device 47, its linear address relative to the interleaved addressing area of the storage channel is as follows: (C×I~C×i +1)×N, (C×j+1~C×i+2)×N, (C×i+2~C×i+3)×N. N represents the capacity of the interleaved addressing area, and C represents the number of storage channels, which is three in this example. In addition, M represents the total capacity of the storage device 47, and i is the sequence 0, 1, 2, . . . , [M/(C×N)]−1. Incidentally, the size of the capacity N of the interleaved addressing area can be controlled in a programmable manner through the driver program of the storage management system.

继续参阅图3,要求启动装置40、42、44、46代表任何需要存取存储通道32、34、36、38的软件程序。要求启动装置40、42、44、46产生的系统要求所标示的地址为线性地址(Linear Address)。当要求调度装置50接收到这些系统要求后,会将其线性他址解码成通道地址(Channel Address),并依据这些通道地址将系统要求递送至存储通道32、34、36、38,而存储通道将会响应这些系统要求而服伺要求启动装置。一般而言,系统要求可以区分成写入要求与读出要求两类,而对这两类系统要求的处理方式,则见于后文的说明。Continuing to refer to FIG. 3 , the requesting device 40 , 42 , 44 , 46 represents any software program that requires access to the memory channel 32 , 34 , 36 , 38 . The address marked in the system request generated by the requesting device 40, 42, 44, 46 is a linear address (Linear Address). When the request scheduling device 50 receives these system requests, it will decode its linear addresses into channel addresses (Channel Address), and deliver the system requests to the storage channels 32, 34, 36, 38 according to these channel addresses, and the storage channels The server will request activation of the device in response to these system requests. Generally speaking, system requirements can be divided into writing requirements and reading requirements, and the processing methods for these two types of system requirements are described later.

通道控制装置30包括要求调度装置50,与通道队列58、56、54、52,其中要求调度装置50用以将系统要求发送至其目标存储通道,而通道队列58、56、54、52则用以等候发送至存储通道的系统要求。当系统要求欲写入数据于存储通道中时,此系统耍求会伴随所欲写入的数据,通过要求调度装置50,通过通道队列58、56、54、42,而传送至存储通道32、34、36、38。当存储通道32、34、36、38接受到此系统要求时,会直接将数据写入其自身之中,而完成写入数据的程序。The channel control device 30 includes a request scheduling device 50 and channel queues 58, 56, 54, 52, wherein the request scheduling device 50 is used to send system requests to its target storage channels, and the channel queues 58, 56, 54, 52 are used to to wait for system requests to be sent to the memory channel. When the system requires data to be written in the storage channel, the system request will be accompanied by the data to be written, and will be transmitted to the storage channel 32, 34, 36, 38. When the storage channel 32, 34, 36, 38 receives the system request, it will directly write data into itself, and complete the program of writing data.

由于数据写入存储通道32、34、36、38的顺序是无关紧要的,因此使得处理写入要求显得相当简单。然而对于读出要求而言,由存储通道32、34、36、38所传回的数据顺序是否正确,则关系到要求启动装置40、42、44、46读出数据的成败。当系统要求欲读出存储通道32、34、36、38中的数据时,要求调度装置50将发送这些系统要求至其目标存储通道32、34、36、38,同时读出要求记录器60将会记录下这些系统要求的原始顺序。然后存储通道32、34、36、38响应这些系统要求,而送出所欲读出的数据至读出数据排序装置62。此时,读出数据排序装置62将会依据读出要求记录器60所记录的原始顺序,将所接收的数据予以排序,并依序传送回其相对的要求启动装置40、42、44、46,以确保其数据顺序的正确性。Since the order in which data is written to the memory channels 32, 34, 36, 38 is insignificant, this makes handling write requests relatively simple. However, for the read request, whether the order of the data returned by the memory channels 32, 34, 36, 38 is correct or not is related to the success or failure of the data read by the enabling devices 40, 42, 44, 46. When the system requests to read out the data in the memory channels 32, 34, 36, 38, the request scheduling device 50 will send these system requests to its target memory channels 32, 34, 36, 38, and the read request recorder 60 will The original order of these system requirements is noted. Then the storage channels 32 , 34 , 36 , 38 respond to these system requirements, and send the data to be read to the read data sorting device 62 . At this time, the read data sorting device 62 will sort the received data according to the original order recorded by the read request recorder 60, and send back the corresponding request starting devices 40, 42, 44, 46 in sequence. , to ensure the correctness of its data order.

图5至图7显示了本发明的存储管理系统如何确保要求启动装置所读出的数据顺序正确。首先参阅图5,显示了一列读出要求,其中第一个读出要求来自要求启动装置-A,而其识别号码为O,第二个读出要求也来自要求启动装置-A,而其识别号码则为1,余下则以此类推。至于启动装置-A,共发出了0A、1A、4A、6A,其识别号码分别为0、1、4、6,所谓识别号码则代表了所发出的读出要求的顺序,而这些识别号码也都由读出要求记录器60(见图3)所记录。相似地,读出要求记录器也记录了由启动装置-B、启动装置-C、启动装置-D所发出的读出要求的识别号码。5 to 7 show how the storage management system of the present invention ensures that the sequence of data read by the boot device is correct. Referring first to Fig. 5, a list of read requests is shown, wherein the first read request comes from the request activation device-A, and its identification number is O, and the second read request also comes from the request activation device-A, and its identification number is O. The number is 1, and so on for the rest. As for the starter-A, a total of 0A, 1A, 4A, and 6A have been issued, and their identification numbers are 0, 1, 4, and 6 respectively. The so-called identification numbers represent the order of the readout requests issued, and these identification numbers are also All are recorded by the read request recorder 60 (see FIG. 3). Similarly, the read request recorder also records the identification numbers of the read requests issued by the initiating device-B, initiating device-C, and initiating device-D.

接着参阅图6,要求调度装置50将读出要求分成两组57、55,而分别通过通道队列-1与通道队列-2,传送至存储通道-1与存储通道-2。第一组的读出要求57包括0A、2B、4A、与7D,而第二组的读出要求55则包括1A、3C、5B、与1A。Referring next to FIG. 6 , the request scheduling device 50 divides the read requests into two groups 57 and 55 , and transmits them to the storage channel-1 and the storage channel-2 through the channel queue-1 and the channel queue-2 respectively. The first set of read requests 57 includes 0A, 2B, 4A, and 7D, while the second set of read requests 55 includes 1A, 3C, 5B, and 1A.

再参阅图7,存储通道-1将第一组读出要求57所欲读出的数据,通过位于数据读出排序装置62中的数据读出队列-1,传送至读出数据排序装置62。相似地,存储通道-2则将第二组读出要求55所欲读出的数据,通过位于数据读出排序装置62中的数据读出位列-2、传送至读出数据排序装置62中。而读出数据排序装置62,将会依据这些数据的识别号码予以排序,再依据其原始顺序传送回其对应的要求启动装置。Referring again to FIG. 7 , the storage channel-1 transmits the data to be read out by the first set of readout requests 57 to the readout data sorting device 62 through the data readout queue-1 located in the data readout sorting device 62 . Similarly, the storage channel-2 transmits the data to be read out by the second group of readout requests 55 to the readout data sorting device 62 through the data readout bit column-2 located in the data readout sorting device 62 . The read data sorting device 62 will sort the data according to the identification numbers, and then send back to the corresponding request activation device according to the original order.

图8,显示了本发明的多通道存储管理系统(以下简称存储管理系统)的第二实施例。此存储管理系统包括数个要求启动装置72、74、76、78,存储通道80、82、84、86,以及通道控制装置70。而通道控制装置70则通过将系统要求的线性地址解码成通道地址的方式,将系统要求递送至存储通道80、82、84、86。Fig. 8 shows a second embodiment of the multi-channel storage management system (hereinafter referred to as the storage management system) of the present invention. The storage management system includes several request initiation devices 72 , 74 , 76 , 78 , storage channels 80 , 82 , 84 , 86 , and a channel control device 70 . The channel control device 70 delivers the system request to the memory channels 80 , 82 , 84 , and 86 by decoding the linear address of the system request into a channel address.

通道控制装置70包括要求调度装置88,读出要求记录器90,与通道队列98、96、94、92,其中读出要求记录器90系与要求调度装置88形成电性连接,并用以记录由要求启动装置72、74、76、78所发出的系统要求的原始顺序。要求调度装置70则用以将系统要求发送至其自标存储通道,而通道队列98、96、94、92则用以等候发送至存储通道的系统要求。The channel control device 70 includes a request scheduling device 88, a read request recorder 90, and channel queues 98, 96, 94, 92, wherein the read request recorder 90 is electrically connected to the request schedule device 88, and is used for recording The original sequence of system requests issued by the request initiators 72 , 74 , 76 , 78 . The request scheduling device 70 is used to send system requests to its own storage channel, and the channel queues 98, 96, 94, 92 are used to wait for system requests sent to the storage channel.

当系统要求欲写入数据于存储通道80、82、84、86中时,此系统要求会伴随所欲写入的数据,通过要求调度装置90,通过通道队列98、96、94、92,而传送至存储通道80、82、84、86。当存储通道80、82、84、86接受到此系统要求时,会直接的将数据写入其自身之中,而完成写入数据的程序。当系统要求读出存储通道80、82、84、86中的数据时,读出要求记录器90将会通过于系统要求中加入识别号码的方式,而记录下这些系统要求的原始顺序。由于读出要求记录器90每次仅允许识别号码最早的系统要求通过而传送至存储通道,因此可以确保由存储通道所回传的数据将会符合其原始顺序。When the system requires data to be written in the storage channel 80, 82, 84, 86, the system request will be accompanied by the data to be written, through the request scheduling device 90, through the channel queue 98, 96, 94, 92, and Transfer to storage channels 80,82,84,86. When the storage channel 80, 82, 84, 86 receives the system request, it will directly write the data into itself, and complete the procedure of writing the data. When the system requests to read the data in the storage channels 80, 82, 84, 86, the read request recorder 90 will record the original sequence of these system requests by adding identification numbers to the system requests. Since the read request recorder 90 only allows the system request with the earliest identification number to pass through to the memory channel, it can be ensured that the data returned by the memory channel will be in its original order.

本发明的存储管理系统的一个优点是通过交错定址存储装置的方式,而降低了发生页面错失的机率。如前文所述,页面错失将消耗传系统的单通道存储管理系统,或双重通道存储管理系统大量的处理时间。当存储通道数目越多时,发生页面错失的机率就越小。当存储装置的每一个交错定址区的容量越小时,每个存储通道的使用将更为平均。因此在本发明的存储管理系统中,几乎所有的频宽将可同时获得利用。An advantage of the memory management system of the present invention is that the probability of page misses is reduced by interleaving addressing of memory devices. As mentioned above, page misses will consume a lot of processing time of the traditional single-channel memory management system, or dual-channel memory management system. When the number of storage channels is larger, the probability of page misses is smaller. When the capacity of each interleaved addressing area of the storage device is smaller, the use of each storage channel will be more even. Therefore, in the storage management system of the present invention, almost all the bandwidth can be utilized simultaneously.

本发明的存储管理系统的另一优点则是提供了平行处理系统要求的能力。以图9所示的具有三个存储通道的存储管理系统为例,在时刻1之下,通道-1、通道-2、通道-3,将可以同时处理由要求启动装置-A、要求启动装置-D、要求启动装置-E所发出的系统要求。相似地,在时刻2的下,通道-1、通道-2、通道-3,则可以同时处理由要求启动装置-C、要求启动装置-B、要求启动装置-F所发出的系统要求。Another advantage of the storage management system of the present invention is that it provides the capability of parallel processing system requirements. Taking the storage management system with three storage channels shown in Figure 9 as an example, at time 1, channel-1, channel-2, and channel-3 will be able to simultaneously process requests from the requesting device-A and the requesting device -D, system request issued by requesting device-E. Similarly, at time 2, channel-1, channel-2, and channel-3 can simultaneously process the system requests issued by the request activation device-C, request activation device-B, and request activation device-F.

本发明以一较佳实施例说明如上,仅用于帮助了解本发明的实施,并非用以限定本发明的精神,而熟悉本技术领域的人员于领悟本发明的精神后,在不脱离本发明的精神范围内,还可作出种种的等效修改和等效替换,之下等效的修改和替换都在本发明的专利保护范围内。The present invention is described above with a preferred embodiment, which is only used to help understand the implementation of the present invention, and is not intended to limit the spirit of the present invention, and those familiar with the technical field will not depart from the present invention after comprehending the spirit of the present invention. Within the scope of the spirit, various equivalent modifications and equivalent replacements can also be made, and the following equivalent modifications and replacements are all within the scope of patent protection of the present invention.

Claims (18)

1. multichannel memory management system requires and with the mode accessing storage devices of parallel processing, it is characterized in that described multichannel memory management system comprises at least in order to responding system:
Several memory channels, the staggered described memory storage of addressing is also formed independently data access storehouse with the independent data bus, and described memory channel provides the access path in the staggered addressing district of the described memory storage of independent access by described system requirements;
Require dispatching device, it sends described system requirements simultaneously to described memory channel in response to described system requirements; And
Read and require register, it and the described dispatching device that requires are coupled, when described system requirements from described memory channel during sense data, the described original order that requires the described system requirements of recorder trace of reading is beneficial to described memory channel described data is passed back to respond described system requirements by described original order.
2. multichannel memory management system as claimed in claim 1, it is characterized in that, also comprise a plurality of in described memory channel and the described channel queue that requires between the dispatching device, in order to wait the described system requirements that requires dispatching device to be issued to described memory channel by described.
3. multichannel memory management system as claimed in claim 1, it is characterized in that, also comprise and the described sense data collator that requires register and described memory channel to be coupled of reading, in order to wait and to sort from the described data that described memory channel sent according to described original order.
4. multichannel memory management system as claimed in claim 3 is characterized in that, also comprises a plurality of starter gears that require, in order to send described system requirements to the described dispatching device that requires.
5. multichannel memory management system as claimed in claim 4 is characterized in that, described reading requires register to write down the original order that described system requires by the identification number that produces corresponding described system requirement.
6. multichannel memory management system as claimed in claim 5 is characterized in that, described sense data collator sorts and described data are sent to the described starter gear that requires described data according to described identification number.
7. multichannel memory management system as claimed in claim 1 is characterized in that, also comprises system driver, determines the memory capacity in described staggered addressing district to utilize programmable method.
8. multichannel memory management system as claimed in claim 1, it is characterized in that, the described starter gear that requires produces the linear address of described system requirements corresponding to physical storage areas in the described memory storage, describedly require dispatching device then to receive and the described linear address of decoding, to produce channel address and then to send described system requirements to described memory channel.
9. multichannel memory management system requires and with the mode accessing storage devices of parallel processing, it is characterized in that described multichannel memory management system comprises at least in order to responding system:
Several require starter gear, in order to produce described system requirements;
Several memory channels, the staggered described memory storage of addressing is also formed independently data access storehouse with the independent data bus, and described memory channel provides the access path in the staggered addressing district of the described memory storage of independent access by described system requirements;
Require dispatching device, send described system requirements simultaneously in response to described system requirements to described memory channel; And
Read and require register, form electric connection with the described dispatching device that requires, when described system requirements in described memory channel during sense data, the described original order that requires register to write down described system requirements by the mode of the identification number that produces corresponding described system requirements of reading, described reading requires register only to allow to read order described system requirements the earliest by being passed to described memory channel at every turn, and, can be sent to the described starter gear that requires according to described original order with these described data of guaranteeing the described system requirements of response passed back by described memory channel.
10. multichannel memory management system as claimed in claim 9, it is characterized in that, also comprise a plurality of in described memory channel and the described channel queue that requires between the dispatching device, in order to wait the described system requirements that requires dispatching device to be issued to described memory channel by described.
11. multichannel memory management system as claimed in claim 9 is characterized in that, also comprises system driver, determines the memory capacity in described staggered addressing district to utilize programmable method.
12. multichannel memory management system as claimed in claim 9, it is characterized in that, the described starter gear that requires produces described system requirements, linear address corresponding to physical storage areas in the described memory storage, describedly require dispatching device then to receive and the described linear address of decoding, to produce the passage address and then to send described system requirements to described memory channel.
13. a multichannel memory management system with the mode accessing storage devices of parallel processing, is characterized in that described multichannel memory management system comprises at least in order to the responding system requirement:
Several require starter gear, in order to produce described system requirements:
Several memory channels, the staggered described memory storage of addressing is also formed independently data access storehouse with the independent data bus, and described memory channel provides an access path in the staggered addressing district of the described memory storage of independent access in response to described system requirements:
Channel controller, it comprises:
Require dispatching device, send described system requirements simultaneously in response to described system requirements to described memory channel,
Read and require register, it and the described dispatching device that requires are coupled, when described system requirements in described memory channel during sense data, the described original order that requires the described system requirements of recorder trace of reading, and
The sense data collator, require register and described memory channel to be coupled with described reading, sort from the described data that described memory channel sent in order to wait and to comply with described original order, and described data are sent to the described starter gear that requires according to described original order.
14. multichannel memory management system as claim 13, it is characterized in that, also inclusion is a plurality of in described memory channel and the described channel queue that requires between the dispatching device, in order to wait the described system requirements that requires dispatching device to be issued to described memory channel by described.
15. the multichannel memory management system as claim 13 is characterized in that, the described original order that requires register to write down described system requirements by the identification number that produces corresponding described system requirements of reading.
16. the multichannel memory management system as claim 15 is characterized in that, described sense data collator sorts and described data is sent to the described starter gear that requires described data according to described identification number.
17. the multichannel memory management system as claim 13 is characterized in that, also comprises system driver, determines the memory capacity in described staggered addressing district to utilize programmable method.
18. multichannel memory management system as claim 13, it is characterized in that, the described starter gear that requires produces described system requirements, linear address corresponding to physical storage areas in the described memory storage, describedly require dispatching device then to receive and the described linear address of decoding, to produce channel address and then to send described system requirements to described memory channel.
CN 01111218 2001-03-09 2001-03-09 Multi-channel storage management system Expired - Fee Related CN1217342C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01111218 CN1217342C (en) 2001-03-09 2001-03-09 Multi-channel storage management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01111218 CN1217342C (en) 2001-03-09 2001-03-09 Multi-channel storage management system

Publications (2)

Publication Number Publication Date
CN1374662A CN1374662A (en) 2002-10-16
CN1217342C true CN1217342C (en) 2005-08-31

Family

ID=4659008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01111218 Expired - Fee Related CN1217342C (en) 2001-03-09 2001-03-09 Multi-channel storage management system

Country Status (1)

Country Link
CN (1) CN1217342C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100449481C (en) * 2007-06-29 2009-01-07 东南大学 Storage control circuit with multiple-passage instruction pre-fetching function
CN101383773B (en) * 2008-10-09 2011-08-17 中国科学院计算技术研究所 Apparatus for maintaining multichannel order rule and corresponding method
CN103246622B (en) * 2013-04-10 2015-12-02 华为技术有限公司 A kind of method of exented memory, memory node, host node and system
US10884662B2 (en) * 2018-08-06 2021-01-05 Silicon Motion, Inc. Method for performing storage control in a storage server, associated memory device and memory controller thereof, and associated storage server
CN114167258B (en) * 2021-11-29 2024-03-22 上海御渡半导体科技有限公司 Data storage and reading device and method of ATE test system

Also Published As

Publication number Publication date
CN1374662A (en) 2002-10-16

Similar Documents

Publication Publication Date Title
EP1540485B1 (en) Out of order dram sequencer
US7103710B2 (en) Disk array controller with connection path formed on connection request queue basis
US5341351A (en) Method and means for optimally accessing data residing on dual actuator DASDs
US5878280A (en) Data buffering system for plural data memory arrays
US6098149A (en) Method and apparatus for extending commands in a cached disk array
US7707384B1 (en) System and method for re-ordering memory references for access to memory
JP2012529103A (en) Method and system for controlling host memory access by a memory device
JP2012128644A (en) Memory system
CN1217342C (en) Multi-channel storage management system
US6836831B2 (en) Independent sequencers in a DRAM control structure
US7865632B2 (en) Memory allocation and access method and device using the same
US6490636B1 (en) Data processing system for improved input/output command processing
US12498873B2 (en) System and methods for DRAM-less garbage collection with improved performance
CN118796275A (en) Processing result writing back method and system
CN1828765A (en) Buffer assembly for memory module, memory module and memory system
US6889295B2 (en) Re-ordering requests for shared resources
US6392935B1 (en) Maximum bandwidth/minimum latency SDRAM interface
US20060041690A1 (en) Software communication between MPEG layer and servo layer
US5822766A (en) Main memory interface for high speed data transfer
US7437489B2 (en) Data packet queue handling method and system
CN118484286B (en) Method and device for reading memory data, electronic equipment and readable storage medium
KR100523057B1 (en) Method for maximizing input output performance of a disk array by block split and multiple command pending
KR20240088614A (en) Arbiter for storage and its operating method
TW482957B (en) Multiple channel memory management system
JPH0830399A (en) Data transmission system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050831