[論文レビュー] Is Parallel Programming Hard, And, If So, What Can You Do About It? (v2017.01.02a).
本書は共有メモリマシンにおける並列プログラミングの工学的アプローチを提示し、一般的な落とし穴を避けるための設計原則と実用的な戦略を提供する。日常的タスクの自動化に重点を置き、実務家にとって並列プログラミングをよりアクセスしやすく、体系的かつ楽しくするのを目的としている。
The purpose of this book is to help you program shared-memory parallel machines without risking your sanity. We hope that this book's design principles will help you avoid at least some parallel-programming pitfalls. That said, you should think of this book as a foundation on which to build, rather than as a completed cathedral. Your mission, if you choose to accept, is to help make further progress in the exciting field of parallel programming--progress that will in time render this book obsolete. Parallel programming is not as hard as some say, and we hope that this book makes your parallel-programming projects easier and more fun. In short, where parallel programming once focused on science, research, and grand-challenge projects, it is quickly becoming an engineering discipline. We therefore examine specific parallel-programming tasks and describe how to approach them. In some surprisingly common cases, they can even be automated. This book is written in the hope that presenting the engineering discipline underlying successful parallel-programming projects will free a new generation of parallel hackers from the need to slowly and painstakingly reinvent old wheels, enabling them to instead focus their energy and creativity on new frontiers. We sincerely hope that parallel programming brings you at least as much fun, excitement, and challenge that it has brought to us!
研究の動機と目的
- 並列プログラミングを研究志向の取り組みから、繰り返し可能でスケーラブルな実践的慣習を有する工学的分野へと転換すること。
- 基盤的な設計原則を提供することで、並列プログラミングにおける認知的負担と失敗のリスクを低減すること。
- 開発者が低レベルの並列プログラミングパターンを再発明するのではなく、イノベーションに集中できるようにすること。
- 多くの並列プログラミングタスクが自動化可能であることを示し、生産性と正しさを向上させること。
- 次世代の開発者や研究者にとって、並列プログラミングをより取り組みやすく、楽しくすること。
提案手法
- 共有メモリ並列プログラムの設計に向けた体系的で工学的ベースのアプローチを提唱すること。
- 並列プログラミングにおける繰り返し現れるパターンとアンチパターンを特定・形式化し、ベストプラクティスを導くこと。
- 複雑さを隔離し、エラーを引き起こしやすいコーディングを減らすためにモジュラリティと抽象化に重点を置くこと。
- 同期やロードバランシングなどの一般的な並列プログラミングタスクの自動化機会を提示すること。
- 原則を実世界のプログラミングタスクに適用する方法を示す、具体的な例と事例研究を提供すること。
- 本書を進化し続ける基盤として位置づけ、将来的には将来的な進歩によって置き換えられることを意図していること。
実験結果
リサーチクエスチョン
- RQ1どのようにして並列プログラミングを体系化し、一時的な、誤りを引き起こしやすいアプローチへの依存を減らせるか?
- RQ2どのような設計原則が共有メモリ並列プログラミングの予測可能性と保守性を高めるか?
- RQ3どの一般的なシナリオで並列プログラミングタスクを自動化し、開発者の生産性を向上させられるか?
- RQ4研究志向から工学志向への並列プログラミングの移行を効果的に支援するにはどうすればよいか?
- RQ5パフォーマンスを犠牲にすることなく、よく知られた並列プログラミングの落とし穴を避けるにはどのような戦略があるか?
主な発見
- 確立された工学的原則を通じて、並列プログラミングを著しく体系的かつ誤りが生じにくくできる。
- レースコンディションやロードバランシングの欠陥といった、繰り返し現れる課題は、適切な抽象化と設計によって緩和できる。
- 日常的並列プログラミングタスクの自動化は実現可能であり、開発時間と認知的負担を削減できる。
- 研究志向から工学志向への並列プログラミングの移行により、広範な採用と迅速なイノベーションが可能になる。
- 本書は、将来的な進歩によって置き換えられることが想定される基盤的リファレンスとして機能し、分野の成熟を反映している。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。