diff --git a/src/counter_analysis_toolkit/scripts/README.md b/src/counter_analysis_toolkit/scripts/README.md new file mode 100644 index 000000000..bd3bb53f0 --- /dev/null +++ b/src/counter_analysis_toolkit/scripts/README.md @@ -0,0 +1,50 @@ +# Contents + +The directory 'scripts' contains the files: + +* README.txt +* process_dcache_output.sh +* default_gnp.inc +* single_plot.gnp +* multi_plot.gnp + +and the directory 'sample_data'. + + +# Examples + +Executing the following commands: +``` +gnuplot single_plot.gnp +gnuplot multi_plot.gnp +``` +will produce PDF files (single_plot.pdf and multi_plot.pdf) +with graphs showing the data in the directory 'sample_data'. + + +# Data Post-processing + +To use these gnuplot programs with data generated by the cache benchmarks of +CAT (cat_collect -dcr, and cat_collect -dcw), the user must post-process the +output files of the benchmarks. +Executing the bash script 'process_dcache_output.sh' using as input a data file +generated by the data cache benchmarks will compute basic statistics +(min, avg, max) of the data gathered by each thread for each test size. The output +is automatically stored in a new file with the keyword '.stat' appended to its name. +These ".stat" files can be used as input for the gnuplot scripts. + + +# Modifying the Gnuplot scripts + +The example scripts 'single_plot.gnp' and 'multi_plot.gnp' contain variables +(at the top of each script) that must be modified to fit the user's use case and +environment. + +* The variables 'L1_per_core', 'L2_per_core', and 'L3_per_core' must be set to + indicate the sizes of the caches per core + +* The variables 'SML_STRIDE', 'BIG_STRIDE', 'SML_PPB', and 'BIG_PPB' must be set + to the corresponding values reported in the benchmark output file. + +* The directory 'DIR' where the user data resides, the name of the event 'EVENT' whose + data is being plotted, and the plot title 'PLOT_TITLE'. diff --git a/src/counter_analysis_toolkit/scripts/README.txt b/src/counter_analysis_toolkit/scripts/README.txt deleted file mode 100644 index 6a650766e..000000000 --- a/src/counter_analysis_toolkit/scripts/README.txt +++ /dev/null @@ -1,33 +0,0 @@ -# Contents - -The directory 'scripts' contains the files: - -* README.txt -* process_dcache_output.sh -* single_plot.gnp -* multi_plot.gnp -* default.gnp - -and the directory 'sample_data'. - -# Data Post-processing - -Executing the bash script 'process_dcache_output.sh' using as input a data file -generate by the data cache benchmarks (dcr, and dcw) will compute basic statistics -(min, avg, max) of the data gathered by each thread for each test size. The output -is automatically stored in a new file that has the keyword '.stat' appened to it. - - -# Using the gnuplot files - -This directory contains two example gnuplot files that can be used to generate graphs, -'single_plot.gnp' and 'multi_plot.gnp'. These examples contain variables that must -be modified to fit the user's use case and environment. Specifically, the following -variables must be set to indicate the sizes of the caches (per core). - -* L1_per_core -* L2_per_core -* L3_per_core - -as well as the directory where the user data resides, 'DIR', and the event whose -data is being ploted, 'EVENT' diff --git a/src/counter_analysis_toolkit/scripts/default.gnp b/src/counter_analysis_toolkit/scripts/default_gnp.inc similarity index 99% rename from src/counter_analysis_toolkit/scripts/default.gnp rename to src/counter_analysis_toolkit/scripts/default_gnp.inc index 804ca231a..e26b651b6 100644 --- a/src/counter_analysis_toolkit/scripts/default.gnp +++ b/src/counter_analysis_toolkit/scripts/default_gnp.inc @@ -35,7 +35,6 @@ set key maxcolumns 0 maxrows 0 set key noopaque unset label unset arrow -set style increment default unset style line unset style arrow set style histogram clustered gap 2 title textcolor lt -1 diff --git a/src/counter_analysis_toolkit/scripts/multi_plot.gnp b/src/counter_analysis_toolkit/scripts/multi_plot.gnp index 99053836e..f4c653b6e 100644 --- a/src/counter_analysis_toolkit/scripts/multi_plot.gnp +++ b/src/counter_analysis_toolkit/scripts/multi_plot.gnp @@ -1,12 +1,17 @@ -L1_per_core=48*1024 -L2_per_core=1280*1024 -L3_per_core=36864*1024/4 +L1_per_core=32768 +L2_per_core=1048576 +L3_per_core=4194304 + +SML_STRIDE=128 +BIG_STRIDE=256 +SML_PPB=16 +BIG_PPB=512 DIR="sample_data/" -EVENT1="L2_RQSTS:DEMAND_DATA_RD_MISS" -EVENT2="L2_RQSTS:DEMAND_DATA_RD_HIT" -EVENT3="L2_RQSTS:ALL_DEMAND_REFERENCES" -PLOT_TITLE="L2_RQSTS (MISS/HIT/REF)" +EVENT1="PM_DATA_FROM_L2" +EVENT2="PM_DATA_FROM_L3" +EVENT3="PM_DATA_FROM_L3MISS" +PLOT_TITLE="L2 Reads / L3_reads / L3 Misses" SUFFIX=".data.reads.stat" @@ -18,7 +23,7 @@ set label 3 at L2_per_core+(L3_per_core-L2_per_core)/20, graph 1.020 "L3" font set terminal pdfcairo noenhanced font "Sans,12" set output "multi_plot.pdf" -load "default.gnp" +load "default_gnp.inc" set xtics ("" L1_per_core, "" L2_per_core, "" L3_per_core) @@ -31,7 +36,8 @@ unset key set multiplot layout 1,6 title PLOT_TITLE." set margin 0,0,1.5,2.5 -set label 20 "Event Count" at screen 0.015,0.375 rotate by 90 # Y-label +set label 20 "Normalized Event Count" at screen 0.015,0.26 rotate by 90 # Y-label + OFFSET=0.09 GAP=0.015 @@ -39,7 +45,7 @@ WIDTH=(1.0-(OFFSET+5.0*GAP+GAP/4.0))/6.0 ### -set label 21 "RND:64:256" at graph 0.1,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",SML_STRIDE,BIG_PPB) at graph 0.1,-0.05 font ",10" # X-label set size 0.1475,1 set size WIDTH,1 set origin OFFSET,0.0 @@ -55,7 +61,7 @@ set ytics scale 0.1,0.5 unset label 20 ### -set label 21 "RND:64:16" at graph 0.16,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",SML_STRIDE,SML_PPB) at graph 0.16,-0.05 font ",10" # X-label set object 1 rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#FFFAE8' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*1,0 @@ -66,7 +72,7 @@ plot \ unset object 1 ### -set label 21 "RND:128:256" at graph 0.1,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",BIG_STRIDE,BIG_PPB) at graph 0.1,-0.05 font ",10" # X-label set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*2,0 plot \ @@ -75,7 +81,7 @@ plot \ FILE3 every :::2::2 using 1:2 w lp ls 1 ### -set label 21 "RND:128:16" at graph 0.1,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",BIG_STRIDE,SML_PPB) at graph 0.1,-0.05 font ",10" # X-label set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#FFFAE8' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*3,0 @@ -85,7 +91,7 @@ plot \ FILE3 every :::3::3 using 1:2 w lp ls 1 ### -set label 21 "SEQ:64" at graph 0.25,-0.05 font ",10" # X-label +set label 21 sprintf("SEQ:%d",SML_STRIDE) at graph 0.25,-0.05 font ",10" # X-label set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#F0F6FF' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*4,0 @@ -95,8 +101,11 @@ plot \ FILE3 every :::4::4 using 1:2 w lp ls 1 ### -set key top right font ",6" -set label 21 "SEQ:128" at graph 0.2,-0.05 font ",10" # X-label +set key at screen 0.997,0.997 +set key font ",6" +set key opaque box samplen 4 width 2 height 1 + +set label 21 sprintf("SEQ:%d",BIG_STRIDE) at graph 0.2,-0.05 font ",10" # X-label set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#F0F6FF' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*5,0 diff --git a/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:ALL_DEMAND_REFERENCES.data.reads.stat b/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:ALL_DEMAND_REFERENCES.data.reads.stat deleted file mode 100644 index 79729552f..000000000 --- a/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:ALL_DEMAND_REFERENCES.data.reads.stat +++ /dev/null @@ -1,252 +0,0 @@ -# Core: 48 1 2 3 -# PTRN=3, STRIDE=64, PPB=256.000000, ThreadCount=4 -6144 0.000172 0.00021675 0.000236 -7816 0.000203 0.00024225 0.000267 -9952 0.000275 0.00031925 0.000343 -12672 0.000338 0.00035225 0.000377 -16136 0.000438 0.00048375 0.000553 -20544 0.000472 0.00050975 0.000551 -26152 0.000585 0.00063625 0.000692 -33296 0.000706 0.00074425 0.000776 -42392 0.000923 0.00103875 0.001340 -53968 0.987170 0.989332 0.993613 -68712 0.996439 0.998658 1.000128 -87472 0.997986 0.999019 1.000160 -111360 0.998442 0.998979 0.999944 -141776 1.000614 1.00134 1.001977 -180496 1.000589 1.00063 1.000681 -229784 1.000602 1.0008 1.001070 -292536 1.000556 1.0006 1.000626 -372424 1.000629 1.00078 1.000942 -474136 1.000194 1.00033 1.000486 -603616 1.000437 1.0005 1.000581 -768456 1.000326 1.00039 1.000455 -978312 1.000232 1.0003 1.000321 -1245480 1.000123 1.00016 1.000197 -1585608 1.000071 1.00013 1.000167 -2018616 1.000122 1.00013 1.000137 -2569880 1.000113 1.00013 1.000134 -3271688 1.000033 1.00006 1.000086 -4165144 1.000084 1.00011 1.000127 -5302600 1.000020 1.00003 1.000077 -6750672 1.000020 1.00004 1.000050 -8594208 1.000012 1.00003 1.000036 -10941184 1.000013 1.00004 1.000048 -13929096 1.000023 1.00005 1.000068 -17732968 1.000039 1.00005 1.000067 -22575632 1.000040 1.00007 1.000092 -28740768 1.000051 1.00006 1.000071 -36589536 1.000059 1.00007 1.000078 -46581704 1.000064 1.00007 1.000089 -59302624 1.000056 1.00007 1.000079 -75497464 1.000060 1.00007 1.000077 - -# PTRN=3, STRIDE=64, PPB=16.000000, ThreadCount=4 -6144 0.000212 0.0002365 0.000266 -7816 0.000229 0.00027075 0.000303 -9952 0.000306 0.0003295 0.000347 -12672 0.000294 0.00035475 0.000398 -16136 0.000393 0.00046775 0.000535 -20544 0.000469 0.00051175 0.000549 -26152 0.000571 0.0008595 0.001432 -33296 0.000714 0.00075775 0.000813 -42392 0.000890 0.00357275 0.010940 -53968 0.987156 0.989347 0.990745 -68712 0.993772 0.998029 1.000198 -87472 0.997206 0.997921 0.998671 -111360 0.997375 0.998449 0.999542 -141776 0.999540 1.00045 1.001219 -180496 0.999780 1.00021 1.000702 -229784 0.998992 0.999683 1.000318 -292536 0.998967 0.999683 1.000048 -372424 0.999038 0.999624 1.000498 -474136 0.998769 0.999239 0.999744 -603616 0.999162 0.999358 0.999648 -768456 0.998931 0.999201 0.999600 -978312 0.999011 0.999289 0.999622 -1245480 0.998596 0.999042 0.999471 -1585608 0.997967 0.998282 0.998452 -2018616 0.997826 0.998066 0.998298 -2569880 0.997863 0.998065 0.998211 -3271688 0.998121 0.99821 0.998398 -4165144 0.997950 0.998051 0.998185 -5302600 0.997828 0.997995 0.998152 -6750672 0.997966 0.998008 0.998071 -8594208 0.997685 0.99781 0.997862 -10941184 0.997470 0.997686 0.997961 -13929096 0.997488 0.997592 0.997899 -17732968 0.997472 0.997521 0.997562 -22575632 0.997411 0.997444 0.997486 -28740768 0.997213 0.997341 0.997399 -36589536 0.997231 0.997315 0.997381 -46581704 0.997302 0.997354 0.997416 -59302624 0.997219 0.997289 0.997358 -75497464 0.997250 0.997346 0.997445 - -# PTRN=3, STRIDE=128, PPB=256.000000, ThreadCount=4 -6144 0.000244 0.00035925 0.000417 -7816 0.000295 0.000459 0.000613 -9952 0.000339 0.00041925 0.000552 -12672 0.000378 0.0004605 0.000493 -16136 0.000439 0.0004905 0.000530 -20544 0.000574 0.0006725 0.000776 -26152 0.000667 0.00073625 0.000791 -33296 0.000828 0.00085575 0.000884 -42392 0.001055 0.0013875 0.001763 -53968 1.000154 1.00024 1.000310 -68712 0.994104 0.997898 1.000398 -87472 0.998794 0.999875 1.000300 -111360 0.999136 0.99993 1.000266 -141776 1.001842 1.00217 1.002600 -180496 1.001149 1.00158 1.001773 -229784 1.001894 1.00201 1.002195 -292536 1.000989 1.00108 1.001199 -372424 1.000454 1.00102 1.001279 -474136 1.000205 1.00056 1.000761 -603616 1.000895 1.00093 1.000967 -768456 1.000556 1.00065 1.000853 -978312 1.000343 1.0004 1.000463 -1245480 1.000154 1.00022 1.000329 -1585608 1.000207 1.00025 1.000287 -2018616 1.000250 1.00028 1.000322 -2569880 1.000162 1.0002 1.000210 -3271688 1.000109 1.00016 1.000178 -4165144 1.000133 1.00016 1.000199 -5302600 1.000096 1.00012 1.000140 -6750672 1.000074 1.0001 1.000118 -8594208 1.000012 1.00006 1.000090 -10941184 1.000061 1.00007 1.000080 -13929096 1.000055 1.00008 1.000100 -17732968 1.000050 1.00006 1.000076 -22575632 1.000051 1.00007 1.000079 -28740768 1.000038 1.00005 1.000059 -36589536 1.000048 1.00006 1.000067 -46581704 1.000057 1.00006 1.000069 -59302624 1.000049 1.00006 1.000065 -75497464 1.000043 1.00005 1.000058 - -# PTRN=3, STRIDE=128, PPB=16.000000, ThreadCount=4 -6144 0.000300 0.00036075 0.000449 -7816 0.000400 0.0004135 0.000439 -9952 0.000327 0.00036625 0.000413 -12672 0.000413 0.00044325 0.000493 -16136 0.000396 0.0004835 0.000549 -20544 0.000481 0.000568 0.000615 -26152 0.000674 0.00070625 0.000728 -33296 0.000813 0.00085025 0.000916 -42392 0.001450 0.00457075 0.013486 -53968 0.988591 0.997261 1.000176 -68712 0.999712 1.0002 1.000410 -87472 1.000195 1.00023 1.000247 -111360 0.999011 0.999606 1.000208 -141776 1.001174 1.00187 1.002365 -180496 1.001347 1.00143 1.001645 -229784 1.000279 1.00148 1.002028 -292536 1.000831 1.00095 1.001103 -372424 1.000048 1.00053 1.000894 -474136 1.000140 1.00027 1.000540 -603616 1.000064 1.00068 1.001060 -768456 1.000023 1.00025 1.000593 -978312 0.999296 0.999656 1.000222 -1245480 0.999646 0.999876 1.000076 -1585608 0.998925 0.9991 0.999370 -2018616 0.998852 0.998946 0.999046 -2569880 0.998690 0.998893 0.999055 -3271688 0.998723 0.999054 0.999251 -4165144 0.998238 0.998834 0.999117 -5302600 0.998606 0.99873 0.998948 -6750672 0.998468 0.99878 0.999024 -8594208 0.998359 0.998522 0.998691 -10941184 0.998391 0.998539 0.998606 -13929096 0.998451 0.998652 0.998762 -17732968 0.998255 0.998437 0.998643 -22575632 0.998131 0.998266 0.998330 -28740768 0.998160 0.99824 0.998332 -36589536 0.998226 0.998293 0.998348 -46581704 0.998142 0.99829 0.998391 -59302624 0.998179 0.998295 0.998355 -75497464 0.998141 0.998225 0.998320 - -# PTRN=4, STRIDE=64, PPB=1.000000, ThreadCount=4 -6144 0.000189 0.00023125 0.000314 -7816 0.000186 0.000229 0.000267 -9952 0.000215 0.00024575 0.000270 -12672 0.000238 0.00027675 0.000303 -16136 0.000316 0.00033425 0.000363 -20544 0.000406 0.0005795 0.000970 -26152 0.000442 0.00050025 0.000532 -33296 0.000590 0.00075275 0.001057 -42392 0.004366 0.100016 0.140586 -53968 0.392948 0.46204 0.602267 -68712 0.241215 0.344242 0.475062 -87472 0.194333 0.375415 0.511566 -111360 0.260507 0.301485 0.368018 -141776 0.198516 0.266362 0.313348 -180496 0.212599 0.249886 0.277622 -229784 0.153767 0.208844 0.256281 -292536 0.158242 0.195922 0.230140 -372424 0.172985 0.185792 0.204103 -474136 0.160365 0.1752 0.193495 -603616 0.151047 0.165634 0.178593 -768456 0.150801 0.160713 0.167586 -978312 0.145228 0.150897 0.156624 -1245480 0.143204 0.153232 0.171107 -1585608 0.186544 0.213789 0.256531 -2018616 0.305408 0.316603 0.332318 -2569880 0.308601 0.319934 0.332173 -3271688 0.305991 0.31781 0.333242 -4165144 0.305439 0.317511 0.331619 -5302600 0.304201 0.317103 0.332986 -6750672 0.303082 0.31654 0.332627 -8594208 0.302379 0.318032 0.337240 -10941184 0.308416 0.332536 0.357781 -13929096 0.353871 0.37521 0.393956 -17732968 0.384022 0.394842 0.403778 -22575632 0.399524 0.408431 0.416967 -28740768 0.410097 0.415913 0.423628 -36589536 0.411189 0.421416 0.426933 -46581704 0.417023 0.422772 0.427831 -59302624 0.419661 0.423739 0.427951 -75497464 0.422827 0.429064 0.435030 - -# PTRN=4, STRIDE=128, PPB=1.000000, ThreadCount=4 -6144 0.000208 0.00030475 0.000393 -7816 0.000203 0.00027375 0.000374 -9952 0.000225 0.00028575 0.000320 -12672 0.000251 0.000299 0.000366 -16136 0.000234 0.000306 0.000391 -20544 0.000376 0.00049 0.000762 -26152 0.000381 0.00041875 0.000471 -33296 0.000464 0.00049625 0.000530 -42392 0.000530 0.0706935 0.280759 -53968 0.536101 0.647245 0.730010 -68712 0.514443 0.654299 0.771433 -87472 0.379558 0.692451 0.815457 -111360 0.408469 0.507342 0.625383 -141776 0.352774 0.443392 0.492281 -180496 0.344496 0.424602 0.478725 -229784 0.292049 0.368573 0.446095 -292536 0.316642 0.365703 0.422872 -372424 0.301523 0.33194 0.365478 -474136 0.298749 0.332395 0.343731 -603616 0.293587 0.311519 0.317617 -768456 0.277119 0.297883 0.314110 -978312 0.268487 0.287883 0.309787 -1245480 0.264775 0.286243 0.324697 -1585608 0.220221 0.236967 0.277244 -2018616 0.164835 0.18171 0.197570 -2569880 0.163813 0.180035 0.186882 -3271688 0.162140 0.179243 0.188800 -4165144 0.165945 0.180812 0.187370 -5302600 0.167263 0.181151 0.186689 -6750672 0.171222 0.182494 0.191503 -8594208 0.178314 0.185079 0.195598 -10941184 0.181623 0.198489 0.210888 -13929096 0.214068 0.221514 0.226176 -17732968 0.212936 0.218324 0.224259 -22575632 0.195223 0.212038 0.227821 -28740768 0.195914 0.20558 0.214481 -36589536 0.191040 0.200036 0.207175 -46581704 0.192025 0.195252 0.198755 -59302624 0.190452 0.193781 0.196979 -75497464 0.183571 0.189837 0.192956 diff --git a/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:DEMAND_DATA_RD_HIT.data.reads.stat b/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:DEMAND_DATA_RD_HIT.data.reads.stat deleted file mode 100644 index 442d858fb..000000000 --- a/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:DEMAND_DATA_RD_HIT.data.reads.stat +++ /dev/null @@ -1,252 +0,0 @@ -# Core: 48 1 2 3 -# PTRN=3, STRIDE=64, PPB=256.000000, ThreadCount=4 -6144 0.000046 5.9e-05 0.000079 -7816 0.000073 7.825e-05 0.000083 -9952 0.000085 8.75e-05 0.000093 -12672 0.000112 0.00011575 0.000120 -16136 0.000139 0.0001445 0.000148 -20544 0.000178 0.000187 0.000192 -26152 0.000251 0.000479 0.001101 -33296 0.000282 0.00032925 0.000393 -42392 0.000760 0.002948 0.009302 -53968 0.981833 0.98753 0.994188 -68712 0.993419 0.995297 0.996539 -87472 0.996888 0.997769 0.999104 -111360 0.998047 0.9984 0.998920 -141776 0.988886 0.989378 0.989960 -180496 0.988533 0.98913 0.989412 -229784 0.989021 0.989184 0.989288 -292536 0.982437 0.982563 0.982725 -372424 0.980444 0.980559 0.980629 -474136 0.979796 0.980051 0.980236 -603616 0.980188 0.980286 0.980355 -768456 0.980127 0.98018 0.980203 -978312 0.979371 0.979762 0.979918 -1245480 0.907122 0.956272 0.972868 -1585608 0.408770 0.413612 0.416434 -2018616 0.040913 0.04421 0.047341 -2569880 0.000100 0.00014025 0.000184 -3271688 0.017346 0.0177332 0.018044 -4165144 0.000067 8.325e-05 0.000105 -5302600 0.005407 0.005474 0.005536 -6750672 0.000058 0.00010325 0.000135 -8594208 0.010806 0.0111407 0.011308 -10941184 0.000070 0.000102 0.000117 -13929096 0.001285 0.00154425 0.001768 -17732968 0.000088 0.00011725 0.000169 -22575632 0.000104 0.000127 0.000159 -28740768 0.000122 0.0001285 0.000135 -36589536 0.000104 0.000129 0.000163 -46581704 0.000115 0.000131 0.000146 -59302624 0.000121 0.00012575 0.000129 -75497464 0.000119 0.00013625 0.000147 - -# PTRN=3, STRIDE=64, PPB=16.000000, ThreadCount=4 -6144 0.000050 5.5e-05 0.000062 -7816 0.000070 7.8e-05 0.000088 -9952 0.000085 9.425e-05 0.000101 -12672 0.000104 0.00011425 0.000132 -16136 0.000142 0.000181 0.000245 -20544 0.000171 0.00018825 0.000200 -26152 0.000256 0.0019895 0.007076 -33296 0.000309 0.00031975 0.000338 -42392 0.000844 0.00289325 0.008752 -53968 0.981378 0.986509 0.994736 -68712 0.992578 0.995774 0.998385 -87472 0.996655 0.997955 0.999117 -111360 0.997699 0.998236 0.998843 -141776 0.986882 0.988805 0.990060 -180496 0.987661 0.988703 0.989327 -229784 0.987595 0.988364 0.989372 -292536 0.987630 0.988099 0.988672 -372424 0.987844 0.988558 0.989253 -474136 0.988580 0.988818 0.988967 -603616 0.988965 0.989175 0.989465 -768456 0.989173 0.989306 0.989473 -978312 0.988849 0.989339 0.989859 -1245480 0.929685 0.971599 0.987035 -1585608 0.586867 0.596046 0.619102 -2018616 0.557601 0.55889 0.560920 -2569880 0.559909 0.562127 0.563573 -3271688 0.558742 0.561059 0.563204 -4165144 0.558317 0.56086 0.562348 -5302600 0.559971 0.561031 0.561850 -6750672 0.559622 0.561138 0.562356 -8594208 0.559877 0.56062 0.561446 -10941184 0.559618 0.560392 0.561670 -13929096 0.558153 0.559979 0.562254 -17732968 0.556957 0.559274 0.560417 -22575632 0.555802 0.558321 0.559820 -28740768 0.555493 0.557905 0.559103 -36589536 0.554810 0.557565 0.559137 -46581704 0.555259 0.557703 0.559081 -59302624 0.555074 0.55799 0.559938 -75497464 0.554684 0.557896 0.559277 - -# PTRN=3, STRIDE=128, PPB=256.000000, ThreadCount=4 -6144 0.000024 4.15e-05 0.000051 -7816 0.000034 3.8e-05 0.000044 -9952 0.000042 7.225e-05 0.000103 -12672 0.000054 6.175e-05 0.000068 -16136 0.000051 6.2e-05 0.000085 -20544 0.000071 9.425e-05 0.000137 -26152 0.000134 0.00034725 0.000889 -33296 0.000115 0.00013325 0.000142 -42392 0.000149 0.00021375 0.000247 -53968 0.986187 0.99594 0.999219 -68712 0.997095 0.998495 0.998967 -87472 0.995728 0.997915 0.998667 -111360 0.997781 0.998126 0.998269 -141776 0.982810 0.983429 0.983930 -180496 0.982540 0.98282 0.983207 -229784 0.983378 0.983846 0.984447 -292536 0.980809 0.980984 0.981133 -372424 0.980629 0.980714 0.980774 -474136 0.980136 0.980239 0.980298 -603616 0.980419 0.980564 0.980631 -768456 0.980412 0.980434 0.980452 -978312 0.979019 0.979681 0.980047 -1245480 0.930549 0.962203 0.973318 -1585608 0.404864 0.414612 0.418090 -2018616 0.041563 0.0461708 0.050997 -2569880 0.000069 0.00016525 0.000260 -3271688 0.004835 0.0050975 0.005353 -4165144 0.000064 9.575e-05 0.000153 -5302600 0.001506 0.00167675 0.001890 -6750672 0.000077 0.000138 0.000206 -8594208 0.003220 0.003325 0.003538 -10941184 0.000049 0.0001255 0.000173 -13929096 0.000215 0.00029675 0.000396 -17732968 0.000072 0.0001145 0.000136 -22575632 0.000094 0.00012775 0.000143 -28740768 0.000100 0.000126 0.000168 -36589536 0.000083 0.00011925 0.000141 -46581704 0.000108 0.0001265 0.000146 -59302624 0.000098 0.000122 0.000138 -75497464 0.000118 0.0001305 0.000143 - -# PTRN=3, STRIDE=128, PPB=16.000000, ThreadCount=4 -6144 0.000024 2.875e-05 0.000032 -7816 0.000034 4.575e-05 0.000059 -9952 0.000034 5.175e-05 0.000083 -12672 0.000044 5.75e-05 0.000073 -16136 0.000054 7.075e-05 0.000093 -20544 0.000066 0.0002075 0.000605 -26152 0.000085 9.525e-05 0.000103 -33296 0.000117 0.00013975 0.000161 -42392 0.000154 0.00023925 0.000305 -53968 0.998933 0.999107 0.999175 -68712 0.996365 0.997831 0.998945 -87472 0.998638 0.998645 0.998662 -111360 0.995991 0.997367 0.998269 -141776 0.982196 0.983668 0.984381 -180496 0.981902 0.98254 0.983391 -229784 0.983534 0.983768 0.984403 -292536 0.982839 0.983073 0.983215 -372424 0.982698 0.98341 0.984018 -474136 0.983068 0.98338 0.983575 -603616 0.983519 0.98378 0.984265 -768456 0.983576 0.983972 0.984219 -978312 0.983302 0.983755 0.984161 -1245480 0.977694 0.978503 0.978991 -1585608 0.455399 0.460093 0.462065 -2018616 0.244415 0.246217 0.249846 -2569880 0.242299 0.246217 0.249611 -3271688 0.243403 0.244185 0.245403 -4165144 0.245273 0.246439 0.247376 -5302600 0.240847 0.242946 0.244691 -6750672 0.242787 0.245443 0.247811 -8594208 0.243464 0.244888 0.246201 -10941184 0.241096 0.242606 0.245443 -13929096 0.242248 0.24402 0.245502 -17732968 0.243279 0.243845 0.244407 -22575632 0.239797 0.242266 0.243743 -28740768 0.241565 0.24278 0.244012 -36589536 0.239703 0.242615 0.244411 -46581704 0.239005 0.241772 0.243886 -59302624 0.239977 0.242909 0.244337 -75497464 0.239312 0.242357 0.244613 - -# PTRN=4, STRIDE=64, PPB=1.000000, ThreadCount=4 -6144 0.000042 5.15e-05 0.000063 -7816 0.000076 8.7e-05 0.000114 -9952 0.000089 0.00010225 0.000132 -12672 0.000132 0.000147 0.000184 -16136 0.000183 0.00035825 0.000773 -20544 0.000194 0.00023975 0.000272 -26152 0.000239 0.000315 0.000387 -33296 0.000348 0.00045025 0.000514 -42392 0.000450 0.0989975 0.139076 -53968 0.392997 0.463022 0.601940 -68712 0.241024 0.344113 0.474946 -87472 0.191165 0.37443 0.511312 -111360 0.260482 0.301948 0.367908 -141776 0.181353 0.260599 0.311172 -180496 0.210415 0.248346 0.275934 -229784 0.152252 0.207346 0.253802 -292536 0.157730 0.194816 0.228872 -372424 0.172074 0.185008 0.203282 -474136 0.152844 0.172797 0.193306 -603616 0.150277 0.165283 0.178618 -768456 0.152408 0.161464 0.169446 -978312 0.144981 0.149977 0.156376 -1245480 0.141597 0.148029 0.153195 -1585608 0.188307 0.216166 0.259207 -2018616 0.296403 0.306883 0.321437 -2569880 0.300046 0.309612 0.320855 -3271688 0.297135 0.307337 0.320567 -4165144 0.296476 0.307023 0.319857 -5302600 0.294895 0.306161 0.319887 -6750672 0.296548 0.308036 0.320506 -8594208 0.295575 0.309667 0.322693 -10941184 0.325579 0.333496 0.346387 -13929096 0.336500 0.359479 0.377890 -17732968 0.363476 0.381392 0.393907 -22575632 0.361364 0.389762 0.404962 -28740768 0.393168 0.401601 0.409763 -36589536 0.401089 0.408629 0.413913 -46581704 0.403194 0.409525 0.414257 -59302624 0.406108 0.409786 0.413215 -75497464 0.410345 0.416094 0.421575 - -# PTRN=4, STRIDE=128, PPB=1.000000, ThreadCount=4 -6144 0.000027 4.2e-05 0.000066 -7816 0.000015 2.3e-05 0.000037 -9952 0.000022 2.75e-05 0.000037 -12672 0.000029 3.675e-05 0.000044 -16136 0.000037 4.525e-05 0.000063 -20544 0.000054 6.475e-05 0.000093 -26152 0.000042 7.65e-05 0.000120 -33296 0.000051 0.00010725 0.000146 -42392 0.000183 0.0755772 0.290586 -53968 0.534360 0.643869 0.729326 -68712 0.513660 0.653714 0.770974 -87472 0.378931 0.691757 0.814727 -111360 0.407937 0.506689 0.624792 -141776 0.347682 0.438232 0.487658 -180496 0.339673 0.424425 0.476555 -229784 0.288083 0.36461 0.442050 -292536 0.295893 0.357584 0.419196 -372424 0.298265 0.328742 0.362742 -474136 0.295860 0.329752 0.341204 -603616 0.298227 0.311353 0.316120 -768456 0.274647 0.294129 0.306561 -978312 0.266812 0.286748 0.310690 -1245480 0.261735 0.273329 0.282365 -1585608 0.187519 0.191323 0.195130 -2018616 0.105612 0.122238 0.130789 -2569880 0.101073 0.117501 0.126805 -3271688 0.099720 0.116475 0.125145 -4165144 0.100594 0.115927 0.125783 -5302600 0.100421 0.115601 0.123938 -6750672 0.104510 0.11729 0.123331 -8594208 0.112164 0.12645 0.136163 -10941184 0.116648 0.131685 0.146374 -13929096 0.150163 0.156393 0.162830 -17732968 0.138909 0.15168 0.164716 -22575632 0.146787 0.148868 0.151406 -28740768 0.136410 0.146235 0.156600 -36589536 0.139180 0.141905 0.144895 -46581704 0.134745 0.139375 0.144401 -59302624 0.135104 0.138827 0.143418 -75497464 0.132216 0.136827 0.142678 diff --git a/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:DEMAND_DATA_RD_MISS.data.reads.stat b/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:DEMAND_DATA_RD_MISS.data.reads.stat deleted file mode 100644 index 79fcf3735..000000000 --- a/src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:DEMAND_DATA_RD_MISS.data.reads.stat +++ /dev/null @@ -1,252 +0,0 @@ -# Core: 48 1 2 3 -# PTRN=3, STRIDE=64, PPB=256.000000, ThreadCount=4 -6144 0.000068 7.7e-05 0.000084 -7816 0.000081 8.6e-05 0.000090 -9952 0.000095 0.000108 0.000116 -12672 0.000106 0.00012675 0.000145 -16136 0.000121 0.00014025 0.000175 -20544 0.000154 0.0001975 0.000228 -26152 0.000265 0.0002825 0.000292 -33296 0.000352 0.00036075 0.000370 -42392 0.000444 0.00045475 0.000464 -53968 0.000565 0.00057725 0.000588 -68712 0.000712 0.0007325 0.000745 -87472 0.000916 0.00093725 0.000964 -111360 0.001176 0.0012195 0.001287 -141776 0.011033 0.0111095 0.011213 -180496 0.010850 0.011008 0.011176 -229784 0.011063 0.0111565 0.011219 -292536 0.016911 0.017524 0.018220 -372424 0.019855 0.0200175 0.020436 -474136 0.019913 0.0199413 0.019986 -603616 0.019916 0.0200645 0.020406 -768456 0.019995 0.0201113 0.020455 -978312 0.020239 0.0213517 0.024455 -1245480 0.026918 0.0326835 0.049058 -1585608 0.582914 0.588293 0.602919 -2018616 0.957172 0.960813 0.966005 -2569880 0.999928 0.999946 0.999960 -3271688 0.981868 0.982196 0.982558 -4165144 0.999909 0.999957 0.999991 -5302600 0.994440 0.994702 0.994798 -6750672 0.999880 0.999896 0.999922 -8594208 0.988951 0.989035 0.989144 -10941184 0.999859 0.999886 0.999926 -13929096 0.995721 0.997865 0.998682 -17732968 0.999867 0.999907 0.999934 -22575632 0.999905 0.999912 0.999917 -28740768 0.999896 0.999904 0.999923 -36589536 0.999900 0.999919 0.999942 -46581704 0.999924 0.999936 0.999953 -59302624 0.999903 0.999925 0.999956 -75497464 0.999929 0.999944 0.999963 - -# PTRN=3, STRIDE=64, PPB=16.000000, ThreadCount=4 -6144 0.000054 6.125e-05 0.000071 -7816 0.000079 8.375e-05 0.000087 -9952 0.000103 0.00011325 0.000120 -12672 0.000132 0.00014375 0.000154 -16136 0.000175 0.00018025 0.000187 -20544 0.000181 0.000218 0.000236 -26152 0.000211 0.00026575 0.000293 -33296 0.000349 0.00035725 0.000375 -42392 0.000449 0.0004595 0.000468 -53968 0.000549 0.000584 0.000649 -68712 0.000686 0.0007245 0.000764 -87472 0.000913 0.00093775 0.000975 -111360 0.001130 0.0011705 0.001191 -141776 0.010924 0.0110958 0.011168 -180496 0.011013 0.0111392 0.011354 -229784 0.010907 0.0111243 0.011330 -292536 0.010934 0.0110207 0.011223 -372424 0.010465 0.0106123 0.010885 -474136 0.010040 0.0102175 0.010429 -603616 0.009759 0.00988175 0.009928 -768456 0.009574 0.009736 0.009931 -978312 0.009491 0.00956675 0.009636 -1245480 0.012930 0.029012 0.076781 -1585608 0.372538 0.398386 0.408394 -2018616 0.433356 0.436335 0.438610 -2569880 0.433633 0.43517 0.436823 -3271688 0.436571 0.438079 0.439907 -4165144 0.437040 0.438248 0.439002 -5302600 0.435953 0.437329 0.438845 -6750672 0.434086 0.437816 0.439356 -8594208 0.435030 0.436206 0.436942 -10941184 0.436858 0.437426 0.437912 -13929096 0.435214 0.437617 0.442312 -17732968 0.437432 0.438727 0.441661 -22575632 0.436944 0.43892 0.442989 -28740768 0.438662 0.439515 0.441678 -36589536 0.437395 0.439243 0.441697 -46581704 0.438246 0.439374 0.442558 -59302624 0.437881 0.439424 0.442492 -75497464 0.438246 0.439681 0.443074 - -# PTRN=3, STRIDE=128, PPB=256.000000, ThreadCount=4 -6144 0.000103 0.000115 0.000125 -7816 0.000115 0.000132 0.000142 -9952 0.000166 0.0001735 0.000176 -12672 0.000190 0.0002155 0.000242 -16136 0.000244 0.00026425 0.000288 -20544 0.000317 0.000335 0.000356 -26152 0.000427 0.00043375 0.000439 -33296 0.000505 0.0005315 0.000547 -42392 0.000681 0.0006895 0.000698 -53968 0.000852 0.00087475 0.000906 -68712 0.001072 0.00109975 0.001125 -87472 0.001394 0.00141725 0.001428 -111360 0.001780 0.0018165 0.001838 -141776 0.016630 0.0169598 0.017226 -180496 0.017048 0.0172395 0.017488 -229784 0.016957 0.0171542 0.017291 -292536 0.019130 0.0193793 0.019524 -372424 0.019756 0.0198382 0.019969 -474136 0.019891 0.019957 0.020058 -603616 0.019942 0.0199695 0.020014 -768456 0.019995 0.020004 0.020025 -978312 0.020193 0.020406 0.020748 -1245480 0.028716 0.0483477 0.106128 -1585608 0.580918 0.585162 0.596104 -2018616 0.952696 0.958569 0.966922 -2569880 0.999879 0.999949 1.000027 -3271688 0.994352 0.994955 0.995675 -4165144 0.999830 0.999949 1.000071 -5302600 0.997958 0.998374 0.998712 -6750672 0.999841 0.999947 1.000011 -8594208 0.996824 0.996894 0.996969 -10941184 0.999775 0.999853 0.999895 -13929096 0.999598 0.999654 0.999782 -17732968 0.999885 0.999936 0.999986 -22575632 0.999863 0.999906 0.999931 -28740768 0.999852 0.999916 0.999947 -36589536 0.999870 0.999905 0.999924 -46581704 0.999883 0.999917 0.999959 -59302624 0.999884 0.999907 0.999943 -75497464 0.999895 0.999909 0.999925 - -# PTRN=3, STRIDE=128, PPB=16.000000, ThreadCount=4 -6144 0.000105 0.00011925 0.000125 -7816 0.000132 0.000136 0.000139 -9952 0.000154 0.00017475 0.000186 -12672 0.000212 0.00021875 0.000229 -16136 0.000244 0.00026375 0.000271 -20544 0.000322 0.00034975 0.000371 -26152 0.000381 0.000414 0.000435 -33296 0.000488 0.00052975 0.000559 -42392 0.000667 0.00068075 0.000696 -53968 0.000862 0.00087625 0.000898 -68712 0.000994 0.001078 0.001145 -87472 0.001396 0.00140625 0.001414 -111360 0.001777 0.0018045 0.001838 -141776 0.017046 0.017366 0.017587 -180496 0.016835 0.0170762 0.017289 -229784 0.015452 0.0169815 0.018371 -292536 0.017012 0.0172482 0.017406 -372424 0.016628 0.0168495 0.017164 -474136 0.016252 0.016492 0.016867 -603616 0.016019 0.0161778 0.016362 -768456 0.015774 0.0159847 0.016110 -978312 0.015753 0.016015 0.016281 -1245480 0.022133 0.0406845 0.095954 -1585608 0.531798 0.536241 0.538213 -2018616 0.746745 0.749834 0.754466 -2569880 0.750014 0.754647 0.760174 -3271688 0.752386 0.754419 0.758004 -4165144 0.752546 0.755146 0.759145 -5302600 0.752698 0.754415 0.756055 -6750672 0.751946 0.752961 0.755382 -8594208 0.753691 0.754914 0.755897 -10941184 0.753331 0.754927 0.756320 -13929096 0.754191 0.755451 0.756379 -17732968 0.752814 0.754575 0.755585 -22575632 0.755663 0.756242 0.757848 -28740768 0.754457 0.755338 0.756816 -36589536 0.754931 0.756429 0.758602 -46581704 0.754585 0.756049 0.758282 -59302624 0.754175 0.755767 0.758512 -75497464 0.754891 0.755032 0.755176 - -# PTRN=4, STRIDE=64, PPB=1.000000, ThreadCount=4 -6144 0.000027 3.5e-05 0.000038 -7816 0.000027 3.325e-05 0.000038 -9952 0.000028 3.825e-05 0.000043 -12672 0.000049 5.025e-05 0.000051 -16136 0.000051 5.475e-05 0.000057 -20544 0.000050 5.975e-05 0.000070 -26152 0.000061 7.325e-05 0.000082 -33296 0.000063 8.45e-05 0.000104 -42392 0.000085 9.475e-05 0.000109 -53968 0.000084 9.325e-05 0.000101 -68712 0.000013 7.4e-05 0.000106 -87472 0.000103 0.000114 0.000128 -111360 0.000114 0.00012425 0.000133 -141776 0.000758 0.000923 0.001074 -180496 0.000844 0.000874 0.000943 -229784 0.000702 0.000773 0.000880 -292536 0.000599 0.00067825 0.000757 -372424 0.000440 0.0005465 0.000632 -474136 0.000359 0.000459 0.000562 -603616 0.000341 0.00038675 0.000490 -768456 0.000212 0.00030875 0.000433 -978312 0.000209 0.000393 0.000828 -1245480 0.000189 0.0005905 0.001578 -1585608 0.001144 0.002967 0.005652 -2018616 0.008209 0.0101762 0.012164 -2569880 0.008803 0.0104465 0.012156 -3271688 0.009022 0.0105523 0.012141 -4165144 0.008950 0.0105807 0.012240 -5302600 0.009043 0.0106413 0.012337 -6750672 0.008932 0.010558 0.012143 -8594208 0.008847 0.010584 0.012307 -10941184 0.009193 0.0109832 0.012251 -13929096 0.010953 0.012378 0.013199 -17732968 0.011360 0.0128545 0.013811 -22575632 0.012688 0.0134167 0.013816 -28740768 0.013254 0.0136235 0.014423 -36589536 0.011997 0.0124948 0.012859 -46581704 0.012445 0.0130887 0.013574 -59302624 0.013762 0.0141325 0.014762 -75497464 0.012077 0.0126547 0.013223 - -# PTRN=4, STRIDE=128, PPB=1.000000, ThreadCount=4 -6144 0.000059 7.175e-05 0.000081 -7816 0.000056 7.075e-05 0.000078 -9952 0.000085 9.4e-05 0.000100 -12672 0.000085 0.00010175 0.000112 -16136 0.000110 0.00011675 0.000125 -20544 0.000127 0.00013625 0.000149 -26152 0.000178 0.0001825 0.000190 -33296 0.000210 0.0002185 0.000229 -42392 0.000256 0.00027475 0.000281 -53968 0.000313 0.00032125 0.000330 -68712 0.000354 0.00037225 0.000398 -87472 0.000408 0.00045725 0.000500 -111360 0.000442 0.00050325 0.000562 -141776 0.002149 0.00381 0.004731 -180496 0.002681 0.003677 0.004269 -229784 0.003309 0.00355675 0.003777 -292536 0.003080 0.00322475 0.003352 -372424 0.002729 0.002932 0.003238 -474136 0.002338 0.00253075 0.002678 -603616 0.002146 0.002238 0.002506 -768456 0.001799 0.00196125 0.002129 -978312 0.001573 0.002223 0.003839 -1245480 0.001883 0.00443625 0.011601 -1585608 0.034162 0.038908 0.047741 -2018616 0.061976 0.0650893 0.068583 -2569880 0.064033 0.066563 0.069707 -3271688 0.065242 0.067363 0.070132 -4165144 0.064356 0.0667 0.069377 -5302600 0.065099 0.0673567 0.069971 -6750672 0.065247 0.06726 0.069796 -8594208 0.064849 0.0660333 0.068892 -10941184 0.060156 0.0634722 0.065365 -13929096 0.062056 0.0637815 0.065577 -17732968 0.058797 0.0636795 0.067109 -22575632 0.056306 0.0616083 0.070240 -28740768 0.056997 0.0597365 0.062873 -36589536 0.055831 0.0581057 0.061610 -46581704 0.054852 0.0561333 0.058138 -59302624 0.053542 0.0551417 0.056815 -75497464 0.049363 0.0529035 0.055603 diff --git a/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L2.data.reads.stat b/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L2.data.reads.stat new file mode 100644 index 000000000..079c2a0c0 --- /dev/null +++ b/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L2.data.reads.stat @@ -0,0 +1,85 @@ +# Core: 3 8 17 26 +# L1:32768 L2:1048576 L3:4194304 +# PTRN=3, STRIDE=128, PPB=512.000000, ThreadCount=4 +6888 0.000092 0.000126 0.000168 +11585 0.000366 0.0008465 0.002029 +19483 0.001251 0.00196825 0.003784 +77935 1.000275 1.00029 1.000305 +185363 1.000119 1.00018 1.000227 +440871 1.000082 1.00008 1.000086 +1482910 0.001117 0.0875627 0.346732 +2097152 0.000593 0.000724 0.000852 +2965820 0.000197 0.00030175 0.000459 +8388608 0.000057 8.4e-05 0.000130 +16777216 0.000019 3.15e-05 0.000050 +33554432 0.000023 2.8e-05 0.000031 + +# PTRN=3, STRIDE=128, PPB=16.000000, ThreadCount=4 +6888 0.000092 0.00016425 0.000229 +11585 0.000366 0.00048825 0.000626 +19483 0.001297 0.0026475 0.006409 +77935 0.997040 0.999466 1.000275 +185363 1.000194 1.0002 1.000205 +440871 1.000077 1.00009 1.000100 +1482910 0.001231 0.160944 0.331392 +2097152 0.000240 0.00061675 0.000855 +2965820 0.000173 0.0003355 0.000463 +8388608 0.000046 6.1e-05 0.000084 +16777216 0.000013 2.375e-05 0.000036 +33554432 0.000012 1.925e-05 0.000031 + +# PTRN=3, STRIDE=256, PPB=512.000000, ThreadCount=4 +6888 0.000061 0.00012975 0.000183 +11585 0.000244 0.00042725 0.000519 +19483 0.001282 0.001404 0.001526 +77935 1.000214 1.00034 1.000641 +185363 1.000151 1.00017 1.000173 +440871 1.000073 1.0001 1.000118 +1482910 0.000790 0.0738718 0.292812 +2097152 0.000097 0.00048575 0.000700 +2965820 0.000069 0.000158 0.000233 +8388608 0.000046 6.875e-05 0.000084 +16777216 0.000023 6.375e-05 0.000088 +33554432 0.000017 3.475e-05 0.000059 + +# PTRN=3, STRIDE=256, PPB=16.000000, ThreadCount=4 +6888 0.000031 0.00014525 0.000244 +11585 0.000458 0.00055675 0.000671 +19483 0.001129 0.00141925 0.001740 +77935 1.000214 1.00032 1.000610 +185363 1.000151 1.00018 1.000194 +440871 1.000054 1.00007 1.000082 +1482910 0.002369 0.153592 0.350087 +2097152 0.000143 0.00045925 0.000736 +2965820 0.000030 0.0001805 0.000281 +8388608 0.000046 9.525e-05 0.000137 +16777216 0.000042 5.225e-05 0.000057 +33554432 0.000032 3.9e-05 0.000050 + +# PTRN=4, STRIDE=128, PPB=0.500000, ThreadCount=4 +6888 0.000076 0.00011825 0.000153 +11585 0.000153 0.000191 0.000229 +19483 0.000244 0.00029725 0.000366 +77935 0.006851 0.0069005 0.006973 +185363 0.002978 0.00302675 0.003129 +440871 0.001229 0.0012565 0.001302 +1482910 0.000004 5.5e-06 0.000007 +2097152 0.000003 4e-06 0.000005 +2965820 0.000003 3.75e-06 0.000005 +8388608 0.000011 1.5e-05 0.000019 +16777216 0.000008 2.175e-05 0.000050 +33554432 0.000006 8.75e-06 0.000013 + +# PTRN=4, STRIDE=256, PPB=0.500000, ThreadCount=4 +6888 0.000092 0.00014525 0.000214 +11585 0.000244 0.00051875 0.001068 +19483 0.000610 0.00084675 0.001160 +77935 0.042297 0.0506438 0.058685 +185363 0.019790 0.020432 0.021754 +440871 0.007295 0.010784 0.015779 +1482910 0.000005 0.00011125 0.000394 +2097152 0.000015 4.175e-05 0.000080 +2965820 0.000007 1.425e-05 0.000031 +8388608 0.000023 0.00011075 0.000198 +16777216 0.000011 5.4e-05 0.000095 +33554432 0.000015 3.425e-05 0.000046 diff --git a/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L3.data.reads.stat b/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L3.data.reads.stat new file mode 100644 index 000000000..21d97138a --- /dev/null +++ b/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L3.data.reads.stat @@ -0,0 +1,85 @@ +# Core: 1 10 17 26 +# L1:32768 L2:1048576 L3:4194304 +# PTRN=3, STRIDE=128, PPB=512.000000, ThreadCount=4 +6888 0.000015 1.5e-05 0.000015 +11585 0.000015 1.5e-05 0.000015 +19483 0.000015 1.5e-05 0.000015 +77935 0.000000 1.125e-05 0.000015 +185363 0.000011 1.1e-05 0.000011 +440871 0.000000 1.6e-05 0.000050 +1482910 0.999005 0.999038 0.999100 +2097152 0.999119 0.999288 0.999408 +2965820 0.991387 0.997449 0.999549 +8388608 0.301460 0.315969 0.343498 +16777216 0.112118 0.129813 0.150003 +33554432 0.000083 0.0117015 0.046288 + +# PTRN=3, STRIDE=128, PPB=16.000000, ThreadCount=4 +6888 0.000015 1.5e-05 0.000015 +11585 0.000015 1.5e-05 0.000015 +19483 0.000015 1.5e-05 0.000015 +77935 0.000015 1.5e-05 0.000015 +185363 0.000011 1.1e-05 0.000011 +440871 0.000005 1.5e-05 0.000041 +1482910 0.655751 0.882003 0.999098 +2097152 0.993767 0.996488 0.999195 +2965820 0.992997 0.996036 0.999543 +8388608 0.491600 0.539617 0.647552 +16777216 0.513214 0.553109 0.631111 +33554432 0.565421 0.58971 0.643687 + +# PTRN=3, STRIDE=256, PPB=512.000000, ThreadCount=4 +6888 0.000031 3.1e-05 0.000031 +11585 0.000031 3.1e-05 0.000031 +19483 0.000031 3.1e-05 0.000031 +77935 0.000031 3.1e-05 0.000031 +185363 0.000022 2.2e-05 0.000022 +440871 0.000009 9e-06 0.000009 +1482910 0.997917 0.998812 0.999153 +2097152 0.999319 0.999556 0.999836 +2965820 0.996523 0.998938 0.999826 +8388608 0.004730 0.0807703 0.256523 +16777216 0.000011 0.0174197 0.047981 +33554432 0.000011 0.00096125 0.003748 + +# PTRN=3, STRIDE=256, PPB=16.000000, ThreadCount=4 +6888 0.000031 3.1e-05 0.000031 +11585 0.000031 3.1e-05 0.000031 +19483 0.000031 3.1e-05 0.000031 +77935 0.000031 3.1e-05 0.000031 +185363 0.000022 2.2e-05 0.000022 +440871 0.000009 1.575e-05 0.000036 +1482910 0.663712 0.799784 0.999007 +2097152 0.999332 0.999602 0.999916 +2965820 0.999401 0.999626 0.999891 +8388608 0.003288 0.0361785 0.122711 +16777216 0.000069 0.00028925 0.000546 +33554432 0.000475 0.127035 0.331295 + +# PTRN=4, STRIDE=128, PPB=0.500000, ThreadCount=4 +6888 0.000015 1.5e-05 0.000015 +11585 0.000015 1.5e-05 0.000015 +19483 0.000015 1.5e-05 0.000015 +77935 0.000015 1.5e-05 0.000015 +185363 0.000011 1.1e-05 0.000011 +440871 0.000005 8.25e-06 0.000014 +1482910 0.000376 0.0003795 0.000383 +2097152 0.000203 0.00024875 0.000306 +2965820 0.000142 0.00014525 0.000152 +8388608 0.000381 0.000447 0.000515 +16777216 0.000422 0.000732 0.000877 +33554432 0.000504 0.0009735 0.001148 + +# PTRN=4, STRIDE=256, PPB=0.500000, ThreadCount=4 +6888 0.000031 3.1e-05 0.000031 +11585 0.000031 3.1e-05 0.000031 +19483 0.000031 3.1e-05 0.000031 +77935 0.000031 3.1e-05 0.000031 +185363 0.000022 2.2e-05 0.000022 +440871 0.000009 1.35e-05 0.000027 +1482910 0.001905 0.00233825 0.002555 +2097152 0.001337 0.0018195 0.002367 +2965820 0.000730 0.00128925 0.001681 +8388608 0.000687 0.00076875 0.000832 +16777216 0.001003 0.0014515 0.001675 +33554432 0.001017 0.00172525 0.002224 diff --git a/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L3MISS.data.reads.stat b/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L3MISS.data.reads.stat new file mode 100644 index 000000000..adcf9e4c2 --- /dev/null +++ b/src/counter_analysis_toolkit/scripts/sample_data/PM_DATA_FROM_L3MISS.data.reads.stat @@ -0,0 +1,85 @@ +# Core: 1 10 19 26 +# L1:32768 L2:1048576 L3:4194304 +# PTRN=3, STRIDE=128, PPB=512.000000, ThreadCount=4 +6888 0.000000 7.75e-06 0.000031 +11585 0.000000 0 0.000000 +19483 0.000000 0 0.000000 +77935 0.000000 7.75e-06 0.000031 +185363 0.000000 1.1e-05 0.000022 +440871 0.000000 2.25e-06 0.000009 +1482910 0.000001 3.5e-06 0.000007 +2097152 0.000003 1.5e-05 0.000034 +2965820 0.000045 0.0001315 0.000264 +8388608 0.653606 0.717872 0.756207 +16777216 0.848867 0.872215 0.908665 +33554432 0.946744 0.975656 0.999899 + +# PTRN=3, STRIDE=128, PPB=16.000000, ThreadCount=4 +6888 0.000000 0 0.000000 +11585 0.000000 0 0.000000 +19483 0.000000 0 0.000000 +77935 0.000000 7.75e-06 0.000031 +185363 0.000000 5.5e-06 0.000022 +440871 0.000000 4.5e-06 0.000009 +1482910 0.000001 2.75e-06 0.000004 +2097152 0.000002 7.25e-06 0.000016 +2965820 0.000053 0.0001225 0.000163 +8388608 0.343933 0.458251 0.503326 +16777216 0.359467 0.435253 0.469786 +33554432 0.351163 0.399427 0.446514 + +# PTRN=3, STRIDE=256, PPB=512.000000, ThreadCount=4 +6888 0.000000 0 0.000000 +11585 0.000000 0 0.000000 +19483 0.000000 0 0.000000 +77935 0.000000 1.525e-05 0.000061 +185363 0.000000 0 0.000000 +440871 0.000000 0 0.000000 +1482910 0.000000 5.25e-06 0.000008 +2097152 0.000002 1.925e-05 0.000031 +2965820 0.000054 0.000304 0.000654 +8388608 0.770248 0.92411 0.990852 +16777216 0.891674 0.96542 0.999943 +33554432 0.989222 0.997285 1.000004 + +# PTRN=3, STRIDE=256, PPB=16.000000, ThreadCount=4 +6888 0.000000 0 0.000000 +11585 0.000000 1.525e-05 0.000061 +19483 0.000000 0 0.000000 +77935 0.000000 1.525e-05 0.000061 +185363 0.000000 1.075e-05 0.000043 +440871 0.000000 4.5e-06 0.000018 +1482910 0.000005 5e-06 0.000005 +2097152 0.000000 2.75e-05 0.000086 +2965820 0.000070 0.00035525 0.000948 +8388608 0.872818 0.953537 0.992989 +16777216 0.861000 0.962182 0.999973 +33554432 0.756063 0.90988 0.999779 + +# PTRN=4, STRIDE=128, PPB=0.500000, ThreadCount=4 +6888 0.000000 0 0.000000 +11585 0.000000 0 0.000000 +19483 0.000000 0 0.000000 +77935 0.000000 7.75e-06 0.000031 +185363 0.000000 5.5e-06 0.000022 +440871 0.000000 2.25e-06 0.000009 +1482910 0.000000 2.25e-06 0.000003 +2097152 0.000000 1.25e-06 0.000002 +2965820 0.000001 2e-06 0.000003 +8388608 0.000286 0.00033575 0.000389 +16777216 0.000193 0.00059925 0.001678 +33554432 0.000062 0.00013725 0.000261 + +# PTRN=4, STRIDE=256, PPB=0.500000, ThreadCount=4 +6888 0.000000 0 0.000000 +11585 0.000000 0 0.000000 +19483 0.000000 0 0.000000 +77935 0.000000 1.525e-05 0.000061 +185363 0.000000 1.075e-05 0.000043 +440871 0.000000 4.5e-06 0.000018 +1482910 0.000000 3.75e-06 0.000005 +2097152 0.000000 2e-06 0.000004 +2965820 0.000000 2.25e-06 0.000003 +8388608 0.000450 0.00048825 0.000542 +16777216 0.000374 0.000539 0.000809 +33554432 0.000124 0.00033975 0.000607 diff --git a/src/counter_analysis_toolkit/scripts/single_plot.gnp b/src/counter_analysis_toolkit/scripts/single_plot.gnp index e66f2a1aa..7b9861db8 100644 --- a/src/counter_analysis_toolkit/scripts/single_plot.gnp +++ b/src/counter_analysis_toolkit/scripts/single_plot.gnp @@ -1,9 +1,14 @@ -L1_per_core=48*1024 -L2_per_core=1280*1024 -L3_per_core=36864*1024/4 +L1_per_core=32768 +L2_per_core=1048576 +L3_per_core=4194304 + +SML_STRIDE=128 +BIG_STRIDE=256 +SML_PPB=16 +BIG_PPB=512 DIR="sample_data/" -EVENT="L2_RQSTS:DEMAND_DATA_RD_HIT" +EVENT="PM_DATA_FROM_L2" PLOT_TITLE="Measurements of event ".EVENT SUFFIX=".data.reads.stat" @@ -16,7 +21,7 @@ set label 3 at L2_per_core+(L3_per_core-L2_per_core)/20, graph 1.020 "L3" font set terminal pdfcairo noenhanced font "Sans,12" set output "single_plot.pdf" -load "default.gnp" +load "default_gnp.inc" set xtics ("" L1_per_core, "" L2_per_core, "" L3_per_core) FILE=DIR.EVENT.SUFFIX @@ -26,7 +31,7 @@ unset key set multiplot layout 1,6 title PLOT_TITLE." set margin 0,0,1.5,2.5 -set label 20 "Event Count" at screen 0.015,0.375 rotate by 90 # Y-label +set label 20 "Normalized Event Count" at screen 0.015,0.26 rotate by 90 # Y-label OFFSET=0.09 GAP=0.015 @@ -34,7 +39,7 @@ WIDTH=(1.0-(OFFSET+5.0*GAP+GAP/4.0))/6.0 ### -set label 21 "RND:64:256" at graph 0.1,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",SML_STRIDE,BIG_PPB) at graph 0.1,-0.05 font ",10" # X-label set size 0.1475,1 set size WIDTH,1 set origin OFFSET,0.0 @@ -48,7 +53,7 @@ set ytics scale 0.1,0.5 unset label 20 ### -set label 21 "RND:64:16" at graph 0.16,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",SML_STRIDE,SML_PPB) at graph 0.16,-0.05 font ",10" # X-label set object 1 rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#FFFAE8' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*1,0 @@ -58,14 +63,14 @@ plot \ unset object 1 ### -set label 21 "RND:128:256" at graph 0.1,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",BIG_STRIDE,BIG_PPB) at graph 0.1,-0.05 font ",10" # X-label set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*2,0 plot \ FILE every :::2::2 using 1:2 w lp ls 1 ### -set label 21 "RND:128:16" at graph 0.1,-0.05 font ",10" # X-label +set label 21 sprintf("RND:%d:%d",BIG_STRIDE,SML_PPB) at graph 0.1,-0.05 font ",10" # X-label set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#FFFAE8' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*3,0 @@ -73,7 +78,7 @@ plot \ FILE every :::3::3 using 1:2 w lp ls 1 ### -set label 21 "SEQ:64" at graph 0.25,-0.05 font ",10" # X-label +set label 21 sprintf("SEQ:%d",SML_STRIDE) at graph 0.25,-0.05 font ",10" # X-label set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#F0F6FF' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*4,0 @@ -81,7 +86,7 @@ plot \ FILE every :::4::4 using 1:2 w lp ls 1 ### -set label 21 "SEQ:128" at graph 0.2,-0.05 font ",10" # X-label +set label 21 sprintf("SEQ:%d",BIG_STRIDE) at graph 0.2,-0.05 font ",10" # X-label set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#F0F6FF' fillstyle solid noborder set size WIDTH,1 set origin OFFSET+(WIDTH+GAP)*5,0