A storage control system in a computer system

Abstract: A storage control system in a computer system (3) having at least a main storage unit (MSU,1) and a memory control unit (MCU2), the storage control system comprising: two memory areas (11,12) provided in the main storage unit (1), each of the two memory areas storing the same information; and a double-writing device (21) provided in the memory control unit (12) for writing the same information to each of the two memory areas (11,12) by determining a state of a double-writing bit (D-bit) contained in an address order from a processor or a state of a storage configuration bit (F/S-bit) sent from the processor.

Description: The present invention relates to a storage control system ensuring the reliability of information stored in a computer system, more particularly, it relates to a storage control system having double memories, a plurality of clusters, and double global storage units to ensure a reliable and high speed processing of information in the computer system. In a conventional computer system having at least a main storage unit (MSU), a memory control unit (MCU) and processors (CPU's), and storing information from an external stage to the main storage unit, the same information is written to two different areas in the main storage unit, to ensure the reliability of the stored data and to guard against an accidental fault occurrence in the memory (i.e., double-writing). In this case, the information is first stored to one area in the main storage unit, and then the same information is stored to another area in the same main storage unit. Therefore, even if the first stored information is destroyed by an accidental fault, the second stored information is maintained in the other area, and thus the reliability of the information stored in the memory can be ensured. In the conventional computer system, however, the overall time necessary for storing the information to each of the memory areas in the main storage unit is doubled, and accordingly, this conventional method impedes a high speed processing in the computer system. A computer system constituted by a plurality of processors (i.e., a multiprocessor system) is known, wherein the plurality of processors is divided into a plurality of groups, each of which is called a "cluster", for a cluster control, and control of an access between processors is performed through each cluster and the global storage unit, for a high-speed processing of the information. Accordingly, the multiprocessor system is constituted by a plurality of clusters and the global storage unit, and each cluster comprises a local storage unit, a memory control unit and, for example, four processors operatively connected to the memory control unit. In the multiprocessor system, double-writing of the information in the memory must be used to ensure the reliability of the stored information. Nevertheless, it is impossible to ensure both a high reliability and a high-speed processing of the information in the conventional computer system. JP-A-56 058 200 by NEC Corp. discloses a storage control system in accordance with the preamble of accompanying claim 1. JP-A-59 003 576 by the present applicant discloses a multiprocessor system composed of a plurality of multiunit systems, each with individual memories and respective central control units, and a common memory and spare memory both connected in common to all the central control units of the multiunit systems. The spare memory is used to overcome a fault arising in the individual memories of the multiunit systems. According to the present invention, there is provided a storage control system in a computer system having at least one processor, a main storage unit, and a memory control unit, said storage control system comprising:- access means, operatively connected to the processor and the main storage unit, for accessing two memory areas provided in said main storage unit, each of said two memory areas being capable of storing identical information; and double-writing means, provided in said memory control unit and operatively connected to the processor and said access means, and operable to write the identical information to each of said two memory areas using said access means, by determining a state of at least a double-writing bit contained in an address order from the processor, a state of "1" of said D-bit representing a double-writing mode to write the identical information to each of said two memory areas; characterised in that said D-bit is used for a non-privileged mode, a state of "0" of said D-bit representing a normal writing mode to write information to only one of said two memory areas; and in that said double-writing means is also operable to determine the state of storage configuration bits stored in the memory control unit, said storage configuration bits being used for a privileged mode and having four possible states in accordance with four permutations of an F-bit and an S-bit for indicating the double-writing mode. An embodiment of the present invention may provide a storage control system in a computer system enabling high-speed storage of the same write data to each of two areas in a main storage unit, to ensure the reliability of the information. Thus, the present invention employs both a D-bit and F/S-bits. The D-bit is used for a non-privileged mode and takes two states; a state of "0" representing a normal writing mode for writing the information to one of the two memory areas, and the state of "1" representing a double-writing mode for writing the same information to each of the two memory areas. The F/S-bits are used for a privileged mode and take four states in accordance with four permutations of the F-bit and the S-bit. Reference is made, by way of example, to the accompanying drawings, in which:- Fig. 1 shows a basic structure of a storage control system according to the present invention; Fig. 2 is a schematic block diagram of a multiprocessor system according to an embodiment of the present invention; Fig. 3 is a flowchart of a double-writing process according to an embodiment of the present invention; and Fig. 4 is a schematic block diagram of a memory control unit according to an embodiment of the present invention. Fig. 1 shows a basic structure of a storage control system according to the present invention. In Fig. 1, reference number 1 represents a main storage unit (MSU) having two memory areas 11 and 12, 2 a memory control unit (MCU) having a double-writing device 21, and 3 a computer system including these units. The memory control unit 2 controls the reception of information IFM from the external stage to the double-writing device 21. The double-writing device 21 is provided for simultaneously storing the same information IFM to the two different areas 11, 12 in the main storage unit 1. According to the present invention, since the same information can be written to two different areas in the main storage unit, it is possible to reduce the writing time and ensure the reliability and a high speed processing of the information in the computer system. Figure 2 is a schematic block diagram of a multiprocessor system according to an embodiment of the present invention. In Fig. 2, the multiprocessor system is constituted by sixty-four processors, which are divided into sixteen clusters each having four processors CPU0 to CPU3. Each cluster comprises four processors CPU0 to CPU3, a local storage unit LSU, and a memory control unit MCU, and is connected in common to two global storage units GLU0 and GSU1 through bus lines BUS. The global storage unit includes the memory area corresponding to the main storage unit shown in Fig. 1. The local storage unit LSU comprises a DAT (Dynamic Address Translator) table for an address conversion. The DAT-table is used for converting a virtual address to a real address complying with each global storage unit GSU0 to GSU1. Further, the memory control unit MCU comprises a double-writing device DWD for simultaneously storing the same information to each of the global storage units GSU0 and GSU1 in response to an order from the processors CPU0 to CPU3. The double-writing device DWD does not always store the information to two global storage units GSU0 and GSU1; i.e., in a non-privileged mode and in a cluster executed by using a virtual address, the transfer of information between the global storage unit GSU and the DAT table belonging to that cluster can be controlled in accordance with a state of a D-bit, and accordingly, the D-bit represents a double-writing mode. For example, when the D-bit is "0", one global storage unit (for example, GSU0) is accessed, and when the D-bit is "1", two global storage units GSU0 and GSU1 are accessed simultaneously. In a privileged mode, an operation is executed by an access order using the real address. In this case the DAT table is not used and the transfer for the writing is controlled in accordance with the state of two kinds of storage configuration bits (F/S-bits; first and second bits) generated from the processor, as shown by a following F/S table. F/S table F-bit S-bit control of writing 1 1 write to both GSU0 and GSU1 1 0 write to only GSU0 0 1 write to only GSU1 3 0 exception of address designation The term "exception of address designation" means that no area to be accessed can be found. Figure 3 is a flowchart explaining an operation of the storage control system according to an embodiment of the present invention. In Fig. 3, when the processor CPU detects an order (step 1), the processor CPU determines whether or not the order designates the real address of the global storage unit GSU (step 2). When the order designates the real address (YES), the processor CPU sends the order to the memory control unit MCU without referring the DAT table. The memory control unit MCU then determines whether or not the order is a double-writing order by referring to the command of the order (step 3). When the order is not a double-writing order (NO), the memory control unit MCU executes a normal writing (step 4), and when the order is a double-writing order (YES), the memory control unit MCU sends a request for a double-writing to the double-writing device DWD by referring to the F/S table (step 5). Further, when the order does not designate the real address, as shown by "NO" in step 2, the processor CPU refers to the DAT table and the designation of the address is converted to the real address of the GSU0 (step 6). The memory control unit MCU determines the state of the D-bit designating the double-writing (step 7), and when the D-bit does not rise, the memory control unit MCU executes a normal writing (step 8). When the D-bit rises, the memory control unit sends a request for a double-writing to the double-writing device (step 9). In this case, when the double-writing device receives the double-writing request from the memory control unit, it automatically generates the double-writing address for one global storage unit corresponding to the writing address for the other global storage unit designated, and simultaneously, transfers the writing request to both global storage units. Therefor, according to the present invention, it is possible to store the information to be written to two global storage units based on a one-time writing operation, and thus it is possible to achieve a high speed processing of the information and to ensure the reliability of the stored information. Figure 4 is a schematic block diagram of the memory control unit according to an embodiment of the present invention. In Fig. 4, address translators ADR0 to ADR3 are provided at corresponding processors CPU0 to CPU3, and each of the memories MEM0 and MEM1 is included in corresponding global storage unit GSU0 or GSU1. Namely, for example, the memory MEM0 is included in the global storage unit GSU0 and the memory MEM1 is included in the global storage unit GSU1, respectively. The memory control unit comprises a priority circuit PRT, selectors SEL1 and SEL2, an address modification circuit AMC, a data buffer DBF, a multiplexer MPX, and an F/S-bit table. The double-writing device according to the present invention corresponds to the address modification circuit AMC and the F/S-bit table. In this structure, for example, the order from the processor CPU1 is input to the address translator ADR1, and when the order designates the real address, it is sent to the priority circuit PRT without a conversion of the address. When the order designates the virtual address, the virtual address is converted to the real address by referring to the DAT table. The priority circuit PRT determines the priority for the orders input from each of address translators ADR0 to ADR3, and the order selected by the priority circuit PRT is sent to the address modification circuit AMC and the first selector SEL1. The address modification circuit AMC determines whether or not the D-bit is high ("1"), to detect the double-writing mode in the non-privileged mode. When the D-bit is low ("0"), the normal writing mode is executed for the memory through the multiplexer MPX. In this case, the data is transferred from the processor to the memory through the selector SEL1, the data buffer DBF, and the multiplexer MPX. When the D-bit is high, the double-writing is executed to two areas of the memory. In the privileged mode, the address modification circuit AMC determination is based on the state of the F/S-bit. Namely, as shown by the F/S table, the data is written to the GSU0 and/or GSU1 in accordance with the F/S table, through the multiplexer MPX. The F/S-bit is determined by the processor selected by the priority circuit PRT through the selector SEL3. The selector SEL2 is provided for reading the data from the memory MEM0 or MEM1 to the processor.

Claims: A storage control system in a computer system having at least one processor (CPU; CPU0, CPU1, ...), a main storage unit (MSU), and a memory control unit (MCU), said storage control system comprising:- access means, operatively connected to the processor and the main storage unit, for accessing two memory areas (GSU0, GSU1; MEM0, MEM1) provided in said main storage unit, each of said two memory areas being capable of storing identical information; and double-writing means, provided in said memory control unit (MCU) and operatively connected to the processor and said access means, and operable to write the identical information to each of said two memory areas using said access means, by determining a state of at least a double-writing bit (D-bit) contained in an address order from the processor, a state of "1" of said D-bit representing a double-writing mode to write the identical information to each of said two memory areas; characterised in that said D-bit is used for a non-privileged mode, a state of "0" of said D-bit representing a normal writing mode to write information to only one of said two memory areas (GSU0, GSU1); and in that said double-writing means is also operable to determine the state of storage configuration bits (F-bit, S-bit) stored in the memory control unit, said storage configuration bits being used for a privileged mode and having four possible states in accordance with four permutations of an F-bit and an S-bit for indicating the double-writing mode. A storage control system according to claim 1, applied to a multiprocessor system having a plurality of processors (CPU0, CPU1, ...) divided into a plurality of clusters (CLUSTER 0, CLUSTER 1, ...) and having two global storage units (GSU0, GSU1) each providing a respective one of said two memory areas; wherein each said cluster is provided with a local storage unit (LSU), a respective said access means and a respective said memory control unit (MCU). A storage control system according to claim 2, further comprising a dynamic address translator in each said local storage unit (LSU) and operatively connected to said double-writing means for converting a virtual address to a real address. A storage control system according to claim 2 or 3, further comprising:- an F/S-bit table in each said memory control unit (MCU), operatively connected to the processors in the corresponding cluster (e.g. CPU0 to CPU3) and selected by one of the processors; and an address modification circuit (AMC) in each said memory control unit (MCU), operatively connected to said F/S-bit table and the global storage units (GSUO, GSU1), for determining either the normal writing mode or the double-writing mode based on the state of the D-bit in the non-privileged mode and based on the storage configuration bits in the privileged mode. A storage control system according to claim 1 or 2, wherein address means (e.g. ADR0 to ADR3) are operatively connected to the or each processor (e.g. CPU0 to CPU3), for receiving a first write address for data received from the processor; and wherein the or each processor is operable to provide control data including an indication of whether the non-privileged access mode is used and a storage configuration signal indicating areas of the main storage to be written to in the privileged mode, said double-write means including an address modification circuit (AMC) for generating a second write address in the main storage unit in dependence upon the first write address received by said address means, when the double-write signal indicates that the identical data is to be written to the more than one area in the main storage unit (MSU). A storage control system according to claim 5:- wherein the or each said memory control unit (MCU) further comprises a storage configuration table, operatively connected to the or each processor for determining the areas of the main storage unit (MSU) indicated by the storage configuration signal; and wherein said address modification circuit (AMC) generates the second write address in the privileged mode in dependence upon the areas of the main storage unit determined by said storage configuration table. A storage control system according to claim 6, further comprising:- a data buffer (DBF) for receiving the data from the or each processor (e.g. CPU0 to CPU3); and means (MPX) for supplying the data from said data buffer to the areas of the main storage unit (MSU) under control of said address modification circuit (AMC).

Inventors: IKEDA MASAYUKI, UEDA KOICHI, IKEDA, MASAYUKI, UEDA, KOICHI, IKEDA, MASAYUKI ESHIIRU NAKAHARA 404, 629-12, UEDA, KOICHI MIZONOKUCHI HAUSU 106, 618-1
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1988
Main classification: G06F11
IPC codes: G06F12, G06F11, G11C29