Csize = [1024 
2048 
4096 
8192 
16384 
32768 
65536 
131072 
262144 
524288 
1048576 
2097152 
4194304 
]; 
Times = [ 
      4              1.3
      8              1.2
     16              1.4
     32              1.2
     64              3.9
    128              3.7
    256              3.5
    512              2.5
   1024              1.1
   2048              0.8
      4              1.2
      8              1.4
     16              1.2
     32              1.4
     64              3.8
    128              4.0
    256              3.7
    512              3.5
   1024              2.5
   2048              1.1
   4096              0.7
      4              1.4
      8              1.1
     16              1.4
     32              1.1
     64              4.2
    128              3.7
    256              3.9
    512              3.8
   1024              3.4
   2048              2.5
   4096              1.0
   8192              0.9
      4              1.2
      8              1.4
     16              1.2
     32              1.8
     64              4.3
    128              4.5
    256              4.2
    512              4.7
   1024              5.2
   2048              3.5
   4096              2.5
   8192              1.0
  16384              0.9
      4              1.4
      8              1.2
     16              1.4
     32              1.2
     64              4.6
    128              4.2
    256              4.5
    512              4.2
   1024              6.6
   2048              5.8
   4096              3.5
   8192              2.6
  16384              1.0
  32768              0.9
      4              1.3
      8              1.4
     16              1.1
     32              1.7
     64              4.2
    128              4.5
    256              4.2
    512              4.5
   1024              6.8
   2048              5.6
   4096              5.8
   8192              3.6
  16384              2.5
  32768              1.1
  65536              3.8
      4              1.4
      8              1.3
     16              1.4
     32              1.4
     64              4.4
    128              4.1
    256              4.5
    512              5.0
   1024              5.7
   2048              5.5
   4096              5.8
   8192              4.9
  16384              3.5
  32768              2.5
  65536              1.2
 131072              3.6
      4              1.4
      8              1.3
     16              1.3
     32              1.7
     64              4.1
    128              4.4
    256              4.3
    512              5.2
   1024              5.3
   2048              6.1
   4096              6.6
   8192              5.2
  16384              4.9
  32768              3.5
  65536              2.5
 131072              1.2
 262144              3.6
      4              1.4
      8              1.4
     16              1.5
     32              2.0
     64              5.4
    128              5.7
    256              6.2
    512              6.2
   1024              7.0
   2048              7.2
   4096              8.2
   8192              6.5
  16384              5.2
  32768              4.9
  65536              3.5
 131072              2.5
 262144              1.1
 524288              3.4
      4              1.4
      8              1.9
     16              4.5
     32              9.6
     64             21.2
    128             30.2
    256             30.2
    512             33.4
   1024             38.1
   2048             47.2
   4096             58.7
   8192              7.1
  16384              6.9
  32768              5.3
  65536              4.9
 131072              3.5
 262144              2.4
 524288              1.2
1048576              3.3
      4              1.4
      8              2.4
     16              6.6
     32             15.6
     64             34.0
    128             45.8
    256             46.7
    512             51.0
   1024             58.7
   2048             70.6
   4096             94.4
   8192             49.6
  16384             14.3
  32768              7.6
  65536              5.3
 131072              5.0
 262144              3.5
 524288              2.4
1048576              1.0
2097152              3.5
      4              1.5
      8              2.4
     16              6.8
     32             15.9
     64             34.8
    128             45.3
    256             45.8
    512             50.1
   1024             56.7
   2048             65.8
   4096             83.9
   8192             94.4
  16384             62.9
  32768             15.4
  65536              8.3
 131072              5.2
 262144              4.8
 524288              3.5
1048576              3.5
2097152              4.4
4194304             11.0
      4              1.4
      8              2.4
     16              6.6
     32             15.7
     64             34.8
    128             46.0
    256             46.3
    512             49.6
   1024             54.4
   2048             60.8
   4096             71.5
   8192             83.7
  16384             90.4
  32768             63.7
  65536             29.3
 131072             11.9
 262144              5.1
 524288              5.1
1048576              3.5
2097152              4.4
4194304             11.0
8388608             10.8
]; 
[m,n] = size(Times); 
Ibegin = find(Times(:,1)==8); 
nplots = length(Ibegin); 
Ibegin(end+1) = m+1; 
figure 
hold on 
for i = 1:nplots 
   plot(log2(Times(Ibegin(i):Ibegin(i+1)-1,1)), ... 
      Times(Ibegin(i):Ibegin(i+1)-1,2)); 
end 
xlabel('log2(Stride)') 
ylabel('Time (ns) for read/write') 
