×

System and method for compiler assisted parallelization of a stream processing operator

  • US 9,367,293 B2
  • Filed: 06/18/2012
  • Issued: 06/14/2016
  • Est. Priority Date: 06/18/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of enabling compiler assisted parallelization of one or more stream processing operators in a stream processing application operating on a computer processing device, the method comprising:

  • creating a theoretical model of one or more operators in a compiler, wherein the theoretical model is based on a plurality of factors comprising an average processing time per tuple, an average number of accesses to a shared state per tuple, and a time to read/write to the shared state;

    specifying a parallelized version of the one or more operators in the stream processing application based on the theoretical model;

    evaluating whether the theoretical model improves the performance of the one or more operators, wherein evaluating whether the theoretical model improves the performance of the one or more operators comprises;

    determining the greater of the throughput of a single operator and the throughput of the parallelized operator at compile time;

    computing a degree of parallelism if the theoretical model improves the performance of the one or more operators; and

    replacing, by the compiler, the one or more operators with the parallelized version of the one or more operators, in response to computing the degree of parallelism.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×