Schedulers with load-store queue awareness

US9563428B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9563428-B2
Application numberUS-201514669472-A
CountryUS
Kind codeB2
Filing dateMar 26, 2015
Priority dateMar 26, 2015
Publication dateFeb 7, 2017
Grant dateFeb 7, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In one embodiment, a computer-implemented method includes tracking a size of a load-store queue (LSQ) during compile time of a program. The size of the LSQ is time-varying and indicates how many memory access instructions of the program are on the LSQ. The method further includes scheduling, by a computer processor, a plurality of memory access instructions of the program based on the size of the LSQ.

First claim

Opening claim text (preview).

What is claimed is: 1. A system comprising: a memory having computer readable instructions; and one or more processors for executing the computer readable instructions, the computer readable instructions comprising: tracking a size of a load-store queue (LSQ) during compile time of a program, the size of the LSQ being time-varying and indicating how many memory access instructions of the program are on the LSQ; and scheduling, into a plurality of time windows, a plurality of memory access instructions of the program, wherein the scheduling into each time window of the plurality of time windows is based on how many memory access instructions of the program are on the LSQ at the time window, and wherein the scheduling comprises: determining that the LSQ has reached a maximum number of memory access instructions at a first time window of the plurality of time windows; estimating a length for which a memory access instruction of the plurality of memory accesses will be on the LSQ; selecting a time at which to schedule the memory access instruction such that the size of the LSQ does not exceed the maximum number of memory access instructions throughout the length of the memory access instruction; wherein the selecting comprises identifying a different time than the first time window at which to schedule the memory access instruction, responsive to the LSQ having reached the maximum number of memory access instructions at the first time window, wherein the identifying comprises scheduling the memory access instruction at an earlier time than the first time window; and scheduling an arithmetic instruction at the first time window in addition to the maximum number of memory access instructions, responsive to determining that the LSQ has reached the maximum number of memory access instructions at the first time window. 2. The system of claim 1 , wherein the estimating the length for which the memory access instruction of the plurality of memory accesses will be on the LSQ comprises estimating a latency of the memory access instruction. 3. The system of claim 1 , wherein the estimating the length for which the memory access instruction of the plurality of memory accesses will be on the LSQ comprises determining how many iterations of the memory access instruction will be issued. 4. The system of claim 1 , the computer readable instructions further comprising: dividing a running time of the program into a plurality of time windows, wherein each time window comprises two or more processor cycles; wherein the scheduling the plurality of memory access instructions of the program comprises ensuring the size of the LSQ does not exceed the maximum number of memory access instructions in each time window of the plurality of time windows. 5. A computer program product for scheduling instructions, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method comprising: tracking a size of a load-store queue (LSQ) during compile time of a program, the size of the LSQ being time-varying and indicating how many memory access instructions of the program are on the LSQ; and scheduling, into a plurality of time windows, a plurality of memory access instructions of the program, wherein the scheduling into each time window of the plurality of time windows is based on how many memory access instructions of the program are on the LSQ at the time window, and wherein the scheduling comprises: determining that the LSQ has reached a maximum number of memory access instructions at a first time window of the plurality of time windows; estimating a length for which a memory access instruction of the plurality of memory accesses will be on the LSQ; selecting a time at which to schedule the memory access instruction such that the size of the LSQ does not exceed the maximum number of memory access instructions throughout the length of the memory access instruction; wherein the selecting comprises identifying a different time than the first time window at which to schedule the memory access instruction, responsive to the LSQ having reached the maximum number of memory access instructions at the first time window, wherein the identifying comprises scheduling the memory access instruction at an earlier time than the first time window; and scheduling an arithmetic instruction at the first time window in addition to the maximum number of memory access instructions, responsive to determining that the LSQ has reached the maximum number of memory access instructions at the first time window. 6. The computer program product of claim 5 , wherein the estimating the length for which the memory access instruction of the plurality of memory accesses will be on the LSQ comprises estimating a latency of the memory access instruction. 7. The computer program product of claim 5 , further comprising: dividing a running time of the program into a plurality of time windows, wherein each time window comprises two or more processor cycles; wherein the scheduling the plurality of memory access instructions of the program comprises ensuring the size of the LSQ does not exceed the maximum number of memory access instructions in each time window of the plurality of time windows.

Assignees

Inventors

Classifications

  • Reducing the memory space required by the program code · CPC title

  • G06F9/3842Primary

    Speculative instruction execution · CPC title

  • LOAD or STORE instructions; Clear instruction · CPC title

  • G06F8/4451Primary

    Avoiding pipeline stalls · CPC title

  • Instruction completion, e.g. retiring, committing or graduating · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9563428B2 cover?
In one embodiment, a computer-implemented method includes tracking a size of a load-store queue (LSQ) during compile time of a program. The size of the LSQ is time-varying and indicates how many memory access instructions of the program are on the LSQ. The method further includes scheduling, by a computer processor, a plurality of memory access instructions of the program based on the size of t…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/3842. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 07 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).