Changes between Version 9 and Version 10 of AppMultiThread
- Timestamp:
- Jan 10, 2008, 3:44:39 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AppMultiThread
v9 v10 13 13 14 14 * 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 16 15 * If you want to reduce the turnaround time of your jobs (either because of human factors, or to reduce server occupancy). 17 16 18 17 Writing and debugging a multi-threaded app is hard. 19 18 You may be able to use languages like Titanium or Cilk, 20 or libraries of 21 numerical "kernels" that are multi-threaded. 19 or libraries of numerical "kernels" that are multi-threaded. 22 20 23 21 == Assumptions == … … 80 78 81 79 State: 82 * ACTIVE_TASK::nthreads_actual80 * int ACTIVE_TASK::nthreads 83 81 84 82 Implementation ({{{enforce_schedule()}}}): 85 as we schedule jobs, decrement CPU count by {{{a ctual_nthreads}}}.83 as we schedule jobs, decrement CPU count by {{{atp->nthreads}}}. 86 84 {{{rr_simulation()}}} needs to be modified too. 87 85