CN107003808B - The configuration method and memory system of memory system with optical interface - Google Patents

The configuration method and memory system of memory system with optical interface Download PDF

Info

Publication number
CN107003808B
CN107003808B CN201480083604.5A CN201480083604A CN107003808B CN 107003808 B CN107003808 B CN 107003808B CN 201480083604 A CN201480083604 A CN 201480083604A CN 107003808 B CN107003808 B CN 107003808B
Authority
CN
China
Prior art keywords
optical interface
memory device
memory
signal wavelength
chip selection
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.)
Active
Application number
CN201480083604.5A
Other languages
Chinese (zh)
Other versions
CN107003808A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107003808A publication Critical patent/CN107003808A/en
Application granted granted Critical
Publication of CN107003808B publication Critical patent/CN107003808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Optical Communication System (AREA)

Abstract

The embodiment of the invention discloses a kind of configuration methods of memory system with optical interface, comprising: obtains the locality parameter of access of the application to the memory system with optical interface;According to locality parameter, determine access of the application to the memory system with optical interface, it is responded by the first memory device with optical interface and the second memory device sync response with optical interface, or by one of the first memory device with optical interface, the second memory device with optical interface;The first configuration message is sent to the first memory device with optical interface, sends the second configuration message to the second memory device with optical interface.The configuration method enables the characteristic with access of the memory system of optical interface according to application, reasonably configures its resource.

Description

The configuration method and memory system of memory system with optical interface
Technical field
The embodiment of the present invention is related to computer field more particularly to a kind of configuration side of the memory system with optical interface Method, configuration equipment, Memory Controller Hub and memory system.
Background technique
Memory system in computer is mainly by Memory Controller Hub (Memory Controller) and memory device (Memory Device) is constituted, and often there are multiple Memory Controller Hub, also referred to as multichannel memory system in existing memory system It unites, generally comprises multiple memory devices in the main memory access where each Memory Controller Hub.Wherein memory device is mainly responsible for number According to interim storage, most common memory device be dynamic randon access memory access (Dynamic Random Access Memory, DRAM).Memory Controller Hub is generally integrated in inside the north bridge chips of mainboard, be mainly used for management processor with it is interior The data dispatch between equipment is deposited, the read-write including the memory access request reasonable arrangement that issues according to processor to memory device Operation, and refresh memory device etc. at regular intervals, Memory Controller Hub as the bridge between processor and memory device, Its function includes that the physical address map for issuing processor is memory device address, and in the memory device address is sent to Equipment is deposited, so that memory device appropriate action.
Information exchange between Memory Controller Hub and memory device mainly passes through bus (Bus) completion, and bus includes data Bus (Data Bus), address bus (Address Bus) and control bus (Control Bus), Memory Controller Hub passes through number Write data into memory device according to bus or read data from memory device, memory address is sent to by address bus in Equipment is deposited, selects to act in a certain memory device in its main memory access by control bus, and by control command, such as reads behaviour Work, write operation or refresh operation, are sent to the memory device.
In existing memory system, the bus between Memory Controller Hub and memory device once designs completion, each memory The number of memory device in channel is also fixed therewith, the control between Memory Controller Hub and memory device in a main memory access Relationship processed is also fixed therewith.However, different application also has different characteristics the access of memory system, existing memory system without Method is directed to application to the access feature of memory system, carries out reasonable disposition to the resource in memory system.
Summary of the invention
The present invention is proposed for the above-mentioned prior art, can solve memory system in prior art using the present invention Reasonable disposition can not be carried out to the resource in memory system for the problem that application is to the access feature of memory system.
The first aspect of the embodiment of the present invention provides, a kind of configuration method of the memory system with optical interface, described Memory system with optical interface includes: the memory device with optical interface of Memory Controller Hub with optical interface, first and the Two memory devices with optical interface, the Memory Controller Hub with optical interface pass through optical signal transmission channel, with described the One memory device with optical interface and the described second memory device with optical interface communicate;
The configuration method includes:
Obtain the locality parameter of access of the application to the memory system with optical interface;
According to the locality parameter, access of the application to the memory system with optical interface is determined, by institute The first memory device and the described second memory device sync response with optical interface with optical interface is stated, or by described first The response of one of memory device, the described second memory device with optical interface with optical interface;
The first configuration message is sent to the described first memory device with optical interface, Xiang Suoshu second has optical interface Memory device sends the second configuration message, and the first configuration message includes the piece of the described first memory device with optical interface Signal wavelength is selected, the second configuration message includes the chip selection signal wavelength of the described second memory device with optical interface, to The Memory Controller Hub with optical interface sends the first configuration message and the second configuration message;
It determines access of the application to the memory system with optical interface, is had in optical interface by described first In the case where depositing equipment and the described second memory device sync response with optical interface: the described first memory with optical interface The chip selection signal wavelength of equipment is identical with the chip selection signal wavelength of the described second memory device with optical interface, i.e., and first Select signal wavelength;Or
It determines access of the application to the memory system with optical interface, is had in optical interface by described first In the case where depositing the response of one of equipment, described second memory device with optical interface: the described first memory with optical interface The chip selection signal wavelength of equipment is the second chip selection signal wavelength, the chip selection signal wave of the described second memory device with optical interface A length of third chip selection signal wavelength, the second chip selection signal wavelength are different with the third chip selection signal wavelength.
With reference to first aspect, described according to the locality parameter in the first implementation of first aspect, it determines Access of the application to the memory system with optical interface, by described first with the memory device of optical interface and described The second memory device sync response with optical interface;Or by the described first memory device, second tool with optical interface There is the response of one of memory device of optical interface to specifically include:
The locality parameter is determined not less than preset threshold value, then the application is to the memory system with optical interface The access of system has the synchronous sound of the memory device of optical interface with described second by the described first memory device with optical interface It answers;Or determining that the locality parameter is less than preset threshold value, then the application is to the memory system with optical interface Access is responded by one of the described first memory device with optical interface, the described second memory device with optical interface.
With reference to first aspect or the first implementation of first aspect, in second of implementation of first aspect, The first configuration message further includes the data signal wavelength of the described first memory device with optical interface, second configuration Message includes the data signal wavelength of the described second memory device with optical interface;
It determines access of the application to the memory system with optical interface, is had in optical interface by described first In the case where depositing equipment and the described second memory device sync response with optical interface: the described first memory with optical interface The data signal wavelength of equipment is the first data signal wavelength, the data-signal wave of the described second memory device with optical interface A length of second data signal wavelength, first data signal wavelength is different with second data signal wavelength, so that described First memory device with optical interface passes through first data signal wavelength, the described second memory device with optical interface By second data signal wavelength, using the number of the access to the memory system with optical interface described in synchronous transfer It is believed that number;
It determines access of the application to the memory system with optical interface, is had in optical interface by described first In the case where depositing the response of one of equipment, described second memory device with optical interface: the described first memory with optical interface The data signal wavelength of equipment is identical with the data signal wavelength of the described second memory device with optical interface, i.e. third number According to signal wavelength, so that the described first memory device with optical interface or the described second memory device with optical interface are logical The third data signal wavelength is crossed, the data letter of access of the application to the memory system with optical interface is transmitted Number.
Second of implementation with reference to first aspect, in the third implementation of first aspect, first number According to the wavelength width of signal wavelength and the sum of the wavelength width of second data signal wavelength, it is equal to the third data-signal The wavelength width of wavelength.
It should be noted that the configuration method in each implementation of first aspect and first aspect, actually may be used With apply to include multiple memory devices with optical interface the memory system with optical interface, such as: with optical interface Memory system includes the n memory devices with optical interface, then obtains using the visit to the memory system with optical interface After the locality parameter asked, 2 in the n memory devices with optical interface can be chosen according to the locality parameterm A memory device with optical interface, to respond access of the application to the memory system with optical interface.Selection institute State 2mConfiguration method after a memory device with optical interface is referred to each of aforementioned first aspect and first aspect Configuration method in implementation, such as: determine that the application has in optical interface to described according to the locality parameter The access of deposit system, by described 2mA memory device sync response with optical interface, or by described 2mIt is a with optical interface Some response in memory device, details are not described herein.
The second aspect of the embodiment of the present invention provides a kind of configuration equipment of memory system with optical interface, the tool The memory system for having optical interface includes: Memory Controller Hub, the first memory device and second with optical interface with optical interface Memory device with optical interface, the Memory Controller Hub with optical interface is by optical signal transmission channel, with described first Memory device and the described second memory device with optical interface with optical interface communicate, and the configuration equipment has with described The Memory Controller Hub of optical interface, described first memory device, the described second memory device with optical interface with optical interface Establish communication connection;
The configuration equipment includes:
Selecting module, for obtaining the locality parameter using the access to the memory system with optical interface;Root According to the locality parameter, determines access of the application to the memory system with optical interface, had by described first The memory device of optical interface and the described second memory device sync response with optical interface, or there is optical interface by described first Memory device, described second one of memory device response with optical interface;
Configuration module, for sending the first configuration message, Xiang Suoshu the to the described first memory device with optical interface Two memory devices with optical interface send the second configuration message, and the first configuration message includes described first with optical interface Memory device chip selection signal wavelength, it is described second configuration message include described second with optical interface memory device piece Signal wavelength is selected, the first configuration message is sent to the Memory Controller Hub with optical interface and second configuration disappears Breath;It is also used to determine access of the application to the memory system with optical interface, there is optical interface by described first In the case where memory device and the described second memory device sync response with optical interface: described first is interior with optical interface The chip selection signal wavelength for depositing equipment is identical with the chip selection signal wavelength of the described second memory device with optical interface, i.e., and first Chip selection signal wavelength;Or determine access of the application to the memory system with optical interface, there is light by described first In the case that one of the memory device of interface, described second memory device with optical interface respond: described first connects with light The chip selection signal wavelength of the memory device of mouth is the second chip selection signal wavelength, the piece of the described second memory device with optical interface Selecting signal wavelength is third chip selection signal wavelength, and the second chip selection signal wavelength is different with the third chip selection signal wavelength.
In conjunction with second aspect, in the first implementation of second aspect, the configuration module is according to the locality Parameter determines access of the application to the memory system with optical interface, by the described first memory with optical interface Equipment and the described second memory device sync response with optical interface;Or by described first with optical interface memory device, The response of one of described second memory device with optical interface specifically includes:
The locality parameter is determined not less than preset threshold value, then the application is to the memory system with optical interface The access of system has the synchronous sound of the memory device of optical interface with described second by the described first memory device with optical interface It answers;Or determining that the locality parameter is less than preset threshold value, then the application is to the memory system with optical interface Access is responded by one of the described first memory device with optical interface, the described second memory device with optical interface.
In conjunction with the first of second aspect or second aspect implementation, in second of implementation of second aspect, The first configuration message further includes the data signal wavelength of the described first memory device with optical interface, second configuration Message includes the data signal wavelength of the described second memory device with optical interface;
It determines access of the application to the memory system with optical interface, is had in optical interface by described first In the case where depositing equipment and the described second memory device sync response with optical interface: the described first memory with optical interface The data signal wavelength of equipment is the first data signal wavelength, the data-signal wave of the described second memory device with optical interface A length of second data signal wavelength, first data signal wavelength is different with second data signal wavelength, so that described First memory device with optical interface passes through first data signal wavelength, the described second memory device with optical interface By second data signal wavelength, using the number of the access to the memory system with optical interface described in synchronous transfer It is believed that number;
It determines access of the application to the memory system with optical interface, is had in optical interface by described first In the case where depositing the response of one of equipment, described second memory device with optical interface: the described first memory with optical interface The data signal wavelength of equipment is identical with the data signal wavelength of the described second memory device with optical interface, i.e. third number According to signal wavelength, so that the described first memory device with optical interface or the described second memory device with optical interface are logical The third data signal wavelength is crossed, the data letter of access of the application to the memory system with optical interface is transmitted Number.
In conjunction with second of implementation of second aspect, in the third implementation of second aspect, first number According to the wavelength width of signal wavelength and the sum of the wavelength width of second data signal wavelength, it is equal to the third data-signal The wavelength width of wavelength.
It should be noted that the configuration equipment in each implementation of second aspect and second aspect, actually may be used With apply to include multiple memory devices with optical interface the memory system with optical interface, such as: with optical interface Memory system includes the memory devices of n with optical interface, then the selecting module obtains application to described with optical interface After the locality parameter of the access of memory system, the n can be chosen according to the locality parameter has in optical interface Deposit 2 in equipmentmA memory device with optical interface, to respond the application to the memory system with optical interface Access.The selecting module selection described 2mAfter a memory device with optical interface, the function of the configuration module, Ke Yican According to the function of the configuration module in each implementation of aforementioned second aspect and second aspect, such as: according to the part Property parameter determines access of the application to the memory system with optical interface, by described 2mA memory with optical interface Equipment sync response, or by described 2mSome response in a memory device with optical interface, details are not described herein.
The third aspect of the embodiment of the present invention provides a kind of Memory Controller Hub with optical interface, described to have optical interface Memory Controller Hub by optical signal transmission channel, with the first memory device and second with optical interface in optical interface Deposit equipment communication;
The Memory Controller Hub with optical interface includes:
Address mapping module, for receiving the physical address using the access to the memory system with optical interface, It is also used to receive configuration message, the configuration message includes the chip selection signal wave of the described first memory device with optical interface The chip selection signal wavelength of long, described second memory device with optical interface and the described first memory with optical interface are set Standby and the described second memory device with optical interface address signal wavelength;
It is also used to judge the chip selection signal wavelength of the described first memory device with optical interface, there is light with described second Whether the chip selection signal wavelength of the memory device of interface is identical;If identical, there is optical interface to described from the application received Memory system access physical address in parse the first row address, the first column address, and generate the first chip selection signal;Such as Fruit is not identical, the second row address, the second column address, memory device number is parsed from the physical address, and according to described interior It deposits device number and generates the second chip selection signal, third chip selection signal;Be also used to by first row address, first column address and First chip selection signal or second row address, second column address, second chip selection signal and third piece choosing letter Number it is sent to photoelectric conversion module;
The photoelectric conversion module, for by first row address received, first column address or described Two row addresses, second column address are converted to the light wave with the address signal wavelength and send;
The first chip selection signal for being also used to receive is converted to the described first memory device with optical interface The light wave of chip selection signal wavelength is simultaneously sent;Or the second chip selection signal that will be received, being converted to has with described first The light wave of the chip selection signal wavelength of the memory device of optical interface is simultaneously sent, and the third chip selection signal that will be received is converted to The light wave of the chip selection signal wavelength of memory device with described second with optical interface is simultaneously sent;First choosing letter Number instruction: the described first memory device with optical interface, described second have described in the memory device sync response of optical interface Using the access to the memory system with optical interface;Second chip selection signal, third chip selection signal instruction: institute It states the first memory device with optical interface or the described second memory device with optical interface responds the application to the tool There is the access of the memory system of optical interface.
In conjunction with the third aspect, in the first implementation of the third aspect, the digit of first column address, than described The digit Gao Yiwei of second column address, so that the described first memory device with optical interface, described second are with optical interface It is connect with described first with light described in memory device sync response using when the access to the memory system with optical interface Mouthful memory device or the described second memory device sync response with optical interface described in using to described there is optical interface When the access of memory system, the data width for reading and writing data is identical.
The fourth aspect of the embodiment of the present invention provides a kind of memory system with optical interface, including as the present invention is implemented Second of the first or second aspect of the second aspect or second aspect of example or second aspect the third or second Configuration equipment described in 4th kind of implementation of aspect, as inventive embodiments the third aspect or the third aspect first Memory Controller Hub with optical interface described in kind implementation, the first memory device and the second tool with optical interface There is the memory device of optical interface;
The configuration equipment is set with the Memory Controller Hub with optical interface, the described first memory with optical interface Standby, described second memory device with optical interface establishes communication connection, and the Memory Controller Hub with optical interface passes through light Signal transmission passage is logical with the described first memory device with optical interface and the described second memory device with optical interface Letter.
Memory system is selected according to application to the locality parameter of the access of memory system by examples provided above It unites to the response method of the application, and Memory Controller Hub in memory system and memory device is configured according to the response method All kinds of operation wavelengths, so that memory system can handle access of the application to memory system according to the response method of selection, The characteristic of the access according to application is realized, the resource of memory system is reasonably configured.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to make simply to introduce, it is clear that, drawings in the following description are some embodiments of the invention, For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings Other attached drawings.
Fig. 1 is the composed structure schematic diagram of the memory system provided by present system embodiment with optical interface;
Fig. 2 is the process signal of the configuration method of the memory system provided by embodiment of the present invention method with optical interface Figure;
Fig. 3 is the composed structure schematic diagram of configuration equipment provided by present device embodiment one;
Fig. 4 is the composed structure signal of the Memory Controller Hub provided by present device embodiment two with optical interface Figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Term " memory device with optical interface " in this specification refers generally in calculator memory system for interim The storage equipment of data is stored, and passes through optical waveguide (Optical between the storage equipment and Memory Controller Hub Waveguide information exchange) is carried out.The storage medium of memory device in the memory device with optical interface include DRAM, Phase change memory (Phase Change Memory, PCM), resistive memory (Resistive Random Access Memory, RRAM).It should be noted that the first memory device with optical interface or second in each embodiment of this specification connect with light The memory device of mouth can be any one in calculator memory system memory device with optical interface, and title is not constituted It limits.
Term " Memory Controller Hub with optical interface " in this specification refers generally in calculator memory system, receiving area The memory access request that device issues, the equipment that row control is internally deposited into according to the memory access request are managed, and there is light to connect for this Information exchange is carried out by optical waveguide between the Memory Controller Hub and memory device of mouth.
One or more execution data processing that term " processor " in this specification refers generally to processor chips is appointed The processing unit of business, it is also possible to a kind of IC chip of the processing capacity with signal, such as general processor, number Signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) Deng.
All kinds of " signal wavelengths " in this specification, such as chip selection signal wavelength, data signal wavelength, reference connect with light The wavelength of the light wave of various types of signal is carried between the Memory Controller Hub of mouth and the memory device with optical interface, for example, piece choosing letter What is carried in number wavelength is the selection signal of memory device.Meanwhile all kinds of " signal wavelengths " in this specification, in practice also It can be the other parameters such as signal frequency, belong to protection model of the invention for configuring the parameter of light wave of carrying various types of signal It encloses.
Term " optical waveguide " in this specification refers generally to transmission medium namely the optical signal transmission channel of wave travels, It is usually used in optic integrated circuit, or is used for optical communication system as transmission medium, the type of common optical waveguide has optical fiber (Optical Fiber), rectangular waveguide (Rectangular Waveguides) etc..
Term " locality parameter " in this specification refers to the temporal locality of access of the application to memory system The parameter of (Temporal Locality) or spatial locality (Spatial Locality), are specifically as follows cache miss Rate (Cache Miss Rate), row cache hit rate (Rowbuffer hit rate) or row cache weight utilization rate (row caching one Read-write number in secondary opening procedure) etc..
The optical interface memory system framework of the embodiment of the present invention
Fig. 1 describes the schematic diagram of the memory system framework provided by the embodiment of the present invention with optical interface, for convenience It describes, the memory system with optical interface in Fig. 1 includes the Memory Controller Hub 202 with optical interface, in optical interface Equipment 204,206 and configuration equipment 216 are deposited, the memory system with optical interface in practice there may be optical interface by multiple Memory Controller Hub and memory device with optical interface constitute.
The memory access request that configuration equipment 216 is sent in executing application process for analysis processor, and to the tool There is the operation wavelength of each equipment in the memory system of optical interface to be designed, and configuration result is encapsulated as configuration message hair It send to each equipment.
It is multiple by wavelength-division between Memory Controller Hub 202 with optical interface and the memory device with optical interface 204,206 It is communicated with (Wavelength Division Multiplexing, WDM) light source, it is different that WDM light source issues a series of wavelength Light wave, the light wave by optical waveguide are transmitted to Memory Controller Hub 202 with optical interface and with the memory devices of optical interface 204,206.Memory Controller Hub 202 with optical interface and the memory device with optical interface 204,206 are each equipped with modulator And demodulator, and the various types of signal for being needed to transmit is coupled to the light wave different in all kinds of wavelength by modulator, is sent to Behind receiving end, receiving end is decoupled the information carried in light wave by demodulator.In general, the light wave of different wave length carries difference Information, for example, the wavelength type of light wave that WDM light source issues has 10 kinds, respectively λ1、λ2......λ10, then λ therein1Extremely λ2Can be used for that there is the Memory Controller Hub 202 of optical interface to transmit chip selection signal to the memory device 204,206 with optical interface, λ3To λ10Swapping data for the Memory Controller Hub 202 with optical interface and the memory device with optical interface 204,206 Signal.The memory device 204 with optical interface, 206 directions, and tool are directed toward by the Memory Controller Hub 202 with optical interface in Fig. 1 There is the memory device 204,206 of optical interface to be directed toward the optical waveguide arrow with 202 direction of Memory Controller Hub of optical interface, instruction The data flow that the wavelength transmitted in optical waveguide carries, such as chip selection signal are flowed to by the Memory Controller Hub 202 with optical interface Memory device 204,206 with optical interface, in this specification, the class for the signal that the light wave of each wavelength carries in optical waveguide The flow direction of type and signal can configure.
Memory Controller Hub 202 with optical interface is provided with processor interface 208, the Memory Controller Hub with optical interface 202 receive processor memory access requests for sending in executing application process by processor interface 208, and by internal storage access Request is converted to the operational order to memory device, and the memory device 204,206 with optical interface is sent to by optical waveguide;Tool There are the Memory Controller Hub 202 of optical interface and the memory device 204,206 with optical interface to be also respectively provided with configuration message interface 210,212 and 214, the configuration message sent to receive configuration equipment 216, and optical interface is had according to configuration message arrangement All kinds of operation wavelengths of Memory Controller Hub 202 and the memory device 204,206 with optical interface, such as chip selection signal wavelength, number According to signal wavelength etc..
Embodiment of the method
Embodiment of the present invention method provides a kind of configuration method of memory system with optical interface, which is applicable in In the memory system with optical interface as shown in Figure 1 comprising: the Memory Controller Hub 202, first with optical interface has light The memory device of interface, the i.e. memory device 204 with optical interface and the second memory device with optical interface, that is, have light The memory device 206 of interface, the Memory Controller Hub 202 with optical interface is by optical waveguide, with the memory device with optical interface 204 and memory device 206 with optical interface communicate, the flow diagram of the preparation method is as shown in Figure 2.
Step 402, configuration equipment 216 obtains the locality parameter of access of the application to the memory system with optical interface.
Specifically, the acquisition of the application to the locality parameter of the access of the memory system with optical interface, can pass through Analyze access of the application to memory system historical information obtain, for example, by analyze this apply it is right within certain a period of time The access history of memory system obtains this and applies the caching weight utilization rate within this time to the access of memory system, and will This caching weight utilization rate is as the locality parameter in step 402.
Step 404, it according to the locality parameter obtained in step 402, configures equipment 216 and determines application to optical interface Memory system access, by 206 sync response of the memory device 204 with optical interface and the memory device with optical interface, Or it is responded by one of the memory device 204 with optical interface, the memory device 206 with optical interface.
Specifically, being specifically included in step 404 to the use of locality parameter: determining locality parameter not less than preset Threshold value by the memory device 204 with optical interface and has optical interface then using the access to the memory system with optical interface 206 sync response of memory device, such as: if the application for the access of memory system caching weight utilization rate not less than pre- If threshold value, then illustrate that the line width of memory of the application for activating while memory system has larger demand, it is determined that by having There is the visit of the memory device 204 of optical interface and 206 sync response of the memory device application with optical interface for memory system It asks, i.e., when the memory device 204,206 with optical interface responds access of the application for memory system, synchronous activation is respective The row of corresponding memory;Or determine that locality parameter is less than preset threshold value, then using to the memory system with optical interface Access is responded by one of the memory device 204 with optical interface, the memory device 206 with optical interface, such as: if this is answered It is less than preset threshold value with the caching weight utilization rate of the access for memory system, then illustrates the application for the same of memory system When the demand of the line width of memory that activates it is lower, at this time if activating the row of more memory simultaneously, will cause unnecessary energy consumption, It then determines and the application is responded for memory by one of the memory device 204 with optical interface, the memory device 206 with optical interface The access of system, i.e., when the application accesses the initiation of the memory system, according to the application in the access of memory system The physical address of carrying selects the response of one of memory device 204,206 with optical interface.
If should be noted that the size of selected locality parameter, activated while with application to memory system The demand of line width of memory when be inversely proportional, be also possible to determine in practice locality parameter no more than preset threshold value, Then using the access to the memory system with optical interface, by the memory device 204 with optical interface and in optical interface Deposit 206 sync response of equipment;Determine that locality parameter is greater than preset threshold value, then using to the memory system with optical interface Access is responded by one of the memory device 204 with optical interface, the memory device 206 with optical interface.
Step 406, configuration equipment 216 sends the first configuration message to the memory device 204 with optical interface, to light The memory device 206 of interface sends the second configuration message, and the first configuration message includes the piece with the memory device 204 of optical interface Signal wavelength is selected, the second configuration message includes the chip selection signal wavelength with the memory device 206 of optical interface, to optical interface Memory Controller Hub 202 send first configuration message and second configuration message;
It determines access of the application to the memory system with optical interface, by the memory device 204 with optical interface and has In the case where 206 sync response of memory device of optical interface: the chip selection signal wavelength of the memory device 204 with optical interface, and The chip selection signal wavelength of memory device 206 with optical interface is identical, i.e. the first chip selection signal wavelength;
Or determine access of the application to the memory system with optical interface, by with optical interface memory device 204, have In the case that one of memory device 206 of optical interface responds: the chip selection signal wavelength of the memory device 204 with optical interface is the Two chip selection signal wavelength have the chip selection signal wavelength of the memory device 206 of optical interface for third chip selection signal wavelength, and second Select signal wavelength different with third chip selection signal wavelength.
Specifically, in step 404, it is determined that access of the application to the memory system with optical interface, by being connect with light Mouthful memory device 204, after the response of one of 206 sync responses, or the memory device 204,206 with optical interface, need basis The result of the determination is to the Memory Controller Hub 202 with optical interface, and the piece choosing of the memory device 204,206 with optical interface Signal wavelength is configured.
If determined in step 404 using the access to the memory system with optical interface, by in optical interface Equipment 204,206 sync responses are deposited, then is identical by the chip selection signal wavelength configuration of the memory device 204,206 with optical interface Wavelength, i.e. the first chip selection signal wavelength;If determined in step 404 using the visit to the memory system with optical interface It asks, is responded by one of the memory device 204,206 with optical interface, then by the piece of the memory device 204,206 with optical interface Signal wavelength is selected to be configured to different wavelength, i.e. the second chip selection signal wavelength and third chip selection signal wavelength, so that having The Memory Controller Hub 202 of optical interface can select to connect with light by the second chip selection signal wavelength, third chip selection signal wavelength The memory device 204 or 206 of mouth acts.
Optionally, the first configuration message further includes the data signal wavelength with the memory device 204 of optical interface, and second matches Setting message includes the data signal wavelength with the memory device 206 of optical interface.Determine application to optical interface in step 404 Memory system access, by 206 sync response of the memory device 204 with optical interface and the memory device with optical interface In the case of: the data signal wavelength of the memory device 204 with optical interface is the first data signal wavelength, interior with optical interface The data signal wavelength for depositing equipment 206 is the second data signal wavelength, the first data signal wavelength and the second data signal wavelength Difference, so that the memory device 204 with optical interface passes through the first data signal wavelength, the memory device 206 with optical interface By the second data signal wavelength, synchronous transfer applies the data-signal of the access to the memory system with optical interface;Therewith It is corresponding, access of the application to the memory system with optical interface is determined in step 404, by the memory device with optical interface 204, in the case where the response of one of memory device 206 with optical interface: the data-signal of the memory device 204 with optical interface Wavelength, i.e. third data signal wavelength identical with the data signal wavelength of the memory device 206 with optical interface, so as to have The memory device 204 of optical interface, or the memory device 206 with optical interface pass through third data signal wavelength, transmission application pair The data-signal of the access of memory system with optical interface, it should be noted that the memory device 204,206 with optical interface In the case where not moving at the same time, the data signal wavelength of the two can be configured to it is identical, with save WDM light source sending light wave Wavelength type, difference can also be configured by the data signal wavelength of the two.
Optionally, the first data signal wavelength is equal to third data the sum of with the wavelength width of the second data signal wavelength The wavelength width of signal wavelength, wavelength width can also be referred to as wavelength type herein.For example, determining application to optical interface Memory system access, by memory device 204 with optical interface, 206 sync response of memory device with optical interface In the case of, λ is configured for the memory device 204 with optical interface18As its data signal wavelength, then the first data signal wavelength Wavelength width be 8, while for optical interface memory device 206 configure λ916As its data signal wavelength, then second The wavelength width of data signal wavelength is also 8, the wave of the wavelength width of the first data signal wavelength and the second data signal wavelength The sum of long width is 16;Access of the application to the memory system with optical interface is determined, by the memory device with optical interface 204, in the case where the response of one of memory device 206 with optical interface, for the memory device 204 with optical interface and there is light The memory device 206 of interface configures λ116Wavelength width as its data signal wavelength, i.e. third data signal wavelength is also 16.Such configuration method ensure that no matter which kind of access of the mode response application for this memory system the memory system uses, The memory system can guarantee that the width of the physics bank (pbank) of oneself is constant, for what is be written and read to the memory system For, it is 16 which, which is the data width that the application is fetched in each duty cycle, ensure that the memory System is not used as any change to the access request that it is issued in application, need not also perceive how the memory system rings using itself In the case where answering its access request, it is configured flexibly the action mode of memory device in the memory system.
It should be noted that only describing the feelings comprising two memory devices with optical interface in this method embodiment Condition includes in practice that more there is the case where memory device of optical interface can also be released according to this method embodiment.Such as: Memory system with optical interface includes the n memory devices with optical interface, then the configuration method in the present embodiment is obtaining After the locality parameter of the access to the memory system with optical interface, can choose n according to locality parameter has 2 in the memory device of optical interfacemA memory device with optical interface, with response application to the memory system with optical interface Access;The method of the number of specific selection memory device can there are many, such as be arranged according to the size of locality parameter The input of one function, the function is locality parameter, is exported as m or 2m, select memory number method do not constitute limit herein It is fixed.
Selection 2mConfiguration method after a memory device with optical interface, the step being referred in this method embodiment 404 and its optinal plan and step 406 and its optinal plan, such as: determine application to optical interface according to locality parameter Memory system access, by 2mA memory device sync response with optical interface, or by 2mA memory with optical interface Some response in equipment;To aforementioned 2mIt is right therewith that each of a memory device with optical interface memory device is sent The configuration message answered, each configuration message include the memory device chip selection signal wavelength, and by this 2mA configuration message is equal It is sent to Memory Controller Hub.It determines by 2mA memory device sync response with optical interface is applied to the memory with optical interface When the access of system, this 2mThe chip selection signal wavelength of each memory device in a configuration message is identical, determines by 2mIt is a that there is light When one of memory device of interface responds, this 2mThe chip selection signal wavelength of each memory device in a configuration message not phase Together.
Optionally, this 2mIt further include 2 in a configuration messagemThe data signal wavelength of a memory device with optical interface, really Determine by 2mWhen a memory device sync response with optical interface applies the access to the memory system with optical interface, this 2mIt is a The data signal wavelength for configuring each memory device in message is not identical;It determines by 2mA one of memory device with optical interface When response application is to the access of the memory system with optical interface, this 2mThe data-signal of each memory device in a configuration message Wavelength can be identical.
According to application to the locality parameter of the access of the memory system with optical interface, selection has this method embodiment The memory system of optical interface has according to the response method configuration memory of optical interface to the response method of the access of the application All kinds of operation wavelengths of Memory Controller Hub and each memory device in system, so that the memory system with optical interface can The access that the application is handled according to the response method of selection realizes the demand of the access according to application, and reasonably configuration has The resource of the memory system of optical interface.
Apparatus embodiments one
Present device embodiment one provides a kind of configuration equipment 600, and institutional framework schematic diagram was as shown in figure 3, should Configure equipment 600 be the memory system shown in FIG. 1 with optical interface configuration equipment 216, the configuration equipment 600 with have The Memory Controller Hub 202 of optical interface, the memory device 204 with optical interface, the memory device 206 with optical interface establish communication Connection, and respectively by configure message interface to optical interface Memory Controller Hub 202, with the memory device of optical interface 204, the memory device 206 with optical interface sends configuration message.
Configuring equipment includes:
Selecting module 602, for obtaining visit of the application to the memory system with optical interface by locality parameter interface The locality parameter asked;According to locality parameter, access of the application to the memory system with optical interface is determined, by connecing with light Mouthful memory device 204 and 206 sync response of memory device with optical interface, or by with optical interface memory device 204, The response of one of memory device 206 with optical interface.
Specifically, specific movement and its optinal plan that selecting module 602 executes refer to step 402 and step 404, herein It repeats no more.
Configuration module 604, for sending the first configuration to the memory device 204 with optical interface by configuring message interface Message sends the second configuration message to the memory device 206 with optical interface, and the first configuration message includes have optical interface interior The chip selection signal wavelength of equipment 204 is deposited, the second configuration message includes the chip selection signal wave with the memory device 206 of optical interface It is long, the first configuration message and the second configuration message are sent to the Memory Controller Hub 202 with optical interface;When selecting module 602 is true Access of the fixed application to the memory system with optical interface, by the memory device 204 with optical interface and in optical interface In the case where depositing 206 sync response of equipment: the chip selection signal wavelength of the memory device 204 with optical interface, and there is optical interface Memory device 206 chip selection signal wavelength it is identical, i.e. the first chip selection signal wavelength;When selecting module 602 determines application to tool Have the access of the memory system of optical interface, by the memory device 204 with optical interface, the memory device 206 with optical interface it In the case where one response: the chip selection signal wavelength of the memory device 204 with optical interface is the second chip selection signal wavelength, has light The chip selection signal wavelength of the memory device 206 of interface is third chip selection signal wavelength, the second chip selection signal wavelength and the choosing of third piece Signal wavelength is different.
Specifically, specific movement and its optinal plan that configuration module 604 executes refer to step 406, details are not described herein.
It should be noted that only describing the configuration equipment in this apparatus embodiments applies to have optical interface comprising two Memory device the case where, in practice, include more have the case where memory device of optical interface can also according to this equipment reality Apply example release.Such as: the memory system with optical interface includes the n memory devices with optical interface, then in the present embodiment The selecting module 602 of equipment is configured after obtaining application to the locality parameter of the access of the memory system with optical interface, it can To choose 2 in the n memory devices with optical interface according to locality parametermA memory device with optical interface, with sound It should be using the access to the memory system with optical interface;The method of the number of specific selection memory device can there are many, Such as a function is arranged according to the size of locality parameter, the input of the function is locality parameter, is exported as m or 2m, choosing The method for selecting memory number does not constitute restriction herein.
Selecting module 602 is in selection 2mMovement after a memory device with optical interface, is referred to embodiment of the method In step 404 and its optinal plan, such as: visit of the application to the memory system with optical interface is determined according to locality parameter It asks, by 2mA memory device sync response with optical interface, or by 2mSome in a memory device with optical interface Response.
Configuration module 604 is used for aforementioned 2mEach of a memory device with optical interface memory device send with Corresponding configuration message, each configuration message include the memory device chip selection signal wavelength, and by this 2mA configuration disappears Breath is sent to Memory Controller Hub.It determines by 2mA memory device sync response with optical interface is applied to optical interface When the access of memory system, this 2mThe chip selection signal wavelength of each memory device in a configuration message is identical, determines by 2mA tool When having the response of one of memory device of optical interface, this 2mThe chip selection signal wavelength of each memory device in a configuration message is not It is identical.
Optionally, this 2mIt further include 2 in a configuration messagemThe data signal wavelength of a memory device with optical interface, really Determine by 2mWhen a memory device sync response with optical interface applies the access to the memory system with optical interface, this 2mIt is a The data signal wavelength for configuring each memory device in message is not identical;It determines by 2mA one of memory device with optical interface When response application is to the access of the memory system with optical interface, this 2mThe data-signal of each memory device in a configuration message Wavelength can be identical.
The configuration equipment that this apparatus embodiments proposes can be according to using the access to the memory system with optical interface Locality parameter selects the response method for the access for having the memory system of optical interface to the application, and according to the response method All kinds of operation wavelengths for configuring the Memory Controller Hub and each memory device in the memory system with optical interface, so that having The memory system of optical interface can handle the access of the application according to the response method of selection, realize according to the access of application Demand, reasonably configuration has the resource of the memory system of optical interface.
Apparatus embodiments two
Present device embodiment two provides a kind of Memory Controller Hub 800 with optical interface, institutional framework signal Figure is as shown in Figure 4.The Memory Controller Hub 800 with optical interface is one of the memory system shown in FIG. 1 with optical interface Point, i.e., with the Memory Controller Hub 202 of optical interface, the configuration message that configuration equipment is sent is received by configuring message interface, And the configuration message is sent to address mapping module 802 and photoelectric conversion module 804, also handled by processor interface reception Physical address of the application that device is sent to the access of the memory system with optical interface.
Memory Controller Hub 800 with optical interface includes:
Address mapping module 802, for receiving the physical address using the access to the memory system with optical interface, also Message is configured for receiving, configuration message includes the chip selection signal wavelength with the memory device 204 of optical interface, has optical interface Memory device 206 chip selection signal wavelength, and the memory device 204 with optical interface and the memory device with optical interface 206 address signal wavelength;
It is also used to judge to have the chip selection signal wavelength of the memory device 204 of optical interface, is set with the memory with optical interface Whether standby 206 chip selection signal wavelength is identical;Visit if identical, from the application received to the memory system with optical interface The first row address, the first column address are parsed in the physical address asked, and generate the first chip selection signal;If it is not the same, from object The second row address, the second column address, memory device number are parsed in reason address, and second choosing letter is generated according to memory device number Number, third chip selection signal;It is also used to the first row address, the first column address and the first chip selection signal or the second row address, second Column address, the second chip selection signal and third chip selection signal are sent to photoelectric conversion module 804.
Specifically, being exemplified by Table 1, if there are two memories with optical interface in the memory system of optical interface to set for this Standby bit wide is 8bit, i.e. 1byte, and bit wide herein indicates the memory capacity of each internal storage location in memory device;Each Memory device includes 210A row and 210A column, i.e., each memory device include 220A internal storage location, each memory device Capacity is 1M byte, and the sum of capacity of two memory devices is 2M byte.At this point, processor is issuing visit to the memory system When asking request, 21 physical address, i.e. A0-A20 can be issued, to from the 2 of memory system21One is selected in a internal storage location Be written and read, the A0-A20 in table 1 each represent a binary parameters.
A0 A1 A2 ...... A18 A19 A20
Table 1
If the piece of the memory device 204 in the configuration message that address mapping module 802 receives with optical interface selects letter Number wavelength, it is identical as the chip selection signal wavelength of memory device 206 with optical interface, illustrate the memory device with optical interface 204 and the memory device 206 with optical interface need synchronization action.Address mapping module 802 is solved from the physical address in table 1 The first row address A11-A20, the first column address A1-A10 is precipitated, and generates the first chip selection signal, which uses In the identical chip selection signal wavelength sending by the memory device 204,206 with optical interface, so that two memory devices According to the first chip selection signal synchronization action.Address mapping module 802 is used as physics bank (pbank) for remaining A0 simultaneously Position is selected, for the memory device 204,206 with optical interface respectively according to the first row address A11-A20 and the first column address A1-A10 is fetched in an internal storage location after the data of 1byte, from the data of this 2byte select 1byte with it is to be returned give from Manage device.
If the piece of the memory device 204 in the configuration message that address mapping module 802 receives with optical interface selects letter Number wavelength, it is not identical as the chip selection signal wavelength of the memory device 206 with optical interface, illustrate the memory device with optical interface 204 and the asynchronous movement of memory device 206 with optical interface.Address mapping module 802 is parsed from the physical address in table 1 Second row address A11-A20, the second column address A2-A10 out, then using A1 as memory device number, second choosing is generated according to A1 Signal and third chip selection signal, such as A1=0 indicate the memory device 204 with optical interface, then when A1=0, the second of generation Chip selection signal is 1, and the third chip selection signal of generation is 0, indicates to have the memory device 204 of optical interface to act, corresponding A1=1 indicates the memory device 206 with optical interface, then when A1=1, the second chip selection signal of generation is 0, the third piece of generation Selecting signal is 1, indicates to have the memory device 206 of optical interface to act, it should be noted that between an application run-time, can send out To be written and read to memory system, physical address each time may indicate that with optical interface multiple physical address out Memory device 204 or 206 act, description herein do not limit one application operation during always all be with optical interface Memory device 204 or 206 acts.Address mapping module 802 selects remaining A0 as physics bank (pbank) simultaneously Position, takes for the memory device 204 or 206 with optical interface according to the first row address A11-A20 and the first column address A2-A10 After returning the data of the 2byte in two contiguous memory units, select 1byte with to be returned to processing from the data of this 2byte Device.
Optionally, the digit of the first column address, than the digit Gao Yiwei of the second column address, i.e., as above-mentioned first row address is A1-A10, and the second column address is A2-A10, due to the second column address one fewer than the first column address, and memory device possesses 210 A column, then memory device by the second row address, the second column address it is selected be not some internal storage location, but two are adjacent Internal storage location, that is, have selected the memory headroom of 2byte.On the other side, each memory device passes through the first column address, the It is some internal storage location that a line address is selected, but due in this case, the memory device 204,206 with optical interface can be same Step responds the memory access request, therefore memory device 204,206 memory devices with optical interface have selected altogether the interior of 2byte Deposit space.No matter the analytic method of which kind of physical address, it is identical to ensure that memory system can be selected according to the physical address The memory headroom of size, to guarantee no matter the physical address is used for write operation or read operation, which can guarantee Read and write data data width is identical namely the physics bank (pbank) of memory system is identical.
Address mapping module 802 is by above-mentioned first row address, the first column address and the first chip selection signal or the second row Location, the second column address, the second chip selection signal and third chip selection signal are sent to photoelectric conversion module 804.
Photoelectric conversion module 804, the first row address, the first column address or the second row address, second for that will receive Column address is converted to the light wave with address signal wavelength and sends;
The first chip selection signal for being also used to receive is converted to the chip selection signal of the memory device 204 with optical interface The light wave of wavelength is simultaneously sent;Or the second chip selection signal that will be received, be converted to the memory device 204 with optical interface The light wave of chip selection signal wavelength is simultaneously sent, and the third chip selection signal that will be received is converted to the memory with optical interface and sets The light wave of standby 206 chip selection signal wavelength is simultaneously sent;First chip selection signal instruction: with optical interface memory device 204, 206 sync response of memory device with optical interface is using the access to the memory system with optical interface;Second chip selection signal, Third chip selection signal instruction: the memory device 204 with optical interface, or 206 response application pair of memory device with optical interface The access of memory system with optical interface.
Specifically, photoelectric conversion module 804 is by the first row address, the first column address or the second row address, the second column address After being converted to the light wave with address signal wavelength, sent by optical waveguide.For example, the memory device with optical interface 204,206 address signal wavelength is λ120, it is λ that A1-A10 is modulated to wavelength by photoelectric conversion module110Light wave on simultaneously It sends, it is λ that A11-A20, which is modulated to wavelength,1120Light wave on and send, specifically, can be by configuring light The parameters such as temperature, the injected carrier density of modulator in electric conversion module 804, the light wave for selecting the modulator that can modulate Wavelength.The first chip selection signal that photoelectric conversion module 804 will receive is converted to the memory device 204 with optical interface The light wave of chip selection signal wavelength is simultaneously sent, due at this time with optical interface memory device 204 chip selection signal wavelength and The chip selection signal wavelength of memory device 204 with optical interface is identical, then the memory device 204,206 with optical interface can lead to Cross that light wave with the wavelength is synchronous to receive the first chip selection signal, chip selection signal instruction have optical interface memory device 204, 206 respond the operation of the memory device of this action cycle;Or the second chip selection signal that photoelectric conversion module 804 will receive, It is converted to the light wave of the chip selection signal wavelength of the memory device 204 with optical interface and sends, the third piece that will be received Signal is selected, the light wave of the chip selection signal wavelength of the memory device 206 with optical interface is converted to and is sent, second choosing letter Number and third chip selection signal the memory device 204,206 with optical interface is respectively sent to by the light wave of two different wave lengths, Some for indicating in two memory devices responds the operation of the memory device of this action cycle.
It should be noted that only describing the case where including two memory devices with optical interface in this apparatus embodiments The manner of execution of the lower Memory Controller Hub includes in practice more to have the case where memory device of optical interface can also basis This method embodiment is released, for example, if including 2mIn the case where a memory device with optical interface, the position of the first column address Number just should be m higher than the digit of the second column address.The access request that Memory Controller Hub in practice also needs to apply simultaneously In command signal, such as read operation, write operation, refresh operation etc. be also sent to memory device, not by memory in the present embodiment The repertoire of controller illustrates one by one.
The Memory Controller Hub that this apparatus embodiments proposes can judge the memory system according to the configuration message that it is received Using which kind of access of the mode response application to the memory system, according to memory system for the response mode of application, to the visit The physical address asked is parsed, and by the address information of parsing acquisition, chip selection signal modulates information to specified wavelength Light wave on be sent to memory device, realize the demand of the access according to application, memory system selected to receive physically The analysis mode of location, so that the memory system with optical interface can be according to the demand of the access of application, reasonably configuration has There is the resource of the memory system of optical interface.
System embodiment
Present system embodiment provides a kind of memory system with optical interface, institutional framework schematic diagram such as Fig. 1 Shown, including the configuration equipment 216 as described in apparatus embodiments one, as described in apparatus embodiments two the memory with optical interface Controller 202 further includes the memory device 204 with optical interface, the memory device 206 with optical interface.
Configuration equipment 216 is respectively by configuring message interface 210,212,214 and the Memory Controller Hub with optical interface 202, the memory device 204 with optical interface, the memory device 206 with optical interface establish communication connection, with optical interface Memory Controller Hub 202 is set by optical signal transmission channel with the memory device 204 with optical interface and the memory with optical interface Standby 206 communication.
Configuration equipment 216 in this system embodiment and the details of the Memory Controller Hub with optical interface 202 are preceding It states in embodiment and refers to, details are not described herein, and this system embodiment is mainly completed to introduce how the memory system is handled using hair The access request come.
When processor receives the access request of the first application sent, first answered firstly, configuration equipment 216 obtains this Locality parameter configures message according to locality parameter designing, and configuration message is sent to the memory with optical interface Controller 202, the memory device 204 and 206 with optical interface;Memory Controller Hub 202 with optical interface is connect by processor After mouth 208 receives the access request of application, according to the configuration message of acquisition, the physical address in the access request is solved Analysis, and the various information of parsing is sent to the memory device 204,206 with optical interface;Memory device with optical interface connects 204,206 receive the information that Memory Controller Hub is sent after, corresponding operation is executed according to the information, if the information indicate that memory Equipment carries out reading data manipulation, and the data of reading are back to tool by optical waveguide by the memory device 204,206 with optical interface There is the Memory Controller Hub 202 of optical interface, after the data of 202 pairs of the Memory Controller Hub readings with optical interface are handled, will read Data out are back to the processor for executing the first application by processor interface 208, then the first application is to this with optical interface The access of memory system be finished.If processor starts execution the after the first application is to the memory system use Two applications, configuration equipment again configure the memory system according to the locality parameter of the second application.
The memory system with optical interface that this system embodiment proposes can be asked according to access is issued to the memory system The locality parameter for the application asked selects the response method of the access to the application, and has light according to response method configuration All kinds of operation wavelengths of Memory Controller Hub and each memory device in the memory system of interface, so that interior with optical interface Deposit system can handle the access of the application according to the response method of selection, realize the demand of the access according to application, rationally Ground configuration has the resource of the memory system of optical interface.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (16)

1. a kind of configuration method of the memory system with optical interface, which is characterized in that the memory system with optical interface It include: that Memory Controller Hub, the first memory device with optical interface and the second memory with optical interface with optical interface are set Standby, the Memory Controller Hub with optical interface is set by optical signal transmission channel with the described first memory with optical interface Standby and the described second memory device with optical interface communicates;
The configuration method includes:
Obtain the locality parameter of access of the application to the memory system with optical interface;
According to the locality parameter, access of the application to the memory system with optical interface is determined, by described One memory device and the described second memory device sync response with optical interface with optical interface;
The first configuration message is sent to the described first memory device with optical interface, Xiang Suoshu second has the memory of optical interface Equipment sends the second configuration message, wherein the first configuration message includes the described first memory device with optical interface Chip selection signal wavelength, the second configuration message include the chip selection signal wavelength of the described second memory device with optical interface, The chip selection signal wavelength of the first memory device with optical interface in the first configuration message and the second configuration message In second with optical interface memory device chip selection signal wavelength it is identical;
The first configuration message and the second configuration message are sent to the Memory Controller Hub with optical interface.
2. configuration method as described in claim 1, which is characterized in that it is described according to the locality parameter, determine described in answer With the access to the memory system with optical interface, had by the described first memory device and described second with optical interface There is the memory device sync response of optical interface to specifically include:
Determine the application to the memory system with optical interface according to the relationship of preset threshold value and the locality parameter The access of system has the synchronous sound of the memory device of optical interface with described second by the described first memory device with optical interface It answers.
3. configuration method as claimed in claim 1 or 2, which is characterized in that the application is to the memory with optical interface The locality parameter of the access of system include cache miss rate, row cache hit rate, row caching weight utilization rate in one or It is multiple.
4. configuration method as claimed in claim 1 or 2, which is characterized in that the first configuration message further includes described first The data signal wavelength of memory device with optical interface, the second configuration message further include described second with optical interface The data signal wavelength of memory device;
The data signal wavelength of described first memory device with optical interface and the described second memory device with optical interface Data signal wavelength it is different.
5. a kind of configuration method of the memory system with optical interface, which is characterized in that the memory system with optical interface It include: that Memory Controller Hub, the first memory device with optical interface and the second memory with optical interface with optical interface are set Standby, the Memory Controller Hub with optical interface is set by optical signal transmission channel with the described first memory with optical interface Standby and the described second memory device with optical interface communicates;
The configuration method includes:
Obtain the locality parameter of access of the application to the memory system with optical interface;
According to the locality parameter, access of the application to the memory system with optical interface is determined, by described The response of one of one memory device with optical interface, described second memory device with optical interface;
The first configuration message is sent to the described first memory device with optical interface, Xiang Suoshu second has the memory of optical interface Equipment sends the second configuration message, wherein the first configuration message includes the described first memory device with optical interface Chip selection signal wavelength, the second configuration message include the chip selection signal wavelength of the described second memory device with optical interface, The chip selection signal wavelength of the first memory device with optical interface in the first configuration message and the second configuration message In the second memory device with optical interface chip selection signal wavelength it is different;
The first configuration message and the second configuration message are sent to the Memory Controller Hub with optical interface.
6. configuration method as claimed in claim 5, which is characterized in that it is described according to the locality parameter, determine described in answer With the access to the memory system with optical interface, memory device, second tool that there is optical interface by described first There is the response of one of memory device of optical interface, specifically include:
Determine the application to the memory system with optical interface according to the relationship of preset threshold value and the locality parameter The access of system, by the response of one of the described first memory device with optical interface, the described second memory device with optical interface.
7. such as configuration method described in claim 5 or 6, which is characterized in that the application is to the memory with optical interface The locality parameter of the access of system include cache miss rate, row cache hit rate, row caching weight utilization rate in one or It is multiple.
8. such as configuration method described in claim 5 or 6, which is characterized in that the first configuration message further includes described first The data signal wavelength of memory device with optical interface, the second configuration message further include described second with optical interface The data signal wavelength of memory device;The data signal wavelength of described first memory device with optical interface and second tool There is the data signal wavelength of the memory device of optical interface identical.
9. a kind of configuration equipment of the memory system with optical interface, which is characterized in that the memory system with optical interface It include: that Memory Controller Hub, the first memory device with optical interface and the second memory with optical interface with optical interface are set Standby, the Memory Controller Hub with optical interface is set by optical signal transmission channel with the described first memory with optical interface Standby and the described second memory device with optical interface communicates, the configuration equipment and the Memory control with optical interface Device, described first memory device, the described second memory device with optical interface with optical interface establish communication connection;
The configuration equipment includes:
Selecting module, for obtaining the locality parameter using the access to the memory system with optical interface;According to institute Locality parameter is stated, access of the application to the memory system with optical interface is determined, is connect by described first with light The memory device of mouth and the described second memory device sync response with optical interface, or had in optical interface by described first Deposit the response of one of equipment, described second memory device with optical interface;
Configuration module, for sending the first configuration message to the described first memory device with optical interface, Xiang Suoshu second has There is the memory device of optical interface to send the second configuration message, the first configuration message includes described first interior with optical interface The chip selection signal wavelength of equipment is deposited, the second configuration message includes the piece choosing letter of the described second memory device with optical interface Number wavelength sends the first configuration message and the second configuration message to the Memory Controller Hub with optical interface;Also For determining access of the application to the memory system with optical interface in the selecting module, had by described first In the case where the memory device of optical interface and the described second memory device sync response with optical interface: described first has light The chip selection signal wavelength phase of the chip selection signal wavelength of the memory device of interface and the described second memory device with optical interface Together, i.e. the first chip selection signal wavelength;Or the selecting module determines the application to the memory system with optical interface Access, the feelings responded by one of the described first memory device with optical interface, the described second memory device with optical interface Under condition: the chip selection signal wavelength of the described first memory device with optical interface is the second chip selection signal wavelength, second tool The chip selection signal wavelength for having the memory device of optical interface is third chip selection signal wavelength, the second chip selection signal wavelength and described Third chip selection signal wavelength is different.
10. configuration equipment as claimed in claim 9, which is characterized in that the configuration module is according to the locality parameter, really Fixed access of the application to the memory system with optical interface, by the described first memory device and institute with optical interface State the second memory device sync response with optical interface;Or by described first with optical interface memory device, described second The response of one of memory device with optical interface specifically includes:
The locality parameter is determined not less than preset threshold value, then the application is to the memory system with optical interface Access, by the described first memory device and the described second memory device sync response with optical interface with optical interface;Or Determine the locality parameter be less than preset threshold value, then access of the application to the memory system with optical interface, By the response of one of the described first memory device with optical interface, the described second memory device with optical interface.
11. the configuration equipment as described in claim 9 or 10, which is characterized in that the first configuration message further includes described the The data signal wavelength of one memory device with optical interface, the second configuration message include described second with optical interface The data signal wavelength of memory device;
It determines access of the application to the memory system with optical interface, is set by the described first memory with optical interface In the case where standby and the described second memory device sync response with optical interface: the described first memory device with optical interface Data signal wavelength be the first data signal wavelength, the described second data signal wavelength of memory device with optical interface is Second data signal wavelength, first data signal wavelength is different with second data signal wavelength, so that described first Memory device with optical interface is passed through by first data signal wavelength, the described second memory device with optical interface Second data signal wavelength, synchronous transmitting data signal;
It determines access of the application to the memory system with optical interface, is set by the described first memory with optical interface In the case that one of standby, described second memory device with optical interface responds: the described first memory device with optical interface Data signal wavelength with described second with optical interface memory device data signal wavelength it is identical, i.e., third data believe Number wavelength, so that the described first memory device with optical interface or the described second memory device with optical interface pass through institute Third data signal wavelength is stated, data-signal is transmitted.
12. as claimed in claim 11 configuration equipment, which is characterized in that the wavelength width of first data signal wavelength with The sum of the wavelength width of second data signal wavelength, equal to the wavelength width of the third data signal wavelength.
13. a kind of Memory Controller Hub with optical interface, which is characterized in that the Memory Controller Hub with optical interface passes through light Signal transmission passage is communicated with the first memory device with optical interface and the second memory device with optical interface;
The Memory Controller Hub with optical interface includes:
Address mapping module is also used to connect for receiving the physical address using the access to the memory system with optical interface Configuration message is received, the configuration message includes the chip selection signal wavelength of the described first memory device with optical interface, described the The chip selection signal wavelength of two memory devices with optical interface and the described first memory device and described the with optical interface The address signal wavelength of two memory devices with optical interface;
It is also used to judge the chip selection signal wavelength of the described first memory device with optical interface, there is optical interface with described second Memory device chip selection signal wavelength it is whether identical;If identical, have in optical interface from the application received to described The first row address, the first column address are parsed in the physical address of the access of deposit system, and generate the first chip selection signal;If no It is identical, the second row address, the second column address, memory device number are parsed from the physical address, and set according to the memory Standby number generates the second chip selection signal, third chip selection signal;It is also used to first row address, first column address and first Chip selection signal or second row address, second column address, second chip selection signal and third chip selection signal hair It send to photoelectric conversion module;
The photoelectric conversion module, for by first row address received, first column address or second row Address, second column address are converted to the light wave with the address signal wavelength and send;
It is also used to first chip selection signal that will be received, is converted to the described first memory device with optical interface The light wave of chip selection signal wavelength is simultaneously sent;Or second chip selection signal that will be received, it is converted to described first The light wave of the chip selection signal wavelength of memory device with optical interface is simultaneously sent, and the third piece received is selected and is believed Number, it is converted to the light wave of the chip selection signal wavelength with the described second memory device with optical interface and sends;It is described The instruction of first chip selection signal: the described first memory device, the described second memory device with optical interface with optical interface is same Step responds access of the application to the memory system with optical interface;Second chip selection signal, third piece choosing Signal designation: described in the described first memory device with optical interface or the described second memory device response with optical interface Using the access to the memory system with optical interface.
14. as claimed in claim 13 with the Memory Controller Hub of optical interface, which is characterized in that the position of first column address Number, than the digit Gao Yiwei of second column address, so that described first there is the memory device of optical interface, described second to have When described in the memory device sync response of optical interface using to the access of the memory system with optical interface and described first There is light using to described described in memory device, the described second memory device sync response with optical interface with optical interface When the access of the memory system of interface, the data width for reading and writing data is identical.
15. a kind of configuration equipment of the memory system with optical interface, which is characterized in that the configuration equipment with have optical interface Memory Controller Hub, the first memory device with optical interface, the second memory device with optical interface establish communication connection;Institute It states configuration equipment and executes any configuration method of the claim 1-4.
16. a kind of configuration equipment of the memory system with optical interface, which is characterized in that the configuration equipment with have optical interface Memory Controller Hub, the first memory device with optical interface, the second memory device with optical interface establish communication connection;Institute It states configuration equipment and executes any configuration method of the claim 5-8.
CN201480083604.5A 2014-11-28 2014-11-28 The configuration method and memory system of memory system with optical interface Active CN107003808B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/092460 WO2016082182A1 (en) 2014-11-28 2014-11-28 Method for configuring memory system having optical interface and memory system

Publications (2)

Publication Number Publication Date
CN107003808A CN107003808A (en) 2017-08-01
CN107003808B true CN107003808B (en) 2019-11-22

Family

ID=56073377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480083604.5A Active CN107003808B (en) 2014-11-28 2014-11-28 The configuration method and memory system of memory system with optical interface

Country Status (2)

Country Link
CN (1) CN107003808B (en)
WO (1) WO2016082182A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699560A (en) * 2009-09-30 2010-04-28 曙光信息产业(北京)有限公司 Memory controller and multi-memory system
CN102122266A (en) * 2010-01-12 2011-07-13 联咏科技股份有限公司 High-speed memory system
CN102177551A (en) * 2008-08-08 2011-09-07 惠普开发有限公司 Independently controllable and reconfigurable virtual memory devices in memory modules that are pin-compatible with standard memory modules

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149722A (en) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 Method for executing CPU access to XFP optical module
KR20130143210A (en) * 2012-06-21 2013-12-31 삼성전자주식회사 Memory expanding device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177551A (en) * 2008-08-08 2011-09-07 惠普开发有限公司 Independently controllable and reconfigurable virtual memory devices in memory modules that are pin-compatible with standard memory modules
CN101699560A (en) * 2009-09-30 2010-04-28 曙光信息产业(北京)有限公司 Memory controller and multi-memory system
CN102122266A (en) * 2010-01-12 2011-07-13 联咏科技股份有限公司 High-speed memory system

Also Published As

Publication number Publication date
CN107003808A (en) 2017-08-01
WO2016082182A1 (en) 2016-06-02

Similar Documents

Publication Publication Date Title
CN104981872B (en) Storage system
US10917706B2 (en) Configurable IoT device data collection
CN104166628B (en) The methods, devices and systems of managing internal memory
CN108496161A (en) Data buffer storage device and control method, data processing chip, data processing system
CN112130748A (en) Data access method, network card and server
CN105745622A (en) Computing system architecture that facilitates forming of customized virtual disks
CN102420663B (en) Dynamic memory distribution in optical transceiver
US11997438B2 (en) Declarative IoT data control
CN103970678B (en) Catalogue designing method and device
CN103581317B (en) A kind of method of network resources locating
CN105630419B (en) A kind of the subregion view sending method and management node of resource pool
CN107766503A (en) Data method for quickly querying and device based on redis
CN104991745B (en) A kind of memory system data wiring method and system
CN107003808B (en) The configuration method and memory system of memory system with optical interface
US20160098212A1 (en) Information processor apparatus, memory control device, and control method
CN104363269B (en) It is a kind of to pass through FC link transmissions, the method and device of reception NAS data
CN102650932A (en) Method, equipment and system for accessing data
CN108173899A (en) The information processing method and device of block chain
CN102393838A (en) Data processing method and device, PCI-E (peripheral component interface-express) bus system, and server
CN106921547A (en) The apparatus and method of management equipment
CN107273316A (en) Parallel FLASH accesses system and method
CN103368944A (en) Memory shared network architecture and protocol specifications for same
CN105072047B (en) A kind of message transmissions and processing method
CN106933497A (en) A kind of management and dispatching device, system and method based on SAS
CN106897021A (en) A kind of method and apparatus for reading and writing data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant