Sun Blade 6048 Multi-Node Platform Additional Info

This flags file provides additional information about how the Sun Blade 6048 was tested with multiple nodes active, using a perl procedure to distribute jobs across cores.

System and Other Tuning Information

The procedure submit.pl The config file option 'submit' was used, along with submit.pl to distribute jobs to all Sun Blade X6440 server modules. It also uses 'pbind' to bind processes to cores. The procedure is below.

#! /bin/perl

use strict;
use Cwd;

# Particular testbed used today:
my @nodes = qw ( r2s1b0 r2s1b1 r2s1b2 r2s1b3 r2s1b4 r2s1b5 r2s1b6 r2s1b7 r2s1b8 r2s1b9 r2s1b10 r2s1b11 r2s2b0 r2s2b1 r2s2b2 r2s2b4 r2s2b5 r2s2b6 r2s2b7 r2s2b10 r2s2b11 r2s3b0 r2s3b1 r2s3b2 r2s3b4 r2s3b5 r2s3b6 r2s3b7 r2s3b10 r2s3b11 r2s4b0 r2s4b1 r2s4b4 r2s4b5 r2s4b6 r2s4b9 r2s4b10 r2s4b11 );


# Processor description: 
# AMD Opteron 8384 has 4 cores per chip
my @cores                = qw ( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 );  # When assigning,

my $rundir        = getcwd;
my $copynum       = shift @ARGV;
my $sub=0;


my $node          =  ($copynum % 38); 


my $copy_on_node  =  int (($copynum / 38));


my $processor_num    = $copy_on_node ;



open DOBMK, "> dobmk" or die "Eh?";
print DOBMK "cd $rundir\n";
print DOBMK 'echo -n "`hostname` " >> pbind.out' , "\n";
print DOBMK "/usr/sbin/pbind -b $cores[$processor_num] \$\$ >> pbind.out\n"; 
#print "binding ", $copynum, " on ", , $nodes[$node], "  to core# ",  $cores[$processor_num] , "\n" ;
print DOBMK 'sh -c "' . join(' ', @ARGV) . '"' . "\n";
close DOBMK;
system  '/usr/bin/ssh', "-n", $nodes[$node], "bash", "$rundir/dobmk";