Temporal encoding is a power- and bandwidth-efficient approach for encoding and transmitting data. However, as the size of a data payload increases, the latency introduced by temporal encoding also increases. With temporal encoding, transmission is performed by sending two spikes across a link; the data value to be transmitted is equal to the time observed between these two spikes.
In some embodiments, a method of temporal link encoding includes identifying a data type of a data value to be transmitted; determining that the data type is included in one or more data types for temporal encoding; and transmitting the data value using temporal encoding.
In some embodiments, determining that the data type is included in one or more data types for temporal encoding includes determining that a number of bits required to encode the data type falls below a threshold. In some embodiments, determining that the data type is included in one or more data types for temporal encoding includes identifying an indicator that the data type should be encoded using temporal encoding. In some embodiments, the data value is transmitted based on a first time window, and the method further includes transmitting another data value using temporal encoding based on a second time window overlapping the first time window. In some embodiments, transmitting the data value using temporal encoding includes transmitting a plurality of temporally encoded messages. In some embodiments, determining that the data type is included in one or more data types for temporal encoding is based on one or more of a latency requirement or a bandwidth requirement of an application. In some embodiments, transmitting the data value using the temporal encoding includes: transmitting a start signal; transmitting an end signal; and the method further includes transmitting one or more other data values based on the start signal and one or more other end signal.
In some embodiments, an apparatus for temporal link encoding performs steps including identifying a data type of a data value to be transmitted; determining that the data type is included in one or more data types for temporal encoding; and transmitting the data value using temporal encoding.
In some embodiments, determining that the data type is included in one or more data types for temporal encoding includes determining that a number of bits required to encode the data type falls below a threshold. In some embodiments, determining that the data type is included in one or more data types for temporal encoding includes identifying an indicator that the data type should be encoded using temporal encoding. In some embodiments, the data value is transmitted based on a first time window, and the steps further include transmitting another data value using temporal encoding based on a second time window overlapping the first time window. In some embodiments, transmitting the data value using temporal encoding includes transmitting a plurality of temporally encoded messages. In some embodiments, determining that the data type is included in one or more data types for temporal encoding is based on one or more of a latency requirement or a bandwidth requirement of an application. In some embodiments, transmitting the data value using the temporal encoding includes: transmitting a start signal; transmitting an end signal; and the steps further include transmitting one or more other data values based on the start signal and one or more other end signal.
In some embodiments, a computer program product disposed upon a non-transitory computer readable medium includes computer program instructions for temporal link encoding that, when executed, cause a computer system to perform steps including identifying a data type of a data value to be transmitted; determining that the data type is included in one or more data types for temporal encoding; and transmitting the data value using temporal encoding.
In some embodiments, determining that the data type is included in one or more data types for temporal encoding includes determining that a number of bits required to encode the data type falls below a threshold. In some embodiments, determining that the data type is included in one or more data types for temporal encoding includes identifying an indicator that the data type should be encoded using temporal encoding. In some embodiments, the data value is transmitted based on a first time window, and the steps further include transmitting another data value using temporal encoding based on a second time window overlapping the first time window. In some embodiments, transmitting the data value using temporal encoding includes transmitting a plurality of temporally encoded messages. In some embodiments, determining that the data type is included in one or more data types for temporal encoding is based on one or more of a latency requirement or a bandwidth requirement of an application. In some embodiments, transmitting the data value using the temporal encoding includes: transmitting a start signal; transmitting an end signal; and the steps further include transmitting one or more other data values based on the start signal and one or more other end signal.
Also coupled to the data fabric 106 is a temporal encoding interface 108a. The temporal encoding interface 108a encodes a data value from the CPU 102 or memory 104 into a temporally encoded data value. A data value is temporally encoded in that its value is dependent on a time difference between two spikes (e.g., two spikes applied to a link between the temporal encoding interface 108 and a temporal encoding interface 108b of an endpoint 110. A spike is a temporary increase in current or voltage applied to a link. For example, four bits are used to binary encode sixteen different values each depending on whether or not power is applied to four lines of a bus or link. Using temporal encoding, each of these sixteen values would instead correspond to a different time difference between spikes applied to a single line or link. The temporal encoding interface 108a encodes a data value using temporal encoding along a link to a temporal encoding interface 108b. The temporal encoding interface 108b decodes the temporally encoded data value for use by an endpoint 110. The endpoint 110 includes any hardware component capable of communicating with the CPU 102 and memory 104, such as a peripheral device (e.g., graphics processing unit (GPU), network interface, etc.). In some embodiments, the endpoint 110 includes another internal component of the data fabric. The temporal encoding interface 108b also temporally encodes data values from the endpoint 110 for decoding by the temporal encoding interface 108a.
In some embodiments, the clock or cycle speeds used to synchronize the temporal encoding endpoints 108a/b are increased to reduce latency. The increased clock speed results in a risk of imprecise decoding due to inaccurate clock synchronization across the link endpoints. Accordingly, temporal encoding is used where the data values are associated with approximate or error-tolerant computation.
As temporal encoding of data only requires spikes across links, the bandwidth used is very low, but can cause increased latency. For example, assuming a 64-line bus, a 64-bit value can be transmitted using binary encoding in a single cycle, but would result in high latency if transmitted using temporal encoding. Accordingly, temporal encoding is most advantageous for transmitting low data values. A temporal encoding interface 108a can determine whether a data value is of a data type that should be transmitted using temporal encoding. For example, the temporal encoding interface 108a can receive a data value via the data fabric 106. Where a number of bits required to express the data value falls below a threshold (e.g., a one-bit Boolean value, a four-bit value), the temporal encoding interface 108a can determine to send the data value using temporal encoding. As another example, an identifier (e.g., included in programmable code by a developer or during code compilation) can indicate that the data value should be transmitted using temporal encoding. As a further example, metadata or other data can indicate that a particular application has performance sensitivities to bandwidth or latency. Where an application is bandwidth sensitive, temporal encoding can be used for data values. Where an application is latency sensitive, other encoding (e.g., binary encoding) is used.
For further explanation
In order to send temporally encoded messages with overlapping time windows, the temporal encoding interfaces 108a/b must identify the intended recipients of the spikes. In some embodiments, each sender, receiver, and/or sender/receiver pair corresponds to a different amplitude. Thus, the amplitude of a spike indicates to which message it corresponds. In the example timeline 200, t0 and t3 would be sent at a first amplitude, and t1 and t2 would be sent at a second amplitude (not shown in
For further explanation
For further explanation
Value-1 from Sender-N=t5−(delta-t)−t0−(delta-t)
Value-2 from Sender-N=t3−(delta-t)−t1−(delta-t)
where, value-1 is initiated at time to and value-2 is initiated at time t1 and they are received at time stamps t3 and t5, respectively.
For further explanation,
The method of
The method of
For further explanation,
The method of
For further explanation,
The method of
For further explanation,
The method of
In some embodiments, the first start and end spikes differ in amplitude from the second start and end spikes. Thus, the first data value 503 is encoded using a first time window bound by spikes of a first amplitude and the second data value 803 is encoded using a second time window bound by spikes of a second amplitude. Thus, temporal encoding interfaces distinguish between spikes for different data values. In other embodiments, metadata is sent (e.g., using temporal or binary encoding) prior to start and end spikes to indicate to which data value 503, 803 the spike corresponds.
For further explanation,
The method of
For further explanation,
The method of
The method of
In view of the explanations set forth above, readers will recognize that the benefits of temporal link encoding include:
Exemplary embodiments of the present disclosure are described largely in the context of a fully functional computer system for temporal link encoding. Readers of skill in the art will recognize, however, that the present disclosure also can be embodied in a computer program product disposed upon computer readable storage media for use with any suitable data processing system. Such computer readable storage media can be any storage medium for machine-readable information, including magnetic media, optical media, or other suitable media. Examples of such media include magnetic disks in hard drives or diskettes, compact disks for optical drives, magnetic tape, and others as will occur to those of skill in the art. Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the disclosure as embodied in a computer program product. Persons skilled in the art will recognize also that, although some of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present disclosure.
The present disclosure can be a system, a method, and/or a computer program product. The computer program product can include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present disclosure.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium can be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network can include copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present disclosure can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) can execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present disclosure.
Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein includes an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams can represent a module, segment, or portion of instructions, which includes one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block can occur out of the order noted in the figures. For example, two blocks shown in succession can, in fact, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
It will be understood from the foregoing description that modifications and changes can be made in various embodiments of the present disclosure. The descriptions in this specification are for purposes of illustration only and are not to be construed in a limiting sense. The scope of the present disclosure is limited only by the language of the following claims.
This invention was made with Government support under Prime Contract No. DE-AC52-07NA27344, Subcontract No. B620717, awarded by the Department of Energy. The Government has certain rights in this invention.
Number | Name | Date | Kind |
---|---|---|---|
20030188154 | Dallard | Oct 2003 | A1 |
20060114131 | Kolavi | Jun 2006 | A1 |
20100081958 | She | Apr 2010 | A1 |
20100220814 | Wu | Sep 2010 | A1 |
20200279180 | Yu | Sep 2020 | A1 |
Entry |
---|
Esmailzadeh et al, “Architecture Support for Disciplined Approximate Programming”, ASPLOS XVII: Proceedings of the Seventeenth International Conference on Architectural Support for Programming Languages and Operating Systems, Mar. 2012, pp. 301-312, URL: https://doi.org/10.1145/2150976.2151008. |
Keeton et al., “Persistent memory: new tier or storage replacement?”, SNIA Storage Developer Conference, Sep. 2017, 43 pages, Hewlett Packard Labs (online), URL: https://www.snia.org/sites/default/files/SDC/2017/presentations/General_Session/Keeton_Kimberly_Spence_Susan_Persistent_Memory_New_Tier_or_Storage_Replacement.pdf. |
Smith, “Temporal Coding”, Chapter 1, Section 1.3.2 of “Space-Time Computing with Temporal Neural Networks”, Synthesis Lectures on Computer Architecture #39, May 2017, pp. 16-17, Morgan & Claypool Publishers, San Rafael, California. |
Unknown, “How RS232 works”, accessed Feb. 12, 2020, 10 pages, URL: https://www.best-microcontroller-projects.com/how-rs232-works.html. |
Number | Date | Country | |
---|---|---|---|
20210351787 A1 | Nov 2021 | US |