Changes between Version 9 and Version 10 of AppMultiThread


Ignore:
Timestamp:
Jan 10, 2008, 3:44:39 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppMultiThread

    v9 v10  
    1313
    1414 * If your application's memory footprint is large enough that, on some PCs, there's not enough RAM to run a separate copy of the app on each CPU.
    15 
    1615 * If you want to reduce the turnaround time of your jobs (either because of human factors, or to reduce server occupancy).
    1716
    1817Writing and debugging a multi-threaded app is hard.
    1918You may be able to use languages like Titanium or Cilk,
    20 or libraries of
    21 numerical "kernels" that are multi-threaded.
     19or libraries of numerical "kernels" that are multi-threaded.
    2220
    2321== Assumptions ==
     
    8078
    8179State:
    82  * ACTIVE_TASK::nthreads_actual
     80 * int ACTIVE_TASK::nthreads
    8381
    8482Implementation ({{{enforce_schedule()}}}):
    85 as we schedule jobs, decrement CPU count by {{{actual_nthreads}}}.
     83as we schedule jobs, decrement CPU count by {{{atp->nthreads}}}.
    8684{{{rr_simulation()}}} needs to be modified too.
    8785