in

.NET Opensource

Community for opensource projects by Christoph Rüegg

Thread Scheduler

Last post 12-26-2007 22:42 by mattman206. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-27-2007 10:51

    • MovGP0
    • Top 10 Contributor
      Male
    • Joined on 11-21-2005
    • Austria
    • Posts 49

    Thread Scheduler

    I think that it would be a good Idea to realize a kind of thread scheduler that provides one (or two if hyperthreading is enabled) thread(s) per core.

    If a calculation is able to get parallelized, like the calculation of matrix determinants or the calculus of integrals, the thread scheduler should get feeded with individual objects that are performing the needed operations separately.

    Thoughts?  

  • 09-17-2007 8:44 In reply to

    • leon
    • Top 25 Contributor
    • Joined on 09-17-2007
    • Posts 3

    Re: Thread Scheduler

    i thought about the same thing, comming across a "out of memory"error, i wanted to dimension a matrix of 10000x10000 in one thread invert it in an other and calculate the result in threat no3  however i am not that capable in .net and the initialize of the first matrix came with and error of memory at the start

  • 12-26-2007 22:42 In reply to

    Re: Thread Scheduler

    Perhaps it might be worth looking into the Parallel Extensions framework:

    http://www.danielmoth.com/Blog/2007/11/parallel-extensions.html 

    After watching some of those videos, it looks extremely useful.  And not much effort to be able to replace the "for" loops with Parallel.For() and a few anonymous functions, and be able to utilize all N cores of an N core machine.

      

    Filed under:
Page 1 of 1 (3 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems