×

Dynamic SMT in parallel database systems

  • US 9,208,197 B2
  • Filed: 10/21/2011
  • Issued: 12/08/2015
  • Est. Priority Date: 10/21/2011
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method comprising:

  • determining an access plan for a query, the access plan having a plurality of stages;

    determining a maximum degree of parallelism for the plurality of stages, wherein the maximum degree of parallelism is the highest degree of parallelism used by any one stage of the access plan;

    reserving processor cores from a set of processor cores in accordance with the maximum degree of parallelism and a maximum SMT mode, wherein the maximum SMT mode is the maximum number of simultaneous threads executable by any one processor core in the set of processor cores;

    set an SMT mode for the reserved processor cores based on a first degree of parallelism determined for a first stage of the access plan;

    scheduling, based on the SMT mode, a plurality of threads for the first stage of the access plan on the reserved processor cores;

    changing, during processing of the access plan, the SMT mode in accordance with a second degree of parallelism determined for a second stage of the access plan, wherein the SMT mode is decreased in response to determining that the second degree of parallelism is less than the first degree of parallelism determined for the first stage of the access plan or increased in response to determining that the second degree of parallelism is greater than the first degree of parallelism determined for the first stage of the access plan; and

    scheduling, based on the changed SMT mode, a plurality of threads for the second stage of the access plan on the reserved processor cores.

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