随笔分类 -  The Art of Concurrency write-ups

The Art of Concurrency write-ups
how can you communicate how much faster your concurrent application now performs
摘要:You could report two execution figures-serial execution timeparallel execution timeon the same input data set-to your manager.speedupWhen computing speedup, be sure to use the best serial algorithms a... 阅读全文

posted @ 2010-09-12 17:38 胡是 阅读(298) 评论(0) 推荐(0)

如何把任务分配给线程
摘要:We can allocate tasks to threads in two different ways: static scheduling or dynamic scheduling. NOTEUnder worksharing constructs in OpenMP and the parallel algorithms of Intel Threading Building Blo... 阅读全文

posted @ 2010-09-07 15:05 胡是 阅读(605) 评论(0) 推荐(0)

并行编程的任务分解模型 Task Decomposition
摘要:any concurrent algorithm is going to turn out to be nothing more than a collection of concurrent tasks. be obvious independent function calls within the code be loop iterations that can be executed i... 阅读全文

posted @ 2010-09-07 13:07 胡是 阅读(430) 评论(0) 推荐(0)

Concurrent Design Models Wrap-up
摘要:There often aren’t clear, discrete steps to follow when developing a task or data decomposition solution. When considering how to answer the design element questions for your chosen design model, some... 阅读全文

posted @ 2010-09-06 21:47 胡是 阅读(264) 评论(0) 推荐(0)

Concurrent or Not Concurrent?
摘要:… In addition, I want to let you know that not every bit of computation can be made concurrent, no matter how hard you try. To save you the time of trying to take on too many impossible things in the ... 阅读全文

posted @ 2010-09-06 21:30 胡是 阅读(175) 评论(0) 推荐(0)

并行编程:共享内存模型与分布式内存模型
摘要:Common features The following features are common to shared-memory parallelism and distributed-memory parallelism. Redundant work No matter how concurrent an algorithm is, there are still parts that ... 阅读全文

posted @ 2010-09-06 14:19 胡是 阅读(1495) 评论(0) 推荐(0)

Software Lifecycle and Theading Methodology from Intel
摘要:Software LifecycleSpecificationTalk to users of the software to find out what functionality is desired, what the input and output specifications are, and, based on the feedback, formally specify the f... 阅读全文

posted @ 2010-09-05 16:52 胡是 阅读(232) 评论(0) 推荐(0)

TWO-MINUTE PRIMER ON CONCURRENT PROGRAMMING
摘要:Concurrent programming is all about independent computations that the machine can execute in any order. Iterations of loops and function calls within the code that can be executed autonomously are two... 阅读全文

posted @ 2010-09-05 15:24 胡是 阅读(220) 评论(0) 推荐(0)

The art of concurency
摘要:想运行得更快?请举起你的手 是还是不是并发 提供正确性并衡量性能 设计多线程程序的8个简单规则 多线程开发库 并行加和前缀扫描 MAP/REDUCE 排序 搜索 图算法 多线程工具 阅读全文

posted @ 2010-07-24 13:31 胡是 阅读(129) 评论(0) 推荐(0)

导航