Difference between revisions of "ARC HTCondor Accounting"
From GridPP Wiki
Line 7: | Line 7: | ||
The HTCondor configuration on the ARC CEs contains | The HTCondor configuration on the ARC CEs contains | ||
− | |||
# CPU benchmark scaling factor | # CPU benchmark scaling factor | ||
MachineRalScaling = "$$([ifThenElse(isUndefined(RalScaling), 1.00, RalScaling)])" | MachineRalScaling = "$$([ifThenElse(isUndefined(RalScaling), 1.00, RalScaling)])" | ||
Line 13: | Line 12: | ||
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: | ||
− | |||
authplugin="FINISHING timeout=60,onfailure=pass,onsuccess=pass /usr/local/bin/scaling_factors_plugin.py %S %C %I" | 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. | |
− | where scaling_factors_plugin.py is available here: https://gist.github.com/alahiff/3a427620e73b42d9282d#file-scaling_factors_plugin-py | + |
Revision as of 11:01, 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.