Parallel Computing Platform: An Integrated Approach to Tooling

Play Parallel Computing Platform: An Integrated Approach to Tooling

The Discussion

  • User profile image
    That was really cool, it makes a lot of sense that we don't really want to be working purely with threads, but expressing concurrency with an abstraction which can more intelligently handle threads and thread pools etc.. the task panel seems like such a natural thing that should exist.
  • User profile image

    You have to be careful with parallel execution when it comes to disk I/O.
    If each thread is accessing a file, the whole thing slows down to a crawl as the hard disc read head has to jump to each file every 20ms. It would be MUCH better if the operating system could allocate more time to read a file before it allowed a context switch. say 500ms. that would allow more data to be retrieved from the hard disc, less head thrash, less time waiting for the head to move, and performance would go up greatly.

    Just try creating 2 or more zip archives at the same time, then time it again but only doing 1 at a time. Winrar has a feature where it will wait (probably using a global mutex) for other winrar windows to finish before the next one starts.

    You can context switch CPU threads till the cows come home, but a phsical device needs more time to read/write when the head arrives.

Add Your 2 Cents