Mercurial > hg > Papers > 2014 > masakoha-sigos
changeset 18:130ac8a4750d
add experiment
author | Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Apr 2014 02:46:11 +0900 |
parents | 29facd9075d4 |
children | 48ebb5f63f85 |
files | experiment.txt |
diffstat | 1 files changed, 78 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/experiment.txt Tue Apr 22 00:13:26 2014 +0900 +++ b/experiment.txt Tue Apr 22 02:46:11 2014 +0900 @@ -1,9 +1,25 @@ -2014/04/18 (Fri) - [memo] +[実験結果] word count の再計測 +-------------------------------------------------------------------- + ファイルサイズ:1GB + cpu num : 可変 + division size : 128KB + block num : 48 + + CPU の数を変化させて測定 + + ファイルの読み込みを含めた時間表 + + cpu num --> | CPU 1 | CPU 4 | CPU 8 | CPU 12 + --------------------------------------------------- + mmap | 20.179 | 22.861 | 22.789 | 22.713 + read | 21.351 | 15.737 | 14.785 | 12.520 + bread & IO_0 | 13.930 | 14.634 | 14.774 | 10.295 + bread & SPE_ANY | 18.531 | 15.646 | 15.287 | 14.028 + --------------------------------------------------- ./word_count -file 1gb.txt -cpu 12 -division 128 -block 48 -m - (CPU num = 12) + (CPU num = 12) 左は読み込みを含めた時間 右はキャッシュに入ったときの時間 < mmap > 22.713 0.878 < read > 12.520 1.469 < bread & IO_0 > 10.295 0.886 @@ -27,28 +43,65 @@ < bread & IO_0 > 13.930 6.009 < bread & IO_0 > 18.531 6.775 +-------------------------------------------------------------------- + ファイルサイズ: 可変 + cpu num : 12 + division size : 128KB + block num : 48 + + ファイルサイズを変化させて測定 + + filesize --> | 1 GB | 2 GB | 3 GB | 4 GB + --------------------------------------------------- + mmap | 22.713 | 34.072 | 52.819 | 68.951 + read | 12.520 | 24.755 | 33.398 | 43.578 + bread & IO_0 | 10.295 | 21.396 | 32.798 | 42.491 + bread & SPE_ANY | 14.028 | 23.909 | 37.140 | 48.078 + --------------------------------------------------- ./word_count -file X gb.txt -cpu 12 -division 128 -block 48 -m + (file size 1GB) + < mmap > 22.713 0.878 + < read > 12.520 1.469 + < bread & IO_0 > 10.295 0.886 + < bread & SPE_ANY > 14.028 0.882 + (file size 2GB) - < mmap > 38.208 - < read > - < bread & IO_0 > 24.201 - < bread & SPE_ANY > 28.411 + < mmap > 34.072 1.531 + < read > 24.755 + < bread & IO_0 > 21.396 + < bread & SPE_ANY > 23.909 (file size 3GB) - < mmap > 58.514 2.290 - < read > - < bread & IO_0 > 36.397 - < bread & SPE_ANY > 41.740 + < mmap > 52.819 2.306 + < read > 33.398 + < bread & IO_0 > 32.798 + < bread & SPE_ANY > 37.140 (file size 4GB) - < mmap > 73.767 - < read > - < bread & IO_0 > 47.967 - < bread & SPE_ANY > 53.813 + < mmap > 68.951 2.962 + < read > 43.578 + < bread & IO_0 > 42.491 + < bread & SPE_ANY > 48.078 +-------------------------------------------------------------------- + + ファイルサイズ: 1 GB + cpu num : 可変 + division size : 16 KB <----- division サイズを元の大きさで測定 + block num : 48 + + cpu num を変化させてみて測定 + + cpu num --> | 1 | 4 | 8 | 12 + --------------------------------------------------- + mmap | 15.353 | | 11.707 | 11.137 + read | 16.846 | | 11.487 | 11.437 + bread & IO_0 | 11.503 | | 11.365 | 11.412 + bread & SPE_ANY | 13.297 | | 10.887 | 11.146 + --------------------------------------------------- ./word_count -file 1gb.txt -cpu 12 -division 16 -block 48 -m @@ -58,8 +111,14 @@ < bread & SPE_ANY > 11.146 0.866 ./word_count -file 1gb.txt -cpu 1 -division 16 -block 48 -m - < mmap > 17.421 6.739 - < read > 19.285 7.037 - < bread & IO_0 > - < bread & SPE_ANY > + < mmap > 15.353 + < read > 16.846 + < bread & IO_0 > 11.503 6.992 + < bread & SPE_ANY > 13.297 + ./word_count -file 1gb.txt -cpu 8 -division 16 -block 48 -m + < mmap > 11.707 + < read > 11.487 + < bread & IO_0 > 11.365 + < bread & SPE_ANY > 10.887 +