WO2020086384A1 - Universal pointers for data exchange in a computer system having independent processors - Google Patents
Universal pointers for data exchange in a computer system having independent processors Download PDFInfo
- Publication number
- WO2020086384A1 WO2020086384A1 PCT/US2019/056819 US2019056819W WO2020086384A1 WO 2020086384 A1 WO2020086384 A1 WO 2020086384A1 US 2019056819 W US2019056819 W US 2019056819W WO 2020086384 A1 WO2020086384 A1 WO 2020086384A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- processor
- address
- memory address
- memory
- instructions
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
- G06F12/1072—Decentralised address translation, e.g. in distributed shared memory systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/34—Addressing or accessing the instruction operand or the result ; Formation of operand address; Addressing modes
- G06F9/35—Indirect addressing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3836—Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
- G06F12/1027—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F12/1036—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] for multiple virtual address spaces, e.g. segmentation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/14—Protection against unauthorised use of memory or access to memory
- G06F12/1416—Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights
- G06F12/1425—Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights the protection being physical, e.g. cell, word, block
- G06F12/1441—Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights the protection being physical, e.g. cell, word, block for a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/14—Protection against unauthorised use of memory or access to memory
- G06F12/1458—Protection against unauthorised use of memory or access to memory by checking the subject access rights
- G06F12/1466—Key-lock mechanism
- G06F12/1475—Key-lock mechanism in a virtual system, e.g. with translation means
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/062—Securing storage systems
- G06F3/0622—Securing storage systems in relation to access
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0667—Virtualisation aspects at data level, e.g. file, record or object virtualisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/3004—Arrangements for executing specific machine instructions to perform operations on memory
- G06F9/30043—LOAD or STORE instructions; Clear instruction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30145—Instruction analysis, e.g. decoding, instruction word fields
- G06F9/3016—Decoding the operand specifier, e.g. specifier format
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/34—Addressing or accessing the instruction operand or the result ; Formation of operand address; Addressing modes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/468—Specific access rights for resources, e.g. using capability register
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/544—Buffers; Shared memory; Pipes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0864—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using pseudo-associative means, e.g. set-associative or hashing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1008—Correctness of operation, e.g. memory ordering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1052—Security improvement
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/15—Use in a specific computing environment
- G06F2212/154—Networked environment
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/16—General purpose computing application
- G06F2212/163—Server or database system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/65—Details of virtual memory and virtual address translation
- G06F2212/656—Address space sharing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/65—Details of virtual memory and virtual address translation
- G06F2212/657—Virtual address space management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/68—Details of translation look-aside buffer [TLB]
- G06F2212/684—TLB miss handling
Definitions
- At least some embodiments disclosed herein relate generally to computer architecture and more specifically, but not limited to, techniques for data exchange among computer programs executing in different computer processors.
- a processor of a computer loads instructions for execution, loads operand for processing, and store results according to memory addresses in the processor.
- a memory address identifies a memory location in the computer.
- Memory addresses are fixed-length sequences of digits conventionally displayed and manipulated as unsigned integers. The length of the sequences of digits or bits can be considered the width of the memory addresses.
- Memory addresses can be used directly in certain structures of central processing units (CPUs), such as in program counters and in memory address registers, to load instructions and/or operands of the instructions for processing and/or to store processing results. The size or width of such structures of a CPU typically determines the memory address width.
- a pointer is a programming language object that stores a memory address in computer memory.
- the actual format and content of a pointer variable is dependent on the underlying computer architecture.
- the applicable scope of a pointer is limited to a processor in which the program is running.
- a program running in a given computer may use pointers within the program to improve performances.
- a pointer in computer memory typically has the same width of the memory address registers in a Central Processing Unit (CPU). For example, manipulating the pointers can be more efficient than manipulating the data stored in the computer memory identified by the pointers.
- CPU Central Processing Unit
- Computers typically exchange data through computer files.
- heterogeneous computers on the Internet can exchange data through files identified using web addresses or Uniform Resource Locators (URLs).
- URLs Uniform Resource Locators
- a computer file is a data storage facility organized in a file system of a computer.
- the file system controls how data of a file is stored in, and retrieved from, a data storage device according to a predefined standard.
- Operations of a file system are typically programmed in an operation system running in the processor(s) of a computer.
- the operating system is a set of instructions that manage the computer resources to provide common services, including the access to computer files in a data storage device of the computer.
- a Uniform Resource Locator is a variable-length string of characters having multiple segments identifying various components of the URL.
- components of a URL include a communication protocol used to access the file at the URL through a computer network, a hostname identifying a computer on a computer network that controls the file, a file path of the file in the file system controlled by the computer, a file name of the file, etc.
- FIG. 1 shows a computer system configured to implement universal pointers using virtual memory addresses to facilitate data exchange among
- FIG. 2 illustrates the translation of a universal virtual address to a physical address.
- FIG. 3 illustrates an example of the translation of a universal virtual address to a physical address.
- FIG. 4 shows a method of data exchange between processors using a universal pointer.
- the present disclosure includes the techniques of implementing universal pointers using object-based virtual memory addresses.
- the object-based virtual memory addresses can be translated into physical memory addresses by separate processors that may even have different Instruction Set Architecture (ISA).
- ISA Instruction Set Architecture
- pointers based on object-based virtual memory addresses can be exchanged by computer programs running in different processors to exchange data without relying upon references to files.
- a first processor running a first operating system e.g., Windows
- a second processor running a second operating system e.g., Linux
- a universal pointer When a universal pointer is implemented, computer programs running in different computers may exchange data through exchanging pointers. Such a pointer provides a virtual memory address that can be used in different computers to access the same memory location where the different computers can even have different underlying computer architecture. Thus, the use of such universal pointers can facilitate a memory centric programming paradigm, where different processors can be connected to a set of memory devices and/or storage devices to
- Processor hardware can be configured to translate virtual addresses provided by pointers to physical addresses for memory access. Such an arrangement can improve efficiency and/or security by removing the need for multiple layers of software conventionally used in processing file accesses.
- FIG. 1 shows a computer system configured to implement universal pointers using virtual memory addresses to facilitate data exchange among
- the computer system of FIG. 1 includes multiple processors (111 , ... , 121 ).
- the processors (111 , ... , 121 ) can have different Instruction Set
- processors 111 , ... , 121 having the same Instruction Set Architecture (ISA) can also be used.
- the same virtual address (101 ) is usable in the different processors (111 , ... , 121 ) to access a same memory location in the computer system of FIG. 1.
- the memory location can be in memory (117) coupled to the processor A (111 ), or in memory (127) coupled to the processor B (121 ), or in a storage device (131 ).
- the computer system of FIG. 1 connects the processors (111 , ... , 121 ), the memory (117, ... , 127), and the storage device(s) (131 ) via an interconnect (109), which can include wired or wireless links (e.g., local area network (LAN), wide area network (WAN), wireless local area network (WLAN), wireless wide area network (WWAN), etc.), one or more computer buses, one or more computer networks, network devices, and/or the Internet.
- wired or wireless links e.g., local area network (LAN), wide area network (WAN), wireless local area network (WLAN), wireless wide area network (WWAN), etc.
- LAN local area network
- WAN wide area network
- WLAN wireless local area network
- WWAN wireless wide area network
- the processor A (111 ) accesses the memory (127) coupled to the processor B (121 ) through communicating with the processor B (121 ).
- the memory (127) is also coupled to the interconnect (109) directly such that the processor A (111 ) can access the memory (127) without going through the processor B (121 ).
- the processor B (121 ) also accesses the memory (127) through the interconnect (109).
- the processor B (121 ) may access the memory (117) coupled to the processor A (111 ) through communicating with the processor A (111 ), or access the memory (117) without going through the processor A (111 ) (e.g., when the memory (117) is also coupled to the interconnect (109) directly). In other instances, the processor A (111 ) also accesses the memory (117) through the interconnect (109).
- Each of the processors (111 , ... , 121 ) has a memory management unit (113, ... , or 123).
- the memory management unit (113, ... , or 123) has an address translation structure (115, ... , 125) that can convert the virtual address (101 ) into a physical address of a memory location and uses the physical address to access the memory location.
- a program running in the processor A (111 ) may send, to a program running in the processor B (121 ), a pointer identifying the virtual address (101 ), allowing the program running in the processor B (121 ) to process the data identified using the virtual address (101 ), or to execute a routine at a location identified using the virtual address (101 ).
- Such an approach avoids the need for the program running in the processor A (111 ) to use the services of an operating system running in the processor A (111 ) to organize the data into a file, stored the file in a storage device (131 ) such that the program running in the processor B (121 ) may access the data in the file using the services of an operating system running in the processor B (121 ).
- the virtual memory address (101 ) can have a predetermined width (e.g., a predetermined number of bits) for the processors (111 , ... , 121 ).
- the memory address (101 ) can include a portion representing an object ID (103) and a portion representing an offset (107) within the object represented by the object ID (103).
- the virtual address (101 ) and/or the object ID (103) of the virtual address can include a portion identifying an object type (105).
- the virtual address (101 ) and/or the object represented by the object ID (103) can specify ISA semantics that can be implemented by different manufacturers of the processors (111 , ... , 121 ).
- a static object ID of a predetermined value can be used to represent a kernel object of an operating system running in a processor (e.g., 111 , ... , or 121 ).
- a processor running instructions for the static object ID of the predetermined value do not perform conditional speculative execution during the execution of the instructions.
- the object ID (103), the object type (105), and the offset (107) have predetermined widths. Predetermined number of bits are used to represent the object ID (103), the object type (105), and the offset (107).
- each virtual address (101 ) has 128 bits in one embodiment.
- the virtual address (101 ) includes a 64-bit offset (107) and a 64-bit object ID (103).
- the object ID (103) can include a predetermined number of bits
- an object type (105) of a value from 0 to 3 can be used to identify a kernel object of an operating system.
- an object type (105) of a value of 4 to 5 can be used to specify that the offset is an address of different widths (e.g., a 64-bit address or 32-bit address included within the memory address that has 128 bits).
- an object type (105) of a value of 6 to 7 can be used to specify that a predetermined portion of the object ID is to be interpreted as an identifier of a local object or an object in Partitioned Global Address Space (PGAS).
- an object type (105) of a value of 32 can be used to specify that the remaining portion of the object ID is to be interpreted as an identifier of an object defined in a server (e.g., 197).
- the object represented by the object ID (103) can be the object A (141 ) in the memory (117) coupled to the processor A (111 ), or the object B (142) in the memory (127) coupled to the processor B (121 ), or the object C (143) in the storage device(s) (131 ).
- the object (141 , ... , 142, ... , or 143) represented by the object ID (103) can include instructions configured for execution in at least one of the processors (111 , ... , 121 ), and/or data to be manipulated by the instructions or by another program.
- the offset (107) can be used to identify a relevant portion of the object (141 , ... , 142, ... , or 143), such as a starting address of instructions/routine to be executed, or a starting address of a data entry or table to be processed, etc.
- a processor (111 , ... , or 121 ) can use the virtual address (101 ) in a program counter to load instructions of a routine of the object for execution.
- the object ID (103) and/or the object type (105) of the virtual address can be used to identify certain proprieties of the instructions and/or the routine for access control.
- a program running in a processor can use the virtual address (101 ) in a program counter to retrieve data of the object for processing.
- the computer system of FIG. 1 can include an object name server (133) that provides information about objects (e.g., 141 , ... , 142, ... , 143) identified by object IDs (e.g., 103) used in the virtual addresses (e.g., 101 ).
- the object name server (133) can store data indicating the name of an object (e.g., 141 , ... , 142, ... , or 143) represented by an object ID (103), access control parameters of the object (e.g., 141 , ... , 142, ... , or 143), a current storage location/physical address of the object (e.g., 141 , ... , 142, ... , or 143), a revision history of the object (e.g., 141 , ... , 142, ... , or 143), a physical address of a cached copied of the object (e.g., 141 ,
- a controller of the cached copied of the object e.g., 141 , ... , 142, ... , or 143
- privileges for accessing the object e.g., 141 , ... , 142, ... , or 143
- security configurations of the object e.g., 141 , ... , 142, ... , or 143
- other attributes e.g., 141 , ... , 142, ... , or 143
- An address translation structure (115, ... , or 125) of a processor (111 , or 121 ) may not have physical address information of all of the objects (141 , ... , 142,
- the address translation structure (115) may not have the physical address of the object (e.g., 142, ... , 143) represented by the object ID (103) specified in the virtual address (101 ).
- the address translation structure (115) can query the object name server (133) to obtain a physical address of the object (e.g., 142, ... , 143) and thus configure the address translation structure (115) for the translation of the virtual address (101 ) into a physical address to access the memory location identified by the virtual address (101 ).
- a communication protocol can be implemented on the interconnect (109) for the discovery of the physical address of an object (e.g., 142, ... , 143) represented by an object ID (103).
- object name server (133) can be effectively implemented via the communication protocol without a dedicated hardware; and the database of the object name server (133) can be distributed among the address translation structures (115, 125), the memory (117, ... , 127), and/or the storage device(s) (131 ).
- the object name server (133) can be either local to the computing system having the set of processors (111 , 121 ) (e.g., connected via a computer bus or a local area network) or remote to the computing system (e.g., connected via a wide area network and/or the Internet).
- the computer system of FIG. 1 can move, or cache, an object from one location (e.g., in a storage device (131 )) to another location (e.g., in memory (117, ... , or 127)) for improved efficiency in access and/or processing.
- the location information of the object can be updated in the object name server (133) and/or the address translation structures (115, ... , 125) of the processors (111 , ... , 121 ).
- heterogeneous processors e.g., 111 , ... , 121 in a computer system can exchange data freely without the need for middle layers of software for processing files and/or URLs.
- FIG. 2 illustrates the translation of a universal virtual address (101 ) to a physical address (153).
- an address translation table (151 ) is used to map the virtual address (101 ) to the physical address (153).
- the address translation table (151 ) can be implemented in an address translation structure (115, ... , or 125) of a memory management unit (113, ... , or 123).
- the address translation table (151 ) can include address information initially stored in, or identified by, the object name server (133).
- the attributes (135) of the object name server (133) can include a physical memory address of the object ID (103), or an entry point of a mapping data structure for converting the addresses of the object. Based on the physical memory address of the object ID (103), entries for mapping different portions of the object (e.g., 141 , ... , 142, ... , 143) represented by the object ID (103) can be calculated and populated in the address translation table (151 ).
- the attributes (135) of the object name server (133) can include a physical memory address for accessing entries configured to mapping different portions of the object (e.g., 141 , ... , 142, ... , 143) represented by the object ID (103).
- the physical memory address can be used to load the entries into the address translation table (151 ).
- FIG. 3 illustrates an example of the translation of a universal virtual address (101 ) to a physical address (153).
- the virtual address (101 ) can include an object ID (103), an object type (105), and an offset (107).
- the virtual address (101 ) can have a width of 128 bits; a number of bits (e.g., 59 or 58) of the virtual address (101 ) can be used to store the object ID (103), another number of bits (e.g., 5 or 6) of the virtual address (101 ) can be used to store the object type (105), and the remaining bits (e.g., 64) of the virtual address can be used to store the offset (107) relative to the object (e.g., 141 , ... , 142, ... , 143) that has the type (105) and the ID (103).
- the virtual address (101 ) can be an address stored in the memory (117, ... , 127), as configured, programmed, and/or seen by a programmer or user of a routine.
- the virtual address (101 ) can be the content of a universal pointer used by the
- a hash (161 ) is applied on the object ID (103) to generate an index (165).
- the index (165) has a less number of bits than the object ID (103) and thus reduces the size of the address translation table (151 ) for looking up an entry (e.g., 173, ... , 175) from the table (151 ) that is implemented in an address translation structure (115, ... , or 125) of a processor (111 , ... , or 121 ).
- the size of the address translation table (151 ) corresponds to the number or count (171 ) of entries in the table (151 ).
- hash collision can occur when multiple items are hashed into a same index. Chaining is one of the techniques to resolve hash collisions. The index resulting from a collision can be used to retrieve a list/chain of key-value pairs. Each item that is hashed into the index can be configured as the key in a
- the look up result for the item can be configured as the value in the corresponding key-value pair.
- the list/chain of key-value pairs identified via the index can be searched to find a key-value pair where the key matches with the item. The value of the matching key-value pair provides the look up result.
- the entry e.g., 173, ... , or 175 at the index (165) in the address translation table (151 ) can be retrieved as the resulting entry (163).
- the entry e.g., 173, ... , or 175) at the index (165) in the address translation table (151 ) identifies a collision chain (163).
- the collision chain (163) has a list/chain showing the entries (e.g., 182, 184, ... ) for the object IDs (e.g., 181 , 183) that are hashed (161 ) into the same index (165).
- the collision chain (163) can be searched to locate the entry (e.g., 182, or 184) that is specified for an object ID (e.g., 181 or 183) that matches with the object ID (103) before the hash (161 ).
- the located entry e.g., 182, or 184) is illustrated as the resulting entry (163).
- the hash (161 ) can be applied to a combination of the object ID (103), and optionally the object type (105) and/or a portion of the offset (107).
- a typical entry (163) looked up from the address translation table (151 ) using the index (165) can have fields for subsequent operations in address
- a valid field (191 ) can have a value indicating whether the entry (163) is a valid for address translation; a type field (193) can have a value indicating a type of translation to be performed using the entry; a page size field (195) can have a value indicating the memory page size for the determination of a page table entry; an address field (197); etc.
- the entry (163) can further include a field identifying the page table structure, and/or a field specifying security configuration for accessing the memory region corresponding to the entry (163).
- the entry (163) can further include a field identifying a table; and a hash of the offset (107) or a portion of the offset (107) can be used as an index in the table to retrieve an entry that identifies a page table structure, or a base (157) of a region (137) of physical addresses (153), or the physical address (153) corresponding to the virtual address (101 ).
- the entry (163) can further include a bounds length field for checking the validity of the offset (107) provided in a virtual memory address (101 ).
- the offset (107) is compared to the bounds length identified in the entry (163). If the offset (107) is greater than the bounds length, the virtual memory address (101 ) is invalid; the memory access made using the virtual memory address (101 ) is aborted; and a fault occurs.
- the address (197) provided in the entry (163) of the address translation table (151 ) can be a physical memory address of a page table or page directory. At least a portion of the offset (107) can be used as a virtual page number and an index in the page table or page directory to look up the next page table or page directory. The process of looking up the next page table or page directory can be repeated, until an entry looked up using the last virtual page number in the offset (107) is used to locate a page table entry. A base (157) of a physical memory page identified in the page table entry can be combined with the remaining portion of the offset (107) to generate a physical address (153).
- the hash (161 ) can be applied to the entire virtual address (101 ) such that the address (197) looked up using the index (165) is a physical address.
- the entry (163) can be considered as a page table entry and can include security configuration for the memory address.
- the entry (163) can require a large address translation table (151 ).
- the hash (161 ) can be applied to a combination of the object ID (103), optionally the object type (105), and a portion of the offset (107); and the address (197) looked up using the index (165) is a base of a page of physical addresses.
- the remaining portion of the offset (107) can be combined with the base to generate the physical address (e.g., 153).
- the address translation table (151 ) can be considered as a page table; the portion of the address (101 ) used to generate the index (165) from hashing (161 ) can be
- entry ID or a virtual page number (VPN); and the entry (163) can be considered as a page table entry and can optionally include a security configuration for the memory address.
- VPN virtual page number
- the hash (161 ) can be applied to a combination of the object ID (103), optionally the object type (105), and a portion of the offset (107); and the address (197) in the entry (163) looked up using the index (165) is the physical address of a page table. Since the entry (163) identifies a page table, the portion of the address (101 ) used to generate the index (165) from hashing (161 ) can be considered a table ID.
- a portion of the offset (107) can be used as an entry ID (145) or a virtual page number (VPN) in the page table to look up the page table entry that contains the base of a memory page or memory region; and the remaining portion of the offset (107) can be combined with the base to generate the physical address (153).
- the hash (161 ) can be applied to a combination of the object ID (103), optionally the object type (105), and a portion of the offset (107); and the address (197) in the entry (163) looked up using the index (165) is the address of a page directory.
- the offset (107) can have one or more virtual page numbers for one or more page directories or page tables.
- a virtual page number (VPN) in the offset (107) is used to index into the page directory to look up the base of a subsequent page directory or page table.
- the last virtual page number (VPN) in the offset (107) is used to index into a page table to retrieve the page table entry containing the base of the memory region (137).
- the leading portion of the address (101 ), including the virtual page number (VPN) before the last virtual page number (VPN) can be considered a table ID.
- a collision chain (180) can be used to identify a unique address associated with each of the object IDs.
- the address (197) can be used to identify a table, list, or chain storing the collision chain (180), from which a unique entry (e.g., 182, or 184) for address translation for the object ID (103) can be located.
- the unique entry (e.g., 182, or 184) looked up from the collision chain (180) can have a structure similar to the entry (163) looked up directly from the address translation table (151 ) without collision.
- FIG. 4 shows a method of data exchange between processors using a universal pointer.
- the method of FIG. 4 can be implemented in a computing system of FIG. 1.
- the universal pointer can be implemented to include a virtual address (101 ) illustrated in FIGS. 1 , 2, and 3.
- the virtual address (101 ) can be translated into a same physical address (153) by the different processors (111 , ... , 121 ) using the object name server (133) of FIG. 2 and/or the address translation table (151 ) of FIG. 2 or FIG. 3.
- a first processor (111 ) of a computing system executes first instructions.
- the first instructions can be programmed to use a pointer.
- the first processor (111 ) constructs the pointer identifying a virtual memory address (101 ) during the execution of the first instructions.
- the virtual memory address (101 ) can have a predetermined number of bits (e.g., 128 bits).
- a first predetermined number of bits of the virtual memory address (101 ) represent an identifier (103) of an object (e.g., 141 , 142,
- a second predetermined number of bits represents a memory location offset (107) within the object (e.g., 141 , ... , 142, ... , or 143). Since the object (e.g., 141 , ... , 142, ... , or 143) is known global within the computing system, the memory location identified by the virtual memory address (101 ) is independent of any particular processor (111 , ... , or 121 ) in the computing system.
- an object name server (133) in the computing system can be used to provide information about the location of the object (e.g., 141 , ... , 142, ... , or 143) that is represented by the object identifier (103).
- any processor (111 , or 121 ) in the computing system can access the same memory location identified via the offset (107) relative to the object (e.g., 141 , ... , 142, ... , or 143).
- Different processors (111 , ... , 121 ) may access the same memory location via different communication paths that may involve communication methods.
- the first processor (111 ) communicates the pointer to a second processor (121 ) of the computing system.
- the first processor (111 ) and the second processor (121 ) can have different instruction set architecture (ISA), or optionally the same ISA.
- ISA instruction set architecture
- the pointer can be communicated from the first processor (111 ) to the second processor (121 ) via a computer network, a computer bus, and/or the Internet.
- the pointer having the virtual memory address (101 ) can be used in any of the processors (111 , ... , 121 ) in the computing system to access the same memory location.
- the first processor (111 ) can provide data to and/or obtain data from the second processor (121 ) via the pointer, or request the second processor (121 ) to execute a routine identified by the pointer.
- the first processor (111 ) can store a computing result at a physical memory address (153) corresponding to the virtual memory address (101 ), during the execution of the first instructions. After communicating the pointer to the second processor (121 ), the second processor (121 ) can further operate on the result generated by the first processor (111 ). Further, the first processor (111 ) can subsequently access the processing result generated by the second processor (121 ) at the virtual memory address (101 ).
- the first processor (111 ) can identify, configure, or generate instructions of the object (141 , ... , 142, ... , or 143) for execution by the second processor (121 ); and the first processor (111 ) can provide the pointer identifying the entry point of the instructions to the second processor (121 ) and request the second processor (121 ) to execute the instructions of the object (141 , ... , 142, ... , or 143).
- the second processor (121 ) executes second instructions.
- the second instructions may or may not be part of the object (141 , ... , 142, ... , or 143) identified by the virtual memory address (101 ) of the pointer.
- the second processor (121 ) accesses the virtual memory address (101 ) in accordance with the pointer during execution of the second instructions.
- a memory management unit (123) of the second processor (121 ) can convert the virtual memory address (101 ) into a physical memory address (153) using an address translation structure (115) that has an address translation table (151 ).
- the memory management unit (123) can access the physical memory address (153). For example, when the virtual memory address (101 ) is in a program counter of the second processor (121 ), the memory management unit (123) can load an instruction from the physical memory address (153) into the second processor (121 ) for execution.
- the memory management unit (123) can load the operand from the physical memory address (153) into the second processor (121 ) for processing during the execution of the instruction.
- the memory location identified by the virtual memory address (101 ) can be in the memory (117) of the first processor (111 ), a memory (127) of the second processor (121 ), or a storage device (143) in the computing system.
- an object can have different portions stored in different memory (e.g., 117, ... , 127) and/or storage devices (131 ).
- a set of address translation entries can be used to locate the address map(s) for the translation of virtual memory addresses (e.g., 101 ) in the different portions to the respective physical memory addresses (e.g., 153).
- the memory management unit e.g., 113, ... , or 123 of a processor (e.g., 111 , ... , or 121 ) communicates with an object name server (133) of the computing system to configure its address translation structure (e.g., 115, ... , or 125) such that the address translation structure can translate virtual addresses (e.g.,
- the address translation structure e.g., 115, ... , or 125
- the address translation structure can communicate with the object name server (133) (and/or other address translation structures in the computing system) to retrieve one or more entries (e.g., 173, ... , or 175) for the translation of virtual addresses of the object (141 , ... , 142, ... , or 143).
- the retrieved the entries can be populated into the address translation table (151 ) according to the hash (161 ) and/or collision chain (180) implemented respective processor.
- the translation of the virtual address (101 ) into the physical address (153) can be performed as illustrated in FIG. 3.
- Different processors (111 , ... , 121 ) may set up their address translation table (151 ) differently. However, the same virtual address (101 ) is translated into the physical address (153) for accessing the same memory location in the computing system.
- the processors (111 , ... , 121 ) can use the pointer having the virtual address (101 ) to facilitate data exchange and/or sharing.
- Some objects can use a same static object ID when the objects are not configured to be shared among different processors. For example, kernel objects of an operating system running in a processor (111 ) may not be shared with another processor (121 ). Thus, the different processors (111 ) can use the same static object ID (e.g., 0) for the kernel objects located in different memory locations in the computing system. Such a technique also improves data security and/or reduces security vulnerability.
- the techniques disclosed herein can be applied to at least to computer systems where processors are separated from memory and processors communicate with memory and storage devices via communication buses and/or computer networks. Further, the techniques disclosed herein can be applied to computer systems in which processing capabilities are integrated within memory/storage.
- the processing circuits including executing units and/or registers of a typical processor, can be implemented within the integrated circuits and/or the integrated circuit packages of memory media to performing processing within a memory device.
- a processor e.g., 101
- the processor can be a unit integrated within memory to overcome the von Neumann bottleneck that limits computing performance as a result of a limit in throughput caused by latency in data moves between a central processing unit and memory configured separately according to the von Neumann architecture.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Multi Processors (AREA)
Abstract
A system, method and apparatus to facilitate data exchange via pointers. For example, in a computing system having a first processor and a second processor that is separate and independent from the first processor, the first processor can run a program configured to use a pointer identifying a virtual memory address having an ID of an object and an offset within the object. The first processor can use the virtual memory address to store data at a memory location in the computing system and/or identify a routine at the memory location for execution by the second processor. After the pointer is communicated from the first processor to the second processor, the second processor can access the same memory location identified by the virtual memory address. The second processor may operate on the data stored at the memory location or load the routine from the memory location for execution.
Description
UNIVERSAL POINTERS FOR DATA EXCHANGE IN A COMPUTER SYSTEM
HAVING INDEPENDENT PROCESSORS
RELATED APPLICATIONS
[0001] The present application claims priority to U.S. Pat. App. Ser. No.
16/170,799, filed on Oct. 25, 2018 and entitled“Universal Pointers for Data Exchange in a Computer System having Independent Processors,” the entire disclosure of which application is hereby incorporated herein by reference.
[0002] The present application relates to U.S. Pat. App. Ser. No. 16/028,840, filed on Jul. 6, 2018 and entitled“Static Identifications in Object-based Memory Access,” and U.S. Pat. App. Ser. No. 16/028,750, filed on Jul. 6, 2018 and entitled“Securing Conditional Speculative Instruction Execution,” the entire disclosures of which applications are hereby incorporated herein by reference.
FIELD OF THE TECHNOLOGY
[0003] At least some embodiments disclosed herein relate generally to computer architecture and more specifically, but not limited to, techniques for data exchange among computer programs executing in different computer processors.
BACKGROUND
[0004] A processor of a computer loads instructions for execution, loads operand for processing, and store results according to memory addresses in the processor.
A memory address identifies a memory location in the computer. Memory addresses are fixed-length sequences of digits conventionally displayed and manipulated as unsigned integers. The length of the sequences of digits or bits can be considered the width of the memory addresses. Memory addresses can be used directly in certain structures of central processing units (CPUs), such as in program counters and in memory address registers, to load instructions and/or operands of the instructions for processing and/or to store processing results. The size or width of such structures of a CPU typically determines the memory address width.
[0005] A pointer is a programming language object that stores a memory address in computer memory. Conventionally, the actual format and content of a pointer
variable is dependent on the underlying computer architecture. The applicable scope of a pointer is limited to a processor in which the program is running. A program running in a given computer may use pointers within the program to improve performances. A pointer in computer memory typically has the same width of the memory address registers in a Central Processing Unit (CPU). For example, manipulating the pointers can be more efficient than manipulating the data stored in the computer memory identified by the pointers.
[0006] Computers typically exchange data through computer files. For example, heterogeneous computers on the Internet can exchange data through files identified using web addresses or Uniform Resource Locators (URLs).
[0007] A computer file is a data storage facility organized in a file system of a computer. The file system controls how data of a file is stored in, and retrieved from, a data storage device according to a predefined standard. Operations of a file system are typically programmed in an operation system running in the processor(s) of a computer. The operating system is a set of instructions that manage the computer resources to provide common services, including the access to computer files in a data storage device of the computer.
[0008] A Uniform Resource Locator (URL) is a variable-length string of characters having multiple segments identifying various components of the URL. Examples of components of a URL include a communication protocol used to access the file at the URL through a computer network, a hostname identifying a computer on a computer network that controls the file, a file path of the file in the file system controlled by the computer, a file name of the file, etc.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements.
[0010] FIG. 1 shows a computer system configured to implement universal pointers using virtual memory addresses to facilitate data exchange among
independent processors.
[0011] FIG. 2 illustrates the translation of a universal virtual address to a physical address.
[0012] FIG. 3 illustrates an example of the translation of a universal virtual address to a physical address.
[0013] FIG. 4 shows a method of data exchange between processors using a universal pointer.
DETAILED DESCRIPTION
[0014] The present disclosure includes the techniques of implementing universal pointers using object-based virtual memory addresses. The object-based virtual memory addresses can be translated into physical memory addresses by separate processors that may even have different Instruction Set Architecture (ISA). Thus, pointers based on object-based virtual memory addresses can be exchanged by computer programs running in different processors to exchange data without relying upon references to files. For example, a first processor running a first operating system (e.g., Windows) can access, via the Internet, data stored on a second processor running a second operating system (e.g., Linux), where the first and second processors can have different instruction sets.
[0015] Computer programs running in different computers may exchange data through computer files identified via Uniform Resource Locators (URLs). However, the processing of URLs to access data stored in computer files can be inefficient, involving multiple layers of software, such as operating systems, device drivers, and/or applications. The need for the multiple layers of software also increases the likelihood of security vulnerability.
[0016] When a universal pointer is implemented, computer programs running in different computers may exchange data through exchanging pointers. Such a pointer provides a virtual memory address that can be used in different computers to access the same memory location where the different computers can even have different underlying computer architecture. Thus, the use of such universal pointers can facilitate a memory centric programming paradigm, where different processors can be connected to a set of memory devices and/or storage devices to
collaboratively process and/or operate on the data in the memory devices and/or storage devices. Processor hardware can be configured to translate virtual addresses provided by pointers to physical addresses for memory access. Such an
arrangement can improve efficiency and/or security by removing the need for multiple layers of software conventionally used in processing file accesses.
[0017] FIG. 1 shows a computer system configured to implement universal pointers using virtual memory addresses to facilitate data exchange among
independent processors.
[0018] The computer system of FIG. 1 includes multiple processors (111 , ... , 121 ). In general, the processors (111 , ... , 121 ) can have different Instruction Set
Architecture (ISA). However, processors (111 , ... , 121 ) having the same Instruction Set Architecture (ISA) can also be used.
[0019] In FIG. 1 , the same virtual address (101 ) is usable in the different processors (111 , ... , 121 ) to access a same memory location in the computer system of FIG. 1.
[0020] For example, the memory location can be in memory (117) coupled to the processor A (111 ), or in memory (127) coupled to the processor B (121 ), or in a storage device (131 ).
[0021] The computer system of FIG. 1 connects the processors (111 , ... , 121 ), the memory (117, ... , 127), and the storage device(s) (131 ) via an interconnect (109), which can include wired or wireless links (e.g., local area network (LAN), wide area network (WAN), wireless local area network (WLAN), wireless wide area network (WWAN), etc.), one or more computer buses, one or more computer networks, network devices, and/or the Internet.
[0022] In some instances, the processor A (111 ) accesses the memory (127) coupled to the processor B (121 ) through communicating with the processor B (121 ). Alternatively, the memory (127) is also coupled to the interconnect (109) directly such that the processor A (111 ) can access the memory (127) without going through the processor B (121 ). In other instances, the processor B (121 ) also accesses the memory (127) through the interconnect (109).
[0023] Similarly, the processor B (121 ) may access the memory (117) coupled to the processor A (111 ) through communicating with the processor A (111 ), or access the memory (117) without going through the processor A (111 ) (e.g., when the memory (117) is also coupled to the interconnect (109) directly). In other instances, the processor A (111 ) also accesses the memory (117) through the interconnect (109).
[0024] Each of the processors (111 , ... , 121 ) has a memory management unit (113, ... , or 123). The memory management unit (113, ... , or 123) has an address translation structure (115, ... , 125) that can convert the virtual address (101 ) into a physical address of a memory location and uses the physical address to access the memory location.
[0025] Thus, a program running in the processor A (111 ) may send, to a program running in the processor B (121 ), a pointer identifying the virtual address (101 ), allowing the program running in the processor B (121 ) to process the data identified using the virtual address (101 ), or to execute a routine at a location identified using the virtual address (101 ). Such an approach avoids the need for the program running in the processor A (111 ) to use the services of an operating system running in the processor A (111 ) to organize the data into a file, stored the file in a storage device (131 ) such that the program running in the processor B (121 ) may access the data in the file using the services of an operating system running in the processor B (121 ).
[0026] The virtual memory address (101 ) can have a predetermined width (e.g., a predetermined number of bits) for the processors (111 , ... , 121 ). The memory address (101 ) can include a portion representing an object ID (103) and a portion representing an offset (107) within the object represented by the object ID (103). Optionally, the virtual address (101 ) and/or the object ID (103) of the virtual address can include a portion identifying an object type (105).
[0027] The virtual address (101 ) and/or the object represented by the object ID (103) can specify ISA semantics that can be implemented by different manufacturers of the processors (111 , ... , 121 ).
[0028] For example, a static object ID of a predetermined value (e.g., 0) can be used to represent a kernel object of an operating system running in a processor (e.g., 111 , ... , or 121 ). For improved security, a processor running instructions for the static object ID of the predetermined value (e.g., 0) do not perform conditional speculative execution during the execution of the instructions.
[0029] Some details and examples of static object IDs in memory addresses for computer processors to load instructions for execution can be found in U.S. Pat. App. Ser. No. 16/028,840, filed Jul. 6, 2018 and entitled“Static Identifications in
Object-based Memory Access,” the entire disclosure of which application is hereby incorporated herein by reference.
[0030] Some details and examples of securing conditional speculative instruction execution based on static object IDs can be found in U.S. Pat. App. Ser. No.
16/028,750, filed Jul. 6, 2018 and entitled“Securing Conditional Speculative
Instruction Execution,” the entire disclosure of which application is hereby
incorporated herein by reference.
[0031] Preferably, the object ID (103), the object type (105), and the offset (107) have predetermined widths. Predetermined number of bits are used to represent the object ID (103), the object type (105), and the offset (107).
[0032] For example, each virtual address (101 ) has 128 bits in one embodiment. The virtual address (101 ) includes a 64-bit offset (107) and a 64-bit object ID (103). Optionally, the object ID (103) can include a predetermined number of bits
representing a type (105) of the object (e.g., 141 , ... , 143, or 143).
[0033] For example, an object type (105) of a value from 0 to 3 can be used to identify a kernel object of an operating system. For example, an object type (105) of a value of 4 to 5 can be used to specify that the offset is an address of different widths (e.g., a 64-bit address or 32-bit address included within the memory address that has 128 bits). For example, an object type (105) of a value of 6 to 7 can be used to specify that a predetermined portion of the object ID is to be interpreted as an identifier of a local object or an object in Partitioned Global Address Space (PGAS). For example, an object type (105) of a value of 32 can be used to specify that the remaining portion of the object ID is to be interpreted as an identifier of an object defined in a server (e.g., 197).
[0034] For example, the object represented by the object ID (103) can be the object A (141 ) in the memory (117) coupled to the processor A (111 ), or the object B (142) in the memory (127) coupled to the processor B (121 ), or the object C (143) in the storage device(s) (131 ).
[0035] In general, the object (141 , ... , 142, ... , or 143) represented by the object ID (103) can include instructions configured for execution in at least one of the processors (111 , ... , 121 ), and/or data to be manipulated by the instructions or by another program. The offset (107) can be used to identify a relevant portion of the object (141 , ... , 142, ... , or 143), such as a starting address of instructions/routine to be executed, or a starting address of a data entry or table to be processed, etc.
[0036] For example, a processor (111 , ... , or 121 ) can use the virtual address (101 ) in a program counter to load instructions of a routine of the object for execution.
The object ID (103) and/or the object type (105) of the virtual address can be used to identify certain proprieties of the instructions and/or the routine for access control.
[0037] For example, a program running in a processor (111 , ... , or 121 ) can use the virtual address (101 ) in a program counter to retrieve data of the object for processing.
[0038] The computer system of FIG. 1 can include an object name server (133) that provides information about objects (e.g., 141 , ... , 142, ... , 143) identified by object IDs (e.g., 103) used in the virtual addresses (e.g., 101 ). For example, the object name server (133) can store data indicating the name of an object (e.g., 141 , ... , 142, ... , or 143) represented by an object ID (103), access control parameters of the object (e.g., 141 , ... , 142, ... , or 143), a current storage location/physical address of the object (e.g., 141 , ... , 142, ... , or 143), a revision history of the object (e.g., 141 , ... , 142, ... , or 143), a physical address of a cached copied of the object (e.g., 141 ,
... , 142, ... , or 143), a controller of the cached copied of the object (e.g., 141 , ... , 142, ... , or 143), privileges for accessing the object (e.g., 141 , ... , 142, ... , or 143), security configurations of the object (e.g., 141 , ... , 142, ... , or 143), and/or other attributes (135) of the object.
[0039] An address translation structure (115, ... , or 125) of a processor (111 , or 121 ) may not have physical address information of all of the objects (141 , ... , 142,
... , 143) at a particular time instance of operation.
[0040] For example, when the virtual address (101 ) is first constructed or used in the processor (111 ), the address translation structure (115) may not have the physical address of the object (e.g., 142, ... , 143) represented by the object ID (103) specified in the virtual address (101 ). The address translation structure (115) can query the object name server (133) to obtain a physical address of the object (e.g., 142, ... , 143) and thus configure the address translation structure (115) for the translation of the virtual address (101 ) into a physical address to access the memory location identified by the virtual address (101 ).
[0041] In some implementations, a communication protocol can be implemented on the interconnect (109) for the discovery of the physical address of an object (e.g., 142, ... , 143) represented by an object ID (103). Thus, the object name server (133) can be effectively implemented via the communication protocol without a dedicated hardware; and the database of the object name server (133) can be distributed
among the address translation structures (115, 125), the memory (117, ... , 127), and/or the storage device(s) (131 ).
[0042] The object name server (133) can be either local to the computing system having the set of processors (111 , 121 ) (e.g., connected via a computer bus or a local area network) or remote to the computing system (e.g., connected via a wide area network and/or the Internet).
[0043] Optionally, the computer system of FIG. 1 can move, or cache, an object from one location (e.g., in a storage device (131 )) to another location (e.g., in memory (117, ... , or 127)) for improved efficiency in access and/or processing. When the object is moved, or cached, the location information of the object can be updated in the object name server (133) and/or the address translation structures (115, ... , 125) of the processors (111 , ... , 121 ).
[0044] Using pointers implemented using virtual addresses (e.g., 101 ) as illustrated in FIG. 1 , heterogeneous processors (e.g., 111 , ... , 121 ) in a computer system can exchange data freely without the need for middle layers of software for processing files and/or URLs.
[0045] FIG. 2 illustrates the translation of a universal virtual address (101 ) to a physical address (153).
[0046] In FIG. 2, an address translation table (151 ) is used to map the virtual address (101 ) to the physical address (153). The address translation table (151 ) can be implemented in an address translation structure (115, ... , or 125) of a memory management unit (113, ... , or 123).
[0047] The address translation table (151 ) can include address information initially stored in, or identified by, the object name server (133).
[0048] For example, the attributes (135) of the object name server (133) can include a physical memory address of the object ID (103), or an entry point of a mapping data structure for converting the addresses of the object. Based on the physical memory address of the object ID (103), entries for mapping different portions of the object (e.g., 141 , ... , 142, ... , 143) represented by the object ID (103) can be calculated and populated in the address translation table (151 ).
[0049] For example, the attributes (135) of the object name server (133) can include a physical memory address for accessing entries configured to mapping different portions of the object (e.g., 141 , ... , 142, ... , 143) represented by the object
ID (103). The physical memory address can be used to load the entries into the address translation table (151 ).
[0050] FIG. 3 illustrates an example of the translation of a universal virtual address (101 ) to a physical address (153).
[0051] The virtual address (101 ) can include an object ID (103), an object type (105), and an offset (107). For example, the virtual address (101 ) can have a width of 128 bits; a number of bits (e.g., 59 or 58) of the virtual address (101 ) can be used to store the object ID (103), another number of bits (e.g., 5 or 6) of the virtual address (101 ) can be used to store the object type (105), and the remaining bits (e.g., 64) of the virtual address can be used to store the offset (107) relative to the object (e.g., 141 , ... , 142, ... , 143) that has the type (105) and the ID (103). For example, the virtual address (101 ) can be an address stored in the memory (117, ... , 127), as configured, programmed, and/or seen by a programmer or user of a routine. The virtual address (101 ) can be the content of a universal pointer used by the
programmer or user.
[0052] In FIG. 3, a hash (161 ) is applied on the object ID (103) to generate an index (165). The index (165) has a less number of bits than the object ID (103) and thus reduces the size of the address translation table (151 ) for looking up an entry (e.g., 173, ... , 175) from the table (151 ) that is implemented in an address translation structure (115, ... , or 125) of a processor (111 , ... , or 121 ). The size of the address translation table (151 ) corresponds to the number or count (171 ) of entries in the table (151 ).
[0053] Flowever, hash collision can occur when multiple items are hashed into a same index. Chaining is one of the techniques to resolve hash collisions. The index resulting from a collision can be used to retrieve a list/chain of key-value pairs. Each item that is hashed into the index can be configured as the key in a
corresponding key-value pair in the list; and the look up result for the item can be configured as the value in the corresponding key-value pair. To retrieve the look up result of one of the items that are hashed into the same index, the list/chain of key-value pairs identified via the index can be searched to find a key-value pair where the key matches with the item. The value of the matching key-value pair provides the look up result.
[0054] When there is no hash collision for the index (165), the entry (e.g., 173, ... , or 175) at the index (165) in the address translation table (151 ) can be retrieved as the resulting entry (163).
[0055] When there is hash collision for the index (165), the entry (e.g., 173, ... , or 175) at the index (165) in the address translation table (151 ) identifies a collision chain (163). The collision chain (163) has a list/chain showing the entries (e.g., 182, 184, ... ) for the object IDs (e.g., 181 , 183) that are hashed (161 ) into the same index (165). The collision chain (163) can be searched to locate the entry (e.g., 182, or 184) that is specified for an object ID (e.g., 181 or 183) that matches with the object ID (103) before the hash (161 ). The located entry (e.g., 182, or 184) is illustrated as the resulting entry (163).
[0056] In general, the hash (161 ) can be applied to a combination of the object ID (103), and optionally the object type (105) and/or a portion of the offset (107).
[0057] A typical entry (163) looked up from the address translation table (151 ) using the index (165) can have fields for subsequent operations in address
translation (235).
[0058] For example, a valid field (191 ) can have a value indicating whether the entry (163) is a valid for address translation; a type field (193) can have a value indicating a type of translation to be performed using the entry; a page size field (195) can have a value indicating the memory page size for the determination of a page table entry; an address field (197); etc.
[0059] For example, the entry (163) can further include a field identifying the page table structure, and/or a field specifying security configuration for accessing the memory region corresponding to the entry (163).
[0060] Alternatively, the entry (163) can further include a field identifying a table; and a hash of the offset (107) or a portion of the offset (107) can be used as an index in the table to retrieve an entry that identifies a page table structure, or a base (157) of a region (137) of physical addresses (153), or the physical address (153) corresponding to the virtual address (101 ).
[0061] Optionally, the entry (163) can further include a bounds length field for checking the validity of the offset (107) provided in a virtual memory address (101 ). During the translation of the virtual memory address (101 ) into a physical memory address (153), the offset (107) is compared to the bounds length identified in the entry (163). If the offset (107) is greater than the bounds length, the virtual memory
address (101 ) is invalid; the memory access made using the virtual memory address (101 ) is aborted; and a fault occurs.
[0062] The address (197) provided in the entry (163) of the address translation table (151 ) can be a physical memory address of a page table or page directory. At least a portion of the offset (107) can be used as a virtual page number and an index in the page table or page directory to look up the next page table or page directory. The process of looking up the next page table or page directory can be repeated, until an entry looked up using the last virtual page number in the offset (107) is used to locate a page table entry. A base (157) of a physical memory page identified in the page table entry can be combined with the remaining portion of the offset (107) to generate a physical address (153).
[0063] Optionally, the hash (161 ) can be applied to the entire virtual address (101 ) such that the address (197) looked up using the index (165) is a physical address.
In such an implementation, the entry (163) can be considered as a page table entry and can include security configuration for the memory address. However, such an implementation can require a large address translation table (151 ).
[0064] Alternatively, the hash (161 ) can be applied to a combination of the object ID (103), optionally the object type (105), and a portion of the offset (107); and the address (197) looked up using the index (165) is a base of a page of physical addresses. The remaining portion of the offset (107) can be combined with the base to generate the physical address (e.g., 153). In such an implementation, the address translation table (151 ) can be considered as a page table; the portion of the address (101 ) used to generate the index (165) from hashing (161 ) can be
considered an entry ID or a virtual page number (VPN); and the entry (163) can be considered as a page table entry and can optionally include a security configuration for the memory address.
[0065] Alternatively, the hash (161 ) can be applied to a combination of the object ID (103), optionally the object type (105), and a portion of the offset (107); and the address (197) in the entry (163) looked up using the index (165) is the physical address of a page table. Since the entry (163) identifies a page table, the portion of the address (101 ) used to generate the index (165) from hashing (161 ) can be considered a table ID. A portion of the offset (107) can be used as an entry ID (145) or a virtual page number (VPN) in the page table to look up the page table entry that contains the base of a memory page or memory region; and the remaining portion of
the offset (107) can be combined with the base to generate the physical address (153).
[0066] Alternatively, the hash (161 ) can be applied to a combination of the object ID (103), optionally the object type (105), and a portion of the offset (107); and the address (197) in the entry (163) looked up using the index (165) is the address of a page directory. The offset (107) can have one or more virtual page numbers for one or more page directories or page tables. A virtual page number (VPN) in the offset (107) is used to index into the page directory to look up the base of a subsequent page directory or page table. The last virtual page number (VPN) in the offset (107) is used to index into a page table to retrieve the page table entry containing the base of the memory region (137). In such an implementation, the leading portion of the address (101 ), including the virtual page number (VPN) before the last virtual page number (VPN) can be considered a table ID.
[0067] In some instances, when different object IDs are hashed to generate the same index (165), a collision chain (180) can be used to identify a unique address associated with each of the object IDs. In such a situation, the address (197) can be used to identify a table, list, or chain storing the collision chain (180), from which a unique entry (e.g., 182, or 184) for address translation for the object ID (103) can be located. The unique entry (e.g., 182, or 184) looked up from the collision chain (180) can have a structure similar to the entry (163) looked up directly from the address translation table (151 ) without collision.
[0068] FIG. 4 shows a method of data exchange between processors using a universal pointer. For example, the method of FIG. 4 can be implemented in a computing system of FIG. 1. The universal pointer can be implemented to include a virtual address (101 ) illustrated in FIGS. 1 , 2, and 3. The virtual address (101 ) can be translated into a same physical address (153) by the different processors (111 , ... , 121 ) using the object name server (133) of FIG. 2 and/or the address translation table (151 ) of FIG. 2 or FIG. 3.
[0069] At block 201 , a first processor (111 ) of a computing system executes first instructions. The first instructions can be programmed to use a pointer.
[0070] At block 203, the first processor (111 ) constructs the pointer identifying a virtual memory address (101 ) during the execution of the first instructions.
[0071] For example, the virtual memory address (101 ) can have a predetermined number of bits (e.g., 128 bits). A first predetermined number of bits of the virtual
memory address (101 ) represent an identifier (103) of an object (e.g., 141 , 142,
... , or 143); and a second predetermined number of bits (e.g., 64 bits) represents a memory location offset (107) within the object (e.g., 141 , ... , 142, ... , or 143). Since the object (e.g., 141 , ... , 142, ... , or 143) is known global within the computing system, the memory location identified by the virtual memory address (101 ) is independent of any particular processor (111 , ... , or 121 ) in the computing system.
[0072] For example, an object name server (133) in the computing system can be used to provide information about the location of the object (e.g., 141 , ... , 142, ... , or 143) that is represented by the object identifier (103). Thus, any processor (111 , or 121 ) in the computing system can access the same memory location identified via the offset (107) relative to the object (e.g., 141 , ... , 142, ... , or 143). Different processors (111 , ... , 121 ) may access the same memory location via different communication paths that may involve communication methods.
[0073] At block 205, the first processor (111 ) communicates the pointer to a second processor (121 ) of the computing system.
[0074] For example, the first processor (111 ) and the second processor (121 ) can have different instruction set architecture (ISA), or optionally the same ISA.
[0075] For example, the pointer can be communicated from the first processor (111 ) to the second processor (121 ) via a computer network, a computer bus, and/or the Internet.
[0076] Since the virtual memory address (101 ) is universally valid in the
computing system and not specific to the first processor (111 ) where the virtual memory address (101 ) is identified, created or used, the pointer having the virtual memory address (101 ) can be used in any of the processors (111 , ... , 121 ) in the computing system to access the same memory location.
[0077] The first processor (111 ) can provide data to and/or obtain data from the second processor (121 ) via the pointer, or request the second processor (121 ) to execute a routine identified by the pointer.
[0078] For example, the first processor (111 ) can store a computing result at a physical memory address (153) corresponding to the virtual memory address (101 ), during the execution of the first instructions. After communicating the pointer to the second processor (121 ), the second processor (121 ) can further operate on the result generated by the first processor (111 ). Further, the first processor (111 ) can
subsequently access the processing result generated by the second processor (121 ) at the virtual memory address (101 ).
[0079] For example, the first processor (111 ) can identify, configure, or generate instructions of the object (141 , ... , 142, ... , or 143) for execution by the second processor (121 ); and the first processor (111 ) can provide the pointer identifying the entry point of the instructions to the second processor (121 ) and request the second processor (121 ) to execute the instructions of the object (141 , ... , 142, ... , or 143).
[0080] At block 207, the second processor (121 ) executes second instructions. The second instructions may or may not be part of the object (141 , ... , 142, ... , or 143) identified by the virtual memory address (101 ) of the pointer.
[0081] At block 209, the second processor (121 ) accesses the virtual memory address (101 ) in accordance with the pointer during execution of the second instructions.
[0082] For example, a memory management unit (123) of the second processor (121 ) can convert the virtual memory address (101 ) into a physical memory address (153) using an address translation structure (115) that has an address translation table (151 ).
[0083] The memory management unit (123) can access the physical memory address (153). For example, when the virtual memory address (101 ) is in a program counter of the second processor (121 ), the memory management unit (123) can load an instruction from the physical memory address (153) into the second processor (121 ) for execution.
[0084] For example, when the virtual memory address (101 ) is in a memory address register of the second processor (121 ) during the execution of an instruction that operates on an operand identified by the memory address, the memory management unit (123) can load the operand from the physical memory address (153) into the second processor (121 ) for processing during the execution of the instruction.
[0085] The memory location identified by the virtual memory address (101 ) can be in the memory (117) of the first processor (111 ), a memory (127) of the second processor (121 ), or a storage device (143) in the computing system.
[0086] In some instances, an object can have different portions stored in different memory (e.g., 117, ... , 127) and/or storage devices (131 ). A set of address translation entries can be used to locate the address map(s) for the translation of
virtual memory addresses (e.g., 101 ) in the different portions to the respective physical memory addresses (e.g., 153).
[0087] In some instances, the memory management unit (e.g., 113, ... , or 123) of a processor (e.g., 111 , ... , or 121 ) communicates with an object name server (133) of the computing system to configure its address translation structure (e.g., 115, ... , or 125) such that the address translation structure can translate virtual addresses (e.g.,
101 ) having the identifier (103) of the object (141 , ... , 142, ... , or 143) to physical addresses (e.g., 153).
[0088] For example, when address information of an object (141 , ... , 142, ... , or 143) is not already in the address translation table (151 ) of an address translation structure (e.g., 115, ... , or 125), the address translation structure (e.g., 115, ... , or 125) can communicate with the object name server (133) (and/or other address translation structures in the computing system) to retrieve one or more entries (e.g., 173, ... , or 175) for the translation of virtual addresses of the object (141 , ... , 142, ... , or 143). The retrieved the entries can be populated into the address translation table (151 ) according to the hash (161 ) and/or collision chain (180) implemented respective processor. Once the entries (e.g., 173, ... , or 175, or 182 or 184 when there is a hash collision) are configured for the object ID (103), the translation of the virtual address (101 ) into the physical address (153) can be performed as illustrated in FIG. 3. Different processors (111 , ... , 121 ) may set up their address translation table (151 ) differently. However, the same virtual address (101 ) is translated into the physical address (153) for accessing the same memory location in the computing system. Thus, the processors (111 , ... , 121 ) can use the pointer having the virtual address (101 ) to facilitate data exchange and/or sharing.
[0089] Some objects can use a same static object ID when the objects are not configured to be shared among different processors. For example, kernel objects of an operating system running in a processor (111 ) may not be shared with another processor (121 ). Thus, the different processors (111 ) can use the same static object ID (e.g., 0) for the kernel objects located in different memory locations in the computing system. Such a technique also improves data security and/or reduces security vulnerability.
[0090] The techniques disclosed herein can be applied to at least to computer systems where processors are separated from memory and processors communicate with memory and storage devices via communication buses and/or computer
networks. Further, the techniques disclosed herein can be applied to computer systems in which processing capabilities are integrated within memory/storage. For example, the processing circuits, including executing units and/or registers of a typical processor, can be implemented within the integrated circuits and/or the integrated circuit packages of memory media to performing processing within a memory device. Thus, a processor (e.g., 101 ) as discussed above and illustrated in the drawings is not necessarily a central processing unit in the von Neumann architecture. The processor can be a unit integrated within memory to overcome the von Neumann bottleneck that limits computing performance as a result of a limit in throughput caused by latency in data moves between a central processing unit and memory configured separately according to the von Neumann architecture.
[0091] The description and drawings of the present disclosure are illustrative and are not to be construed as limiting. Numerous specific details are described to provide a thorough understanding. Flowever, in certain instances, well known or conventional details are not described in order to avoid obscuring the description. References to one or an embodiment in the present disclosure are not necessarily references to the same embodiment; and, such references mean at least one.
[0092] In the foregoing specification, the disclosure has been described with reference to specific exemplary embodiments thereof. It will be evident that various modifications can be made thereto without departing from the broader spirit and scope as set forth in the following claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.
Claims
1. A method, comprising:
executing, in a first processor of a computing system, first instructions, the first instructions configured to use a pointer identifying a virtual memory address used in the first processor;
communicating the pointer from the first processor to a second processor of the computing system during execution of the first instructions, wherein the second processor is separate and independent from the first processor; and
executing second instructions in the second processor, the second instructions configured to access the virtual memory address using the pointer received from the first processor.
2. The method of claim 1 , wherein the first processor and the second processor have different instruction set architecture (ISA).
3. The method of claim 2, wherein the pointer is communicated from the first processor to a second processor via a computer network.
4. The method of claim 3, wherein the virtual memory address has a
predetermined number of bits, including a first predetermined number of bits representing an identifier of an object and a second predetermined number of bits representing a memory location offset within the object.
5. The method of claim 4, wherein the first instructions executed in the first
processor constructs the pointer to identify a memory location in the computing system; and the second processor uses the virtual memory address to access the memory location in the computing system.
6. The method of claim 5, wherein the memory location is in a memory of the first processor, a memory of the second processor, or a storage device in the computing system.
7. The method of claim 5, further comprising:
converting, by a memory management unit of the second processor, the virtual memory address into a physical memory address; and
accessing, by the memory management unit, the physical memory address.
8. The method of claim 7, further comprising:
loading an instruction from the physical memory address into the second
processor; and
executing the instruction in the second processor.
9. The method of claim 7, further comprising:
loading an operand from the physical memory address into the second
processor in response to the virtual memory address being in a register in the second processor; and
executing an instruction on the operand in the second processor.
10. The method of claim 9, further comprising:
storing, by the first processor, a computing result at the physical memory
address using the virtual memory address during the execution of the first instructions, wherein the computing result is the operand in the executing the instruction in the second processor.
11. The method of claim 7, wherein the virtual memory address has 128 bits; and the memory location offset has 64 bits.
12. The method of claim 7, further comprising:
communicating with an object name server of the computing system to
configure an address translation structure of the memory management unit to translate virtual addresses having the identifier of the object to physical addresses.
13. A non-transitory computer storage medium storing first instructions which, when executed in a first processor of a computing system, cause the first processor to perform a method, the method comprising:
executing, in the first processor of the computing system, the first instructions;
constructing, by the first processor, a pointer identifying a virtual memory address accessible by the first processor; and
communicating the pointer from the first processor to a second processor of the computing system during execution of the first instructions;
wherein the second processor is separate and independent from the first processor; and
wherein during execution of second instructions in the second processor, the second processor accesses the virtual memory address according to the pointer received from the first processor.
14. The non-transitory computer storage medium of claim 13, wherein the first processor and the second processor have different instruction set architecture (ISA); and the pointer is communicated from the first processor to a second processor via a computer network.
15. The non-transitory computer storage medium of claim 14, wherein the virtual memory address has 128 bits, including an identifier of an object and a 64-bit memory location offset relative to the object.
16. The non-transitory computer storage medium of claim 15, wherein the first instructions executed in the first processor constructs the pointer to identify a memory location in the computing system; and the second processor uses the virtual memory address to access the memory location in the computing system using the pointer.
17. A non-transitory computer storage medium storing instructions which, when executed in a computing system having a first processor and a second processor that is separate and independent from the first processor, cause the computing system to perform a method, the method comprising:
receiving, in the second processor, a pointer from the first processor, wherein during execution of first instructions in the first processor, the first processor generates the pointer identifying a virtual memory address accessible by the first processor; and
executing, in the second processor, second instructions; and
accessing, by the second processor in accordance with the pointer, the virtual memory address during execution of the second instructions in the second processor, wherein the virtual memory address has an identifier of an object and a memory location offset relative to the object.
18. The non-transitory computer storage medium of claim 17, the method further comprising:
converting, by a memory management unit of the second processor, the virtual memory address into a physical memory address; and
accessing, by the memory management unit, the physical memory address.
19. The non-transitory computer storage medium of claim 18, wherein the
accessing of the physical memory address includes loading, from the physical memory address, an instruction of the object or an operand of an instruction operating on the object.
20. The non-transitory computer storage medium of claim 17, the method further comprising:
communicating, by the memory management unit of the second processor with an object name server of the computing system to retrieve a memory location of the object in the computing system; and configuring an address translation structure of the memory management unit using the memory location retrieved from the object name server, wherein the converting of the virtual memory address into the physical memory address is performed using the address translation structure configured using the memory location.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE112019005352.3T DE112019005352T5 (en) | 2018-10-25 | 2019-10-17 | Universal pointers for data exchange in a computer system with independent processors |
| CN201980068820.5A CN112930522B (en) | 2018-10-25 | 2019-10-17 | Generic pointer for data exchange in computer systems with independent processors |
| KR1020217015222A KR20210065193A (en) | 2018-10-25 | 2019-10-17 | Universal pointer for data exchange in computer systems with independent processors |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/170,799 | 2018-10-25 | ||
| US16/170,799 US11544069B2 (en) | 2018-10-25 | 2018-10-25 | Universal pointers for data exchange in a computer system having independent processors |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020086384A1 true WO2020086384A1 (en) | 2020-04-30 |
Family
ID=70326642
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2019/056819 Ceased WO2020086384A1 (en) | 2018-10-25 | 2019-10-17 | Universal pointers for data exchange in a computer system having independent processors |
Country Status (5)
| Country | Link |
|---|---|
| US (3) | US11544069B2 (en) |
| KR (1) | KR20210065193A (en) |
| CN (1) | CN112930522B (en) |
| DE (1) | DE112019005352T5 (en) |
| WO (1) | WO2020086384A1 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11275587B2 (en) | 2018-05-02 | 2022-03-15 | Micron Technology, Inc. | Static identifications in object-based memory access |
| US11544069B2 (en) | 2018-10-25 | 2023-01-03 | Micron Technology, Inc. | Universal pointers for data exchange in a computer system having independent processors |
| CN113721925B (en) * | 2021-09-03 | 2024-05-03 | 上海壁仞科技股份有限公司 | Computer readable storage medium, memory pointer compiling method and device |
| JP2023044994A (en) * | 2021-09-21 | 2023-04-03 | キオクシア株式会社 | memory system |
| US11886838B2 (en) * | 2022-05-24 | 2024-01-30 | Oracle International Corporation | Space- and time-efficient enumerations |
| CN115408208B (en) * | 2022-08-31 | 2025-07-18 | 杭州宏杉科技股份有限公司 | Storage control method and device applied to storage equipment |
| US12505048B2 (en) * | 2023-09-22 | 2025-12-23 | Rambus Inc. | Memory module with memory-ownership exchange |
| CN122173145A (en) * | 2026-05-12 | 2026-06-09 | 摩尔线程智能科技(上海)有限责任公司 | Data access methods, devices, electronic devices, storage media and software products |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030140085A1 (en) * | 2001-01-12 | 2003-07-24 | Sun Microsystems, Inc. | Single-word lock-free reference counting |
| US20090327617A1 (en) * | 2008-06-30 | 2009-12-31 | International Business Machines Corporation | Shared Object Control |
| US20120254497A1 (en) * | 2011-03-29 | 2012-10-04 | Yang Ni | Method and apparatus to facilitate shared pointers in a heterogeneous platform |
| US8635412B1 (en) * | 2010-09-09 | 2014-01-21 | Western Digital Technologies, Inc. | Inter-processor communication |
| US20170147505A1 (en) * | 2004-12-22 | 2017-05-25 | Intel Corporation | System and methods exchanging data between processors through concurrent shared memory |
Family Cites Families (53)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4514800A (en) | 1981-05-22 | 1985-04-30 | Data General Corporation | Digital computer system including apparatus for resolving names representing data items and capable of executing instructions belonging to general instruction sets |
| US4445177A (en) | 1981-05-22 | 1984-04-24 | Data General Corporation | Digital data processing system utilizing a unique arithmetic logic unit for handling uniquely identifiable addresses for operands and instructions |
| US4660142A (en) | 1981-05-22 | 1987-04-21 | Data General Corporation | Digital data processing system employing an object-based addressing system with a single object table |
| US4821184A (en) | 1981-05-22 | 1989-04-11 | Data General Corporation | Universal addressing system for a digital data processing system |
| US4525780A (en) | 1981-05-22 | 1985-06-25 | Data General Corporation | Data processing system having a memory using object-based information and a protection scheme for determining access rights to such information |
| DE4410060B4 (en) * | 1993-04-08 | 2006-02-09 | Hewlett-Packard Development Co., L.P., Houston | Translating device for converting a virtual memory address into a physical memory address |
| US6470436B1 (en) | 1998-12-01 | 2002-10-22 | Fast-Chip, Inc. | Eliminating memory fragmentation and garbage collection from the process of managing dynamically allocated memory |
| US6393544B1 (en) | 1999-10-31 | 2002-05-21 | Institute For The Development Of Emerging Architectures, L.L.C. | Method and apparatus for calculating a page table index from a virtual address |
| JP4020576B2 (en) | 2000-09-14 | 2007-12-12 | 株式会社東芝 | Packet transfer method, mobile terminal device and router device |
| US7149878B1 (en) * | 2000-10-30 | 2006-12-12 | Mips Technologies, Inc. | Changing instruction set architecture mode by comparison of current instruction execution address with boundary address register values |
| CN100339780C (en) * | 2002-04-18 | 2007-09-26 | 先进微装置公司 | A computer system including a secure execution mode - capable cpu and a security services processor connected via a secure communication path |
| KR100462627B1 (en) | 2002-11-27 | 2004-12-23 | 삼성전자주식회사 | A method for identifying devices using IPv6 address |
| US7043622B2 (en) * | 2002-12-23 | 2006-05-09 | Lsi Logic Corporation | Method and apparatus for handling storage requests |
| US20060136694A1 (en) * | 2004-12-17 | 2006-06-22 | Robert Hasbun | Techniques to partition physical memory |
| US7383374B2 (en) | 2005-03-31 | 2008-06-03 | Intel Corporation | Method and apparatus for managing virtual addresses |
| US20060236074A1 (en) * | 2005-04-14 | 2006-10-19 | Arm Limited | Indicating storage locations within caches |
| US7711927B2 (en) | 2007-03-14 | 2010-05-04 | Qualcomm Incorporated | System, method and software to preload instructions from an instruction set other than one currently executing |
| KR101396831B1 (en) | 2007-03-30 | 2014-05-21 | 삼성전자주식회사 | Method of Controlling Memory Access |
| GB2448149B (en) | 2007-04-03 | 2011-05-18 | Advanced Risc Mach Ltd | Protected function calling |
| US8615647B2 (en) * | 2008-02-29 | 2013-12-24 | Intel Corporation | Migrating execution of thread between cores of different instruction set architecture in multi-core processor and transitioning each core to respective on / off power state |
| GB2460393B (en) | 2008-02-29 | 2012-03-28 | Advanced Risc Mach Ltd | A data processing apparatus and method for controlling access to secure memory by virtual machines executing on processing circuitry |
| US8180996B2 (en) * | 2008-05-15 | 2012-05-15 | Calxeda, Inc. | Distributed computing system with universal address system and method |
| US8868844B2 (en) | 2008-06-25 | 2014-10-21 | International Business Machines Corporation | System and method for a software managed cache in a multiprocessing environment |
| US8072975B2 (en) | 2008-11-12 | 2011-12-06 | Dell Products, Lp | Host discovery across different address spaces |
| US8375195B2 (en) * | 2009-03-05 | 2013-02-12 | Oracle America, Inc. | Accessing memory locations for paged memory objects in an object-addressed memory system |
| US8190839B2 (en) | 2009-03-11 | 2012-05-29 | Applied Micro Circuits Corporation | Using domains for physical address management in a multiprocessor system |
| JP5491102B2 (en) | 2009-08-27 | 2014-05-14 | ルネサスエレクトロニクス株式会社 | Data processor |
| US8924686B2 (en) * | 2009-10-08 | 2014-12-30 | Arm Limited | Memory management unit |
| US8316207B2 (en) | 2009-12-30 | 2012-11-20 | International Business Machines Corporation | Assigning efficiently referenced globally unique identifiers in a multi-core environment |
| US8438341B2 (en) * | 2010-06-16 | 2013-05-07 | International Business Machines Corporation | Common memory programming |
| US9195623B2 (en) | 2010-06-23 | 2015-11-24 | International Business Machines Corporation | Multiple address spaces per adapter with address translation |
| GB2482700A (en) | 2010-08-11 | 2012-02-15 | Advanced Risc Mach Ltd | Memory access control |
| GB2483906C (en) | 2010-09-24 | 2019-10-09 | Advanced Risc Mach Ltd | Selection of debug instruction set for debugging of a data processing apparatus |
| WO2013174503A1 (en) | 2012-05-21 | 2013-11-28 | Eth Zurich | Secure loader |
| US9390055B2 (en) | 2012-07-17 | 2016-07-12 | Coho Data, Inc. | Systems, methods and devices for integrating end-host and network resources in distributed memory |
| US9323706B2 (en) * | 2013-02-26 | 2016-04-26 | Red Hat Israel, Ltd. | Configuration snooping bridge |
| US9311011B2 (en) * | 2013-08-07 | 2016-04-12 | Qualcomm Incorporated | Dynamic address negotiation for shared memory regions in heterogenous multiprocessor systems |
| JP6194764B2 (en) * | 2013-11-08 | 2017-09-13 | 富士通株式会社 | Information processing apparatus, control method, and control program |
| US10671391B2 (en) | 2014-02-25 | 2020-06-02 | MIPS Tech, LLC | Modeless instruction execution with 64/32-bit addressing |
| US10120663B2 (en) | 2014-03-28 | 2018-11-06 | Intel Corporation | Inter-architecture compatability module to allow code module of one architecture to use library module of another architecture |
| US9471292B2 (en) * | 2014-04-18 | 2016-10-18 | Intel Corporation | Binary translation reuse in a system with address space layout randomization |
| WO2016118591A1 (en) | 2015-01-20 | 2016-07-28 | Ultrata Llc | Implementation of an object memory centric cloud |
| US9727241B2 (en) * | 2015-02-06 | 2017-08-08 | Advanced Micro Devices, Inc. | Memory page access detection |
| US9910611B2 (en) | 2015-05-29 | 2018-03-06 | Intel Corporation | Access control for memory protection key architecture |
| US20160381050A1 (en) | 2015-06-26 | 2016-12-29 | Intel Corporation | Processors, methods, systems, and instructions to protect shadow stacks |
| US9959418B2 (en) | 2015-07-20 | 2018-05-01 | Intel Corporation | Supporting configurable security levels for memory address ranges |
| US10241676B2 (en) | 2015-12-08 | 2019-03-26 | Ultrata, Llc | Memory fabric software implementation |
| US10255202B2 (en) | 2016-09-30 | 2019-04-09 | Intel Corporation | Multi-tenant encryption for storage class memory |
| KR20180080552A (en) | 2017-01-04 | 2018-07-12 | 한국전자통신연구원 | STRUCTURE OF INTERFACE IDENTIFIER(IID) OF IPv6 ADDRESS, METHOD OF DEFINING AN IID OF IPv6 ADDRESS, AND A COMMUNICATION DEVICE OPERATING THE SAME |
| US10810133B1 (en) * | 2017-11-15 | 2020-10-20 | Amazon Technologies, Inc. | Address translation and address translation memory for storage class memory |
| US11275587B2 (en) | 2018-05-02 | 2022-03-15 | Micron Technology, Inc. | Static identifications in object-based memory access |
| US20200073822A1 (en) | 2018-08-30 | 2020-03-05 | Micron Technology, Inc. | Security Configuration for Memory Address Translation from Object Specific Virtual Address Spaces to a Physical Address Space |
| US11544069B2 (en) | 2018-10-25 | 2023-01-03 | Micron Technology, Inc. | Universal pointers for data exchange in a computer system having independent processors |
-
2018
- 2018-10-25 US US16/170,799 patent/US11544069B2/en active Active
-
2019
- 2019-10-17 WO PCT/US2019/056819 patent/WO2020086384A1/en not_active Ceased
- 2019-10-17 DE DE112019005352.3T patent/DE112019005352T5/en active Pending
- 2019-10-17 KR KR1020217015222A patent/KR20210065193A/en not_active Ceased
- 2019-10-17 CN CN201980068820.5A patent/CN112930522B/en active Active
-
2022
- 2022-12-30 US US18/148,701 patent/US12436768B2/en active Active
-
2025
- 2025-10-02 US US19/348,586 patent/US20260030027A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030140085A1 (en) * | 2001-01-12 | 2003-07-24 | Sun Microsystems, Inc. | Single-word lock-free reference counting |
| US20170147505A1 (en) * | 2004-12-22 | 2017-05-25 | Intel Corporation | System and methods exchanging data between processors through concurrent shared memory |
| US20090327617A1 (en) * | 2008-06-30 | 2009-12-31 | International Business Machines Corporation | Shared Object Control |
| US8635412B1 (en) * | 2010-09-09 | 2014-01-21 | Western Digital Technologies, Inc. | Inter-processor communication |
| US20120254497A1 (en) * | 2011-03-29 | 2012-10-04 | Yang Ni | Method and apparatus to facilitate shared pointers in a heterogeneous platform |
Also Published As
| Publication number | Publication date |
|---|---|
| US20230146488A1 (en) | 2023-05-11 |
| US20200133677A1 (en) | 2020-04-30 |
| KR20210065193A (en) | 2021-06-03 |
| CN112930522B (en) | 2024-09-20 |
| US12436768B2 (en) | 2025-10-07 |
| US11544069B2 (en) | 2023-01-03 |
| CN112930522A (en) | 2021-06-08 |
| US20260030027A1 (en) | 2026-01-29 |
| DE112019005352T5 (en) | 2021-08-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12436768B2 (en) | Universal pointers for data exchange in a computer system having independent processors | |
| US11307861B2 (en) | Securing conditional speculative instruction execution | |
| EP3631651B1 (en) | Method for efficient primary key based queries using atomic rdma reads on cache friendly in-memory hash index | |
| CN103077351B (en) | The reverse-examination examining system of dummy machine system | |
| JP5669938B2 (en) | Method, system, and computer program for enabling an adapter for a computing environment | |
| US20260119177A1 (en) | Static identifications in object-based memory access | |
| CN107077496B (en) | Systems, methods, and apparatus for index compilation to optimize index usage | |
| US20210149903A1 (en) | Successive database record filtering on disparate database types | |
| US10061539B2 (en) | Inaccessibility status indicator | |
| CN112260951A (en) | Expectation connection processing method, expectation connection processing device, readable storage medium, and electronic device | |
| JP6607044B2 (en) | Server device, distributed file system, distributed file system control method, and program | |
| JP2009537879A (en) | Method and system for moving data using user selectable storage access keys | |
| Talabani et al. | Scalable Data Management in Dataspaces: Benchmarking MongoDB Sharding | |
| CN112612530B (en) | Class query method and device | |
| US11474953B2 (en) | Configuration cache for the ARM SMMUv3 | |
| US11875151B1 (en) | Inter-process serving of machine learning features from mapped memory for machine learning models | |
| JP2000090002A (en) | Database management system | |
| CN115309408A (en) | Data processing method, device, equipment, readable storage medium and program product | |
| TW202240399A (en) | Unified translation miss queue for multiple address translation modes | |
| HK40086876A (en) | Interface access method, apparatus, electronic device, and storage medium | |
| CN116560777A (en) | A page display method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19877437 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 20217015222 Country of ref document: KR Kind code of ref document: A |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19877437 Country of ref document: EP Kind code of ref document: A1 |