GB2531395A - Descriptor ring management - Google Patents

Descriptor ring management Download PDF

Info

Publication number
GB2531395A
GB2531395A GB1512975.2A GB201512975A GB2531395A GB 2531395 A GB2531395 A GB 2531395A GB 201512975 A GB201512975 A GB 201512975A GB 2531395 A GB2531395 A GB 2531395A
Authority
GB
United Kingdom
Prior art keywords
pointer
memory
descriptor ring
pointers
read
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.)
Granted
Application number
GB1512975.2A
Other versions
GB201512975D0 (en
GB2531395B (en
Inventor
Ali Ghassan Saidi
Aniruddha Nagendran Udipi
Matthew Lucien Evans
Geoffrey Blake
Robert Gwilym Dimond
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ARM Ltd
Original Assignee
ARM Ltd
Advanced Risc Machines Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ARM Ltd, Advanced Risc Machines Ltd filed Critical ARM Ltd
Publication of GB201512975D0 publication Critical patent/GB201512975D0/en
Publication of GB2531395A publication Critical patent/GB2531395A/en
Application granted granted Critical
Publication of GB2531395B publication Critical patent/GB2531395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0862Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches with prefetch
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1027Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1027Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
    • G06F12/1045Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] associated with a data cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1081Address translation for peripheral access to main memory, e.g. direct memory access [DMA]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/65Details of virtual memory and virtual address translation
    • G06F2212/654Look-ahead translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/68Details of translation look-aside buffer [TLB]
    • G06F2212/681Multi-level TLB, e.g. microTLB and main TLB

Abstract

A data processing system has one or more processors 4, 6, one or more other devices 20, 22, such as network interface cards or direct memory access engines, and a memory 2. The memory stores buffers 26 containing data used by the devices. The memory also contains a descriptor ring 24, which holds pointers to the buffers. The descriptor ring may also hold status information related to the buffers. When a pointer to a buffer is read from the descriptor ring, translation data for the buffer address is pre-fetched. The pointer may be identified using a descriptor ring identifier, which identifies the address range of the ring. This may use flags in the page table. The pointer may be identified using the access patterns of the devices. This may detect an address range with a read rate, which is higher than a threshold. The read of a pointer may be identified using a bus hint or by the data being a valid address.

Description

DESCRIPTOR RING MANAGEMENT
This disclosure relates to the field of data processing systems. More particularly, this disclosure relates to data processing systems including a descriptor ring for storing pointers to memory locations, It is known to provide data processing systems which incorporate a descriptor ring to store pointers to memory locations, One use of such descriptor rings is within systems including one or more general purpose programmable processors which store pointer data within the descriptor ring such that the pointer data can be read by one or more devices from the descriptor ring and used to identify areas of buffer memory to be used by the one or more devices. The memory addressing associated with such systems may require address translation in dependence on address translation data so that a memory access by the one or more devices using the pointer from the ring descriptor can be performed. The translation data may be determined using a mechanism such as page table walking which requires a relatively large number of processing cycles to be performed, and accordingly introduces delay upon at least the first use of a pointer read from the descriptor ring.
Viewed form one aspect the present disclosure provides a descriptor ring to store pointers to memory locations; and prefetching circuitry to detect pointers read from said descriptor ring and to prefetch address translation data for memory addresses corresponding to said pointers.
The present disclosure recognises that when a pointer is read from a descriptor ring by a device, then it is likely that there will soon be a memory access to a memory address within a region identified by the pointer. Accordingly, detecting the reading of a pointer from the descriptor ring and then triggering prefetching of address translation data for memory addresses corresponding to that pointer helps reduce the delay associated with at least the first use of a pointer which requires address translation data to be obtained for that pointer Viewed from another aspect, the present disclosure provides descriptor ring means for storing pointers to memory locations; and prefetching means for detecting pointers read from said descriptor ring and for prefetching address translation data for memory addresses corresponding to said pointers.
Viewed from a further aspect, the present disclosure provides storing pointers to memory locations within a descriptor ring; detecting pointers read from said descriptor ring; and prefetching address translation data for memory addresses corresponding to said pointers.
Example embodiments will now be described, by way of example only, with reference to the accompanying drawings in which: Figure 1 schematically illustrates a data processing system including multiple general purpose processors, a system memory management unit and a plurality of devices which access a memory system using the system memory management unit; Figure 2 schematically illustrates the use of a descriptor ring to store pointers to buffers within a memory; Figure 3 schematically illustrates part of the system memory management unit; Figure 4 schematically illustrates identifying pointers by identifying an access pattern to a descriptor ring; and Figure 5 is a flow diagram schematically illustrating prefetching of translation data for detected pointers.
Figure 1 schematically illustrates a data processing system 2 including a plurality of general purpose processors 4, 6, each having a level one data cache 8, a level one instruction cache 10 and a translation lookaside buffer 12 for translating from virtual addresses generated by the general purpose processors 4, 6 to physical addresses for addressing a level two cache 14 and a main memory 16.
A system memory management unit 18 is connected to the main memory 16 and serves to manage access to the main memory 16 by a plurality of devices 20, 22. These devices may include, for example, a DIVLA. engine, a MC device, another general purpose processor (CPU), a graphics processing unit (GPU) or other devices which may access main memory directly themselves rather than via the general purpose processors 4, 6.
The main memory 16 stores a descriptor ring 24, buffers 26 and page table data 28. The descriptor ring 24 may be written and read by both the general purpose processors 4, 6 and the devices 20, 22, The descriptor ring 24 serves to facilitate communication between the general purpose processors 4, 6 and the devices 20, 22. The general purpose processors 4, 6 can write pointers to memory address regions within the main memory 16 which are to serve as the buffers 26 to be used by the devices 20, 22 in the processing which they perform. The devices 20, 22 read the pointers from the descriptor ring 24 to identify the regions which are to serve as their buffers and then perform typically one of read operations from those buffers or write operations to those buffers depending upon their function. The devices 20, 22 may also update status data associated with the pointers within the descriptor ring 24 with this status data then being read by the general purpose processors 4, 6 in order to provide a channel of communication from the devices 20, 22 to the general purpose processors 4, 6.
The devices 20, 22 may use virtual addressing and accordingly the system memory management unit 18 includes a translation lookaside buffer 30 which serves to translate virtual addresses as generated by the devices 20, 22 into physical addresses required to address the main memory 16. The translation lookaside buffer 30 is configured using address translation data derived from the page table data 28 via a page table walk when a miss occurs within the translation lookaside buffer 30 for a virtual address requiring translation. The system memory management unit 18 can also store and enforce access permissions, as may be specified in the page table data 28 for different regions of memory.
Figure 2 schematically illustrates an example relationship between the descriptor ring 24 and the buffers 26. The descriptor ring 24 is a region of the memory storing a plurality of pointers 32 which point to respective start locations of buffers 26 within the memory 16. Each of the pointers may also be associated with status data for the buffer pointed to by the associated pointer. The pointer data is written to the ring buffer 24 by the general purpose processors 4, 6. Pointer data is read from the ring buffer 24 by the devices 20, 22. The status data associated with each pointer is written/updated by the devices 20, 22.
The descriptor ring 24 in itself can be characterised by a programmable start location and a 1 5 programmable end location which may be set under software control by the general purpose processors 4, 6 and later used to identify reads from the descriptor ring 24 as they will be from addresses lying in the range between the start location and the end location. Another form of programmable data specifying the descriptor ring 24 is the use of a field within the page table data 28 for the one or more memory regions that will serve as the descriptor ring 24, i.e. the memory region(s) forming the descriptor ring 24 may be flagged as such within page table data 28. Management of the entries within the descriptor ring 24 may be facilitated by the use of pointers which are maintained so as to point to the next new entry position within the descriptor ring 24 to be used by the active device(s) 20, 22. A last entry pointer associated with the descriptor ring 24 may be used to indicate to the devices 20, 22 where the next pointer they are to use can be found.
Figure 3 schematically illustrates part of the system memory management unit 18. This includes the system memory management unit translation loolcaside buffer 30 which serves to store multiple instances of address translation data 34. When a virtual address is received from one of the devices 20, 22 it is matched against these address translation data entries and if a hit occurs then the address translation data entry that hit is used to generate the appropriate physical address which is then forwarded to the main memory 16. If the virtual address misses within the translation lookasi de buffer 30, then page table walking circuitry 36 serves to initiate a page table walking process through the page table data 28 to determine the appropriate address translation data to be stored within the translation lookaside buffer 30. One of the existing entries within the translation lookaside buffer 30 will be evicted, as necessary, in order to accommodate the newly fetched address translation data. Such actions of a translation lookaside buffer 30 will be familiar to those in this technical field.
Prefetching circuitry 38 serves to snoop data read from the memory 16, the physical addresses of the memory locations within the main memory 16 which are accessed as well as whether or not those accesses are reads or writes. This snooped information is used by the prefetching circuitry 38 to detect pointers read from the descriptor ring 24 and to trigger prefetching of address translation for the memory addresses corresponding to pointers read from the descriptor ring 24 if such address translation data is not already present within the translation lookaside buffer 30. More particularly, the prefetching circuitry 38 includes ring identifying circuitry 40 and pointer identifying circuitry 42.
The ring identifying circuitry 40 serves to identify from a physical address for a read operation whether or not the data being returned lies within the descriptor ring 24. In some embodiments, the software programmable start and end points of the descriptor ring 24 may be supplied to the ring identifying circuitry 40 and used to determine whether or not a read address lies within the region between the start and end points. Page table data may also be used to identify a read from the descriptor ring 24. Other embodiments may take a heuristic approach. One example heuristic approach is to identify memory regions subject to above a threshold frequency of read operations as corresponding to the descriptor ring 24. The number of read operations to a particular memory region may be tracked within, for example, additional data stored within the translation lookaside buffer entries 34 within the translation lookaside buffer 30. The address translation data corresponding to the descriptor ring 24 will have a high frequency of use and this can be recorded by the additional data fields provided within the address translation data and used by the ring identifying circuitry 40 to identify particular memory regions as corresponding to the descriptor ring 24. Another heuristic potentially used by the ring identifying circuitry 40, possibly in combination with the previous heuristic, is that the memory regions being tracked are subject to both read and write operations as recorded within their address translation data. Devices 20, 22 will typically, in at least some embodiments, perform both reads and writes to the descriptor ring whereas they will perform either only reads or only writes to the buffers 26 pointed to by the pointers.
The pointer identifying circuitry 42 may serve to identify candidate pointer data read from the descriptor ring 24 as being a pointer if it matches one or more predetermined pointer characteristics.
These predetermined pointer characteristics may be that the candidate pointer data has a form corresponding to a valid memory address. Candidate pointer data not corresponding to a valid memory address cannot be a pointer. A more specific example of a characteristic of candidate pointer data indicative of a valid memory address is that a most significant bit portion of a predetermined length within the candidate pointer data is either all zeros or all ones.
Another way in which the pointer identifying circuitry 42 may identify pointers is by detecting candidate pointer data read from one or more storage locations within the descriptor ring 24 matching an access pattern for previously read pointers. Such access patterns may take a variety of different forms, such as that the candidate pointer data is read from a memory address from which a pointer has previously been read. A content addressable memory may be used to store addresses of previously read pointers and the address of the candidate pointer data compared with the previous addresses within such content addressable memory to identify whether or not the address of the candidate pointer data matches the address of a previously detected pointer.
In other embodiments, the access pattern detected could be based upon an offset of the address of the candidate pointer data from a previously read pointer. This offset, if corresponding to a detected stride pattern for pointer accesses, may be used to identify the candidate pointer data as pointer data which should be subject to an address translation prefetch, Figure 4 schematically illustrates the above discussed examples of the storage locations within a descriptor ring 24 from which candidate pointer data is read matching an access pattern for previously read pointers. The address locations marked with an are address locations from which pointers have previously been read. These addresses are stored within a content addressable memory (CAM) 44, As part of the descriptor ring 24 is read, the data that is read is put into the CAM 44.
When further reads/writes from the device are seen by the system v1IvIU 18 they are compared in the CAM 44 against that previously stored portion of the ring for any hits and mark those lines that hit has storing an address that was later requested. Periodically the system MMU 18 loolcs for a strided pattern of hits in that stmcture (e.g. every 3& 8-byte value) and this determines that every 3id 8-byte quantity is a pointer and should be prefetched.
Another option for identifying candidate pointer data as corresponding to a pointer is that it is read from a storage location within the descriptor ring 24 which is offset from a previously read pointer value by an observed stride (see entries marked 1*), As each pointer is identified when it is offset from the previous pointer may be used to generate a stride value which can then be used to predict whether candidate pointer data corresponds to a pointer before that data is identified and used as a pointer by one of the devices 20, 22.
Figure 5 is a flow diagram schematically illustrating prefetch of translation data for detected pointers. At step 46 processing waits until there is a read from the descriptor ring 24. When there is a read from the descriptor ring 24, then step 48 determines whether or not the storage locations for that read match a predetermined access pattern indicative of the read being of a pointer. If there is no match, then processing returns to step 46. If the storage location of the read from the descriptor ring 24 does match the access pattern, then processing proceeds to step 50 where the candidate pointer data is checked to determine if it matches a valid address, e.g. its most significant bits are all zeros or all ones as illustrated, If the candidate pointer data does not correspond to a valid address, then processing again returns to step 46. If the candidate pointer data identified does correspond to a valid address, then processing proceeds to step 52 where a determination is made as to whether or not that address hits within the translation lookaside buffer 30. If there is a hit, then the address translation for that pointer has already been retrieved from the page table data 28 and no prefetching is required. If there is a miss within the translation of the lookaside buffer 30, then processing proceeds to step 54 where a page table walk performed by the page table walking circuitry 36 is triggered so as to retrieve the address translation data for the newly encountered pointer. Processing then returns to step 46.
Another possible example embodiment(s) is one in which the descriptor ring 24 may be identified by transaction hint bits on a bus, such as a PCTe bus, that indicate what is the intended read/write pattern for a request. Other possibilities include that a device could indicate to the system IvIIMU 18 which reads correspond to the descriptor ring 24 reads, the device could provide hints about which reads correspond to the descriptor ring 24 reads, or the bus connecting the device to the system MMU 18 provides hints about use/reuse which could be used to determine what is a descriptor ring 24 (e.g. indicating that a certain location will include a substantial amount of reuse The descriptor ring 24 is typically populated with the pointer data by the action of one or more general purpose processor 4, 6 executing program instmctions that write the pointer data into the descriptor ring 24. Thereafter, one or more devices read the pointer data from the descriptor ring 24 to identify memory regions allocated for use by the one or more devices, such as a DMA device, a MC device, another CPU, a OPU, etc. In at least some embodiments a system memory management unit 18 is provided to manage access by the one or more memory devices to memory locations within a memory 16. This system memory management unit 18 may use the address translation data to translate a device memory address generated by the one or more devices into a physical memory address to be supplied to the memory. The system memory management unit 18 may also provide other or alternative functions, such as controlling access permissions to different memory address space regions within the memory by the one or more devices.
Whilst it will be appreciated that the address translation data could be accessed in a variety of different ways, one efficient way of providing address translation data is to use page table walking circuitry 36 to determine the address translation data by performing a page table walk through page table data. While use of such a page table walking techniques may be an efficient and flexible way of representing memory system configuration, it suffers from the disadvantage of requiring a relatively slow page table walking process in order to access new address translation data. The prefetching of address translation data for detected pointers helps address this issue in such example embodiments.
The descriptor ring 24 may be identified by the prefetching circuitry 38 in a variety of different ways. In some embodiments the prefetching circuitry may read one or more programmable descriptor ring identifiers (e.g. register values or page table entries) specifying one or more regions of a memory address space which serve as the descriptor ring. Thus, the software programmer can effectively specify to the prefetching circuitry which regions of memory are to be treated as the descriptor ring from which the reading of pointers is to be detected.
In other example embodiments, the prefetching circuitry may include ring identifying circuitry 40 which serves to identify the descriptor ring 24 as one or more regions of a memory address space that are subject to read at above a threshold frequency by the one or more devices. A characteristic of the descriptor ring 24 is that it will tend to be read at a relatively high frequency by the devices relative to the frequency at which other regions of the memory address space are read.
Accordingly, the memory regions which serve as the descriptor ring may be identified by this characteristic of having a read frequency which is above a threshold level (possible programmable or heuristically determined).
Mother possible way in which the prefetching circuitry may identify the descriptor ring is with ring identifying circuitry 40 which identifies the descriptor ring as one or more regions of the memory address space which is subject to both reads and writes by the one or more devices.
Typically the one or more devices 20, 22 will serve to either read or write to general memory regions within the memory address space, but not both, whereas both reads and writes will tend to be performed to the descriptor ring as the pointers will be read from the descriptor ring and status updates for the buffer regions 26 written to the descriptor ring 24 in order that such status updates can be reported back to one or more general purpose processors 4, 6 as required.
The prefetching circuitry may in some embodiments comprise pointer identifying circuitry 42 serving to identify pointers read from the descriptor ring by detecting candidate pointer data having one or more predetermined characteristics. Accordingly, the data read from the descriptor ring 24 may be examined to determine if it has the one more predetermined characteristics and if so, identified as a pointer.
The one or more characteristics of the candidate pointer data could take a variety of forms, but in some example embodiments may be characteristics which identify the candidate pointer data as a valid memory address. In some embodiments, these characteristics coresponding to a valid memory address may be without a most significant bit portion of a predetermined length of the candidate pointer data is either all zeros or all ones (such a form is often used within large memory address spaces where only either the top portion or the bottom portion are in practice necessary), In some example embodiments, the prefetching circuitry 38 may include pointer identifying circuitry 42 by identifying pointers by detecting candidate pointer data read from one or more storage locations within the descriptor ring matching an access pattern for previously read pointers.
This access pattern may have a variety of forms, such as the candidate pointer data being read from within the descriptor ring 24 at an address previously identified as storing a pointer within the descriptor ring 24. Typical descriptor rings may serve to re-use the locations at which pointers are stored and/or the translation data for a given pointer may be flushed, but the pointer then accessed again, at which time it can quickly identified as being a pointer as it has been previously recognised and then the translation data be fetched. A content addressable memory 44 provides a high performance mechanism which may be used in some embodiments to store previous pointer addresses so as to permit quick comparisons with a candidate address for candidate pointer data.
Another example form of a matching access pattern comprises a read from a candidate address within the descriptor ring having an offset from a previously read pointer matching a detected stride pattern for pointer accesses, The pointer data within the descriptor ring may typically be laid out in a repeating pattern with a characteristic stride between pointer values. Once this stride is identified (e.g. heuristically), then the identification of a given pointer can be used to predict that data read from a location spaced by the stride length from that given pointer will also be a pointer value and may be usefully subject to address translation prefetching, Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes, additions and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims. For example, various combinations of the features of the dependent claims could be made with the features of the independent claims without departing from the scope of the present invention.

Claims (20)

  1. CLAIMS: I. Apparatus comprising: a descriptor ring to store pointers to memory locations; and prefetching circuitry to detect pointers read from said descriptor ring and to prefetch address translation data for memory addresses corresponding to said pointers.
  2. 2. Apparatus as claimed in claim 1, comprising one or more general purpose processors to execute program instructions that write said pointers to said descriptor ring and one or more devices that read said pointers from said descriptor ring to identify memory regions allocated for use by said one or more devices.
  3. 3. Apparatus as claimed in claim 2, comprising a system memory management unit to manage access by said one or more devices to memory locations within a memory, said system memory management unit using said address translation data to translate a device memory address generated by said one or more devices into a physical memory address to be supplied to said memory.
  4. 4. Apparatus as claimed in claim 3, comprising page table walking circuitry to determine said address translation data by performing a page table walk through page table data.
  5. 5. Apparatus as claimed in any one of the preceding claims, wherein said prefetching circuitry is configured to identify said descriptor ring using one or more programmable descriptor ring identifiers specifying one or more regions of a memory address space serving as said descriptor ring.
  6. 6. Apparatus as claimed in claim 5, wherein said one or more programmable descriptor ring identifiers comprise flags within page table data for said one or more regions of a memory address space sewing as said descriptor ring.
  7. 7. Apparatus as claimed in any one of the preceding claims, wherein said prefetching circuitry comprises ring identifying circuitry to identify said descriptor ring as one or more regions of a memory address subject to reads at above a threshold frequency by said one or more devices.
  8. 8. Apparatus as claimed in any one of the preceding claims, wherein said prefetching circuitry comprises ring identifying circuitry to identify said descriptor ring as one or more regions of a memory address subject to both reads and writes by said one or more devices.
  9. 9. Apparatus as claimed in any one of the preceding claims, wherein said prefetching circuitry comprising ring identifying circuitry to identify memory accesses to said pointers using hint data associated with bus transactions.
  10. 10. Apparatus as claimed in any one of the preceding claims, wherein said prefetching circuitry comprises pointer identifying circuitry to identify said pointers by detecting candidate pointer data read from said descriptor ring having one or more predetermined pointer characteristics.
  11. 11. Apparatus as claimed in claim 10, wherein said one or more predetermined pointer characteristics are that one or more fields within said candidate pointer data match one or more predetermined values corresponding to a valid memory address.
  12. 12. Apparatus as claimed in claim 11, wherein said one or more predetermined values are: a most significant bit portion of a predetermined length of said candidate pointer data is all zeros or all ones.
  13. 13. Apparatus as claimed in any one of the preceding claims, wherein said prefetching circuitry comprises pointer identifying circuitry to identify said pointers by detecting candidate pointer data read from one or more storage locations within said descriptor ring matching an access pattern for previously read pointers.
  14. 14. Apparatus as claimed in claim 13, wherein said matching an access pattern comprises read from a candidate address within said descriptor ring identified as having previously stored a pointer.
  15. 15. Apparatus as claimed in claim 14, wherein said pointer identifying circuitry comprises a content addressable memory to store previous pointer addresses within said ring buffer from which a pointer has been read and said candidate address is compared with said previous pointer address using said content addressable memory.
  16. 16. Apparatus as claimed in claim 13, wherein said matching an access pattern comprises read from a candidate address within said descriptor ring having an offset from a previously read pointer matching a detected stride pattern for pointer accesses.
  17. 17. Apparatus comprising: descriptor ring means for storing pointers to memory locations; and prefetching means for detecting pointers read from said descriptor ring and for prefetching address translation data for memory addresses corresponding to said pointers.
  18. 18. A method comprising the steps of: storing pointers to memory locations within a descriptor ring; detecting pointers read from said descriptor ring; and prefetching address translation data for memory addresses corresponding to said pointers.
  19. 19. Apparatus substantially as hereinbefore described with reference to the accompanying drawings.
  20. 20. A method substantially as hereinbefore described with reference to the accompanying drawings.
GB1512975.2A 2014-09-23 2015-07-23 Descriptor ring management Active GB2531395B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US14/494,000 US9697136B2 (en) 2014-09-23 2014-09-23 Descriptor ring management

Publications (3)

Publication Number Publication Date
GB201512975D0 GB201512975D0 (en) 2015-09-09
GB2531395A true GB2531395A (en) 2016-04-20
GB2531395B GB2531395B (en) 2016-08-03

Family

ID=54106485

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1512975.2A Active GB2531395B (en) 2014-09-23 2015-07-23 Descriptor ring management

Country Status (4)

Country Link
US (1) US9697136B2 (en)
KR (1) KR102478766B1 (en)
CN (1) CN105446898B (en)
GB (1) GB2531395B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10277477B2 (en) * 2015-09-25 2019-04-30 Vmware, Inc. Load response performance counters
US10353629B2 (en) * 2017-09-19 2019-07-16 Arm Limited Handling in-order and out-of-order ring buffer updates
US10585689B1 (en) * 2017-12-20 2020-03-10 Cisco Technology, Inc. Shared memory interface for application processes
WO2019206398A1 (en) * 2018-04-23 2019-10-31 Huawei Technologies Co., Ltd. Instruction processing
US10705762B2 (en) * 2018-08-30 2020-07-07 Micron Technology, Inc. Forward caching application programming interface systems and methods
CN113835891B (en) * 2021-09-24 2023-05-23 哲库科技(北京)有限公司 Resource allocation method, device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5652858A (en) * 1994-06-06 1997-07-29 Hitachi, Ltd. Method for prefetching pointer-type data structure and information processing apparatus therefor
US5822788A (en) * 1996-12-20 1998-10-13 Intel Corporation Mechanism for prefetching targets of memory de-reference operations in a high-performance processor
US20040117555A1 (en) * 2002-12-17 2004-06-17 Intel Corporation Method and system to overlap pointer load cache misses
US20090198906A1 (en) * 2008-02-01 2009-08-06 Armilli Ravi K Techniques for Multi-Level Indirect Data Prefetching

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007286897A (en) * 2006-04-17 2007-11-01 Hitachi Ltd Storage system, data management device, and management method for it
US8024547B2 (en) * 2007-05-01 2011-09-20 Vivante Corporation Virtual memory translation with pre-fetch prediction
US8209343B2 (en) * 2008-10-06 2012-06-26 Vmware, Inc. Namespace mapping to central storage
JP5287301B2 (en) * 2009-01-30 2013-09-11 富士通株式会社 Descriptor transfer device, I / O controller, and descriptor transfer method
CN102065568B (en) * 2009-11-17 2013-07-03 中国科学院微电子研究所 Data descriptor-based medium access control (MAC) software and hardware interaction method and hardware realization device
US8972630B1 (en) * 2013-09-25 2015-03-03 Netronome Systems, Incorporated Transactional memory that supports a put with low priority ring command
CN103634230B (en) * 2013-11-29 2016-09-07 华中科技大学 A kind of network driver layer data packet receiving method based on dynamic prediction and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5652858A (en) * 1994-06-06 1997-07-29 Hitachi, Ltd. Method for prefetching pointer-type data structure and information processing apparatus therefor
US5822788A (en) * 1996-12-20 1998-10-13 Intel Corporation Mechanism for prefetching targets of memory de-reference operations in a high-performance processor
US20040117555A1 (en) * 2002-12-17 2004-06-17 Intel Corporation Method and system to overlap pointer load cache misses
US20090198906A1 (en) * 2008-02-01 2009-08-06 Armilli Ravi K Techniques for Multi-Level Indirect Data Prefetching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Proceedings 21st International Conference on Computer Design, Shih-Chang Lai, Hardware-based pointer data prefetcher, Pages 290-298 *

Also Published As

Publication number Publication date
KR20160035545A (en) 2016-03-31
US20160085669A1 (en) 2016-03-24
KR102478766B1 (en) 2022-12-19
GB201512975D0 (en) 2015-09-09
US9697136B2 (en) 2017-07-04
CN105446898A (en) 2016-03-30
CN105446898B (en) 2021-03-19
GB2531395B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
US9858192B2 (en) Cross-page prefetching method, apparatus, and system
EP3537305A1 (en) System protecting caches from side-channel attacks
US9697136B2 (en) Descriptor ring management
JP6696987B2 (en) A cache accessed using a virtual address
US7793067B2 (en) Translation data prefetch in an IOMMU
US11853226B2 (en) Address translation cache with use of page size information to select an invalidation lookup mode, or use of leaf-and-intermediate exclusive range-specifying invalidation request, or use of invalidation request specifying single address and page size information
US10083126B2 (en) Apparatus and method for avoiding conflicting entries in a storage structure
US8195881B2 (en) System, method and processor for accessing data after a translation lookaside buffer miss
JP2018504694A5 (en)
EP3857388B1 (en) External memory based translation lookaside buffer
US20100217937A1 (en) Data processing apparatus and method
JP2017516228A (en) Method and apparatus for providing hardware support for self-modifying code
US10552334B2 (en) Systems and methods for acquiring data for loads at different access times from hierarchical sources using a load queue as a temporary storage buffer and completing the load early
US20190171376A1 (en) Permission control for contingent memory access program instruction
US8661169B2 (en) Copying data to a cache using direct memory access
WO2019141960A1 (en) Multiple guard tag setting instruction
US11500774B2 (en) Virtual cache tag renaming for synonym handling
CN114218132B (en) Information prefetching method, processor and electronic equipment
US11934320B2 (en) Translation lookaside buffer invalidation
CN111198827B (en) Page table prefetching method and device
GB2533768A (en) Cleaning a write-back cache