#- the command line option flags
my $opt_help = 0;
-my $opt_ebconf = "/home/hadaq/trbsoft/hadesdaq/evtbuild/eb.conf.withdabc";
+my $opt_ebconf = "/home/hadaq/trbsoft/hadesdaq/evtbuild/eb.conf";
my $opt_ioc = "";
my $opt_test = 0;
my $opt_verb = 0;
my $expect_ioc_script = "/tmp/ioc_exit.exp";
my $log_path = "/tmp/log";
-
my %temp_args;
my $temp_args_href = \%temp_args;
read_config $opt_ebconf => %$temp_args_href;
# }
#JAM adjust this to actual affinities for eth0 settings TODO
-
+# eth0 interrupts are above core 8 now
foreach my $core (0..11){
- if($core < 4 ){
+ if(($core < 2) || ($core> 8 ) ){
$EB_CPU_status_href->{'192.168.100.12'}->{$core} = "res"; #reserved
$EB_CPU_status_href->{'192.168.100.13'}->{$core} = "res"; #reserved
$EB_CPU_status_href->{'192.168.100.14'}->{$core} = "res"; #reserved
}
}
+# eth0 ir is set above core 11
foreach my $core (0..23){
- if($core < 4 ){
+ if( ($core < 2) ||( $core > 11) ){
$EB_CPU_status_href->{'192.168.100.15'}->{$core} = "res"; #reserved
}
else{
# SMALLFILES for online monitoring node
- my $core_nr = &getCoreNr($cpu);
-
+ my $core_nr = &getCoreNr($cpu) . "," . &getCoreNr($cpu) . "," . &getCoreNr($cpu);
+# my $core_nr = &getCoreNr($cpu);
+# dabc is set to 3 cores
+
# JAM use fixed core number for kp1pc092 tests:
# my $core_nr = 1;
- my $exe_dabc = "ssh -n $cpu -l $username \"$dabclogin $cdworkdir $exports taskset -c $core_nr $cmd_dabc $conf_dabc &\"";
-
+ my $exe_dabc = "ssh -n $cpu -l $username \"$dabclogin $cdworkdir $exports taskset -c $core_nr $cmd_dabc $conf_dabc &\"";
+# my $exe_dabc = "ssh -n $cpu -l $username \"$dabclogin $cdworkdir $exports $cmd_dabc $conf_dabc &\"";
my $log = $log_path . "/log_" . $ebproc . "_" . "startEB.txt";