講演抄録/キーワード |
講演名 |
2013-08-02 14:30
Valgrindを利用した自動並列処理システムにおける実行時オーバヘッドの削減 ○星 孝幸・大津金光・大川 猛・横田隆史(宇都宮大) CPSY2013-23 |
抄録 |
(和) |
マルチコアプロセッサの性能を効果的に活用するためにはスレッドレベルの並列処理が必要である.ソースコードを参照することなく自動並列処理を実現するために,広く使われているValgrindのバイナリ変換機能を使って逐次のバイナリコードを並列化し,並列実行するシステムを我々は開発している.Valgrindは基本ブロックを実行する毎に変換コードの検索を行うため,それが実行時のオーバヘッドになっており,プログラムの性能向上の妨げになっていた.これを解決するために我々は変換コードの検索回数を削減する方法として,分岐先がそのブロック自身である場合にはそのブロックの先頭に直接ジャンプする方式と,複数の基本ブロックをまとめて変換することでブロック間をジャンプ命令により直接遷移する方式を検討した.初期評価により,ループの実行時にオーバヘッドとなっていた検索処理の回数を減らすことができ,20%の命令を削減できることを示す. |
(英) |
In order to efficiently utilize the performance of multicore processors, thread level parallel processing is indispensable. To realize the automatic parallel processing without program source codes, we develop a dynamic binary translation system that can parallelize sequential program binary code to the parallelized one by using the Valgrind framework, that is widely used. Since the Valgrind searches for the translated code of each basic block whenever each basic block of target program binary code is executed, the translation process itself becomes the runtime overhead and might cause the obstacle of performance improvement. Toward this problem, we develop two methods for reducing the number of search processes of translated codes. One method is that a basic block directly jumps to itself without passing through the search process within the Valgrind system core when the target of branch instruction is same as the top of the block. The other method is that multiple basic blocks are translated at a time to allow each block to directly jump to next one. Preliminary evaluation shows that the methods can reduce the number of search processes that are runtime overhead, and 20% of the executed instructions can be reduced. |
キーワード |
(和) |
スレッドレベル並列処理 / 動的バイナリ変換 / 自動並列化 / 実行時オーバヘッド / / / / |
(英) |
thread level parallel processing / dynamic binary translation / automatic parallelization / runtime overhead / / / / |
文献情報 |
信学技報, vol. 113, no. 169, CPSY2013-23, pp. 79-84, 2013年8月. |
資料番号 |
CPSY2013-23 |
発行日 |
2013-07-25 (CPSY) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
CPSY2013-23 |