Difference between revisions of "ARC HTCondor Accounting"

From GridPP Wiki
Jump to: navigation, search
Line 1: Line 1:
 
This page explains how APEL accounting is done at the RAL Tier-1.
 
This page explains how APEL accounting is done at the RAL Tier-1.
 +
 +
The HTCondor configuration on the worker nodes includes the following:
 +
RalScaling = 2.14
 +
STARTD_ATTRS = $(STARTD_ATTRS) RalScaling
 +
Here ''RalScaling'' is a scaling factor used to normalize the CPU benchmarks.
 +
 +
The HTCondor configuration on the ARC CEs contains
 +
 +
# CPU benchmark scaling factor
 +
MachineRalScaling = "$$([ifThenElse(isUndefined(RalScaling), 1.00, RalScaling)])"
 +
SUBMIT_EXPRS = $(SUBMIT_EXPRS) MachineRalScaling
  
 
We include the following line in the ''[grid-manager]'' section of /etc/arc.conf:
 
We include the following line in the ''[grid-manager]'' section of /etc/arc.conf:

Revision as of 11:00, 5 June 2014

This page explains how APEL accounting is done at the RAL Tier-1.

The HTCondor configuration on the worker nodes includes the following:

RalScaling = 2.14
STARTD_ATTRS = $(STARTD_ATTRS) RalScaling

Here RalScaling is a scaling factor used to normalize the CPU benchmarks.

The HTCondor configuration on the ARC CEs contains

# CPU benchmark scaling factor
MachineRalScaling = "$$([ifThenElse(isUndefined(RalScaling), 1.00, RalScaling)])"
SUBMIT_EXPRS = $(SUBMIT_EXPRS) MachineRalScaling

We include the following line in the [grid-manager] section of /etc/arc.conf:

authplugin="FINISHING timeout=60,onfailure=pass,onsuccess=pass /usr/local/bin/scaling_factors_plugin.py %S %C %I"

where scaling_factors_plugin.py is available here: https://gist.github.com/alahiff/3a427620e73b42d9282d#file-scaling_factors_plugin-py. This assumes that an attribute MachineRalScaling is added to each job automatically by HTCondor, corresponding to the scaling factor for each worker node.