@ -12,7 +12,7 @@ var_label = "Configuration"
types = [ " intersock-n0ton4-1mib " , " internode-n0ton1-1mib " , " intersock-n0ton4-1gib " , " internode-n0ton1-1gib " ]
types = [ " intersock-n0ton4-1mib " , " internode-n0ton1-1mib " , " intersock-n0ton4-1gib " , " internode-n0ton1-1gib " ]
types_nice = [ " Inter-Socket Copy 1MiB " , " Inter-Node Copy 1MiB " , " Inter-Socket Copy 1GiB " , " Inter-Node Copy 1GiB " ]
types_nice = [ " Inter-Socket Copy 1MiB " , " Inter-Node Copy 1MiB " , " Inter-Socket Copy 1GiB " , " Inter-Node Copy 1GiB " ]
copy_methods = [ " dstcopy " , " srccopy " , " xcopy " , " srcoutsidercopy " , " dstoutsidercopy " , " sockoutsidercopy " , " nodeoutsidercopy " ]
copy_methods = [ " dstcopy " , " srccopy " , " xcopy " , " srcoutsidercopy " , " dstoutsidercopy " , " sockoutsidercopy " , " nodeoutsidercopy " ]
copy_methods_nice = [ " Engine on DST-Node " , " Engine on SRC-Node " , " Cross-Copy / Both Engines " , " Engine on SRC-Socket, not SRC-Node " , " Engine on DST-Socket, not DST-Node " , " Engine on different Socket " , " Engine on same Socket but neither SRC nor DST Node " ]
copy_methods_nice = [ " Engine on DST-Node " , " Engine on SRC-Node " , " Cross-Copy / Both Engines " , " Engine on SRC-Socket, not SRC-Node " , " Engine on DST-Socket, not DST-Node " , " Engine on different Socket " , " Engine on same Socket " ]
title = " Performance of Engine Location - Copy Operation on DDR with 1 Engine per WQ "
title = " Performance of Engine Location - Copy Operation on DDR with 1 Engine per WQ "
index = [ runid , x_label , var_label ]
index = [ runid , x_label , var_label ]
@ -45,14 +45,19 @@ def load_time_mesurements(file_path,method_label):
time1 = data [ " list " ] [ 1 ] [ " report " ] [ " time " ]
time1 = data [ " list " ] [ 1 ] [ " report " ] [ " time " ]
return {
return {
" total " : max ( time0 [ " total " ] , time1 [ " total " ] ) ,
" total " : max ( time0 [ " total " ] , time1 [ " total " ] ) / iterations ,
" combined " : [ max ( x , y ) for x , y in zip ( time0 [ " combined " ] , time1 [ " combined " ] ) ] ,
" combined " : [ max ( x , y ) for x , y in zip ( time0 [ " combined " ] , time1 [ " combined " ] ) ] ,
" submission " : [ max ( x , y ) for x , y in zip ( time0 [ " completion " ] , time1 [ " completion " ] ) ] ,
" submission " : [ max ( x , y ) for x , y in zip ( time0 [ " completion " ] , time1 [ " completion " ] ) ] ,
" complet ion" : [ max ( x , y ) for x , y in zip ( time0 [ " submiss ion" ] , time1 [ " submiss ion" ] ) ]
" submiss ion" : [ max ( x , y ) for x , y in zip ( time0 [ " complet ion" ] , time1 [ " complet ion" ] ) ] ,
}
}
else :
else :
return data [ " list " ] [ 0 ] [ " report " ] [ " time " ]
return {
" total " : data [ " list " ] [ 0 ] [ " report " ] [ " time " ] [ " total " ] / iterations ,
" combined " : data [ " list " ] [ 0 ] [ " report " ] [ " time " ] [ " combined " ] ,
" submission " : data [ " list " ] [ 0 ] [ " report " ] [ " time " ] [ " submission " ] ,
" completion " : data [ " list " ] [ 0 ] [ " report " ] [ " time " ] [ " completion " ]
}
def create_copy_dataset ( file_path , method_label , type_label ) :
def create_copy_dataset ( file_path , method_label , type_label ) :
method_index = index_from_element ( method_label , copy_methods )
method_index = index_from_element ( method_label , copy_methods )
@ -61,14 +66,14 @@ def create_copy_dataset(file_path, method_label, type_label):
type_nice = types_nice [ type_index ]
type_nice = types_nice [ type_index ]
data_size = 0
data_size = 0
if type_label in [ " internode-n0ton1-1mib " , " intersock-n0ton4-1mib " ] :
data_size = 1024 * 1024
els e :
data_size = 1024 * 1024 * 1024
if type_label in [ " internode-n0ton1-1gib " , " intersock-n0ton4-1gib " ] : data_size = 1024 * 1024 * 1024
elif typ e_label in [ " internode-n0ton1-1mib " , " intersock-n0ton4-1mib " ] : data_size = 1024 * 1024
else : data_size = 0
try :
try :
time = load_time_mesurements ( file_path , method_label ) [ " total " ]
run_idx = 0
run_idx = 0
time = [ load_time_mesurements ( file_path , method_label ) [ " total " ] ]
for t in time :
for t in time :
data . append ( { runid : run_idx , x_label : type_nice , var_label : method_nice , y_label : calc_throughput ( data_size , t ) } )
data . append ( { runid : run_idx , x_label : type_nice , var_label : method_nice , y_label : calc_throughput ( data_size , t ) } )
run_idx = run_idx + 1
run_idx = run_idx + 1