[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [condor-users] Benchmarking



Why not use condor_startd's cron facility to run the benchmark and at
the same time, add the results right into the machine's ClassAd?

You'd add something like this to every machine's .local config file or
the global config for your pool:

STARTD_CRON_JOBS =
mybenchmark:MYBM_:/path/to/mybenchmark/mybenchmarkprogram:24h

Then, every 24 hours, condor_startd will run
/path/to/mybenchmark/mybenchmarkprogram and you'll see something like
this in your StartLog:

3/8 10:10:54 Running 'mybenchmark'
3/8 10:10:57 Cron: STDERR closed for 'mybenchmark'
3/8 10:10:57 Cron: STDOUT closed for 'mybenchmark'
3/8 10:10:57 Cron: Job 'mybenchmark' (pid 28814) exit status=0,
state=Running

(assuming things worked, of course times will vary).

mybenchmarkprogram should output something like:

Mybenchmarkvalue = 123
-

And then if you look at the ClassAd for a machine this runs on you
should see a new attribute:

MYBM_Mybenchmarkvalue = 123

Find more info on STARTD_CRON at
http://www.cs.wisc.edu/condor/hawkeye/configuration.html (and
http://www.cs.wisc.edu/condor/hawkeye/moduleoutput.html) WHICH IS
INCREDIBLY obscure -- Condor folks, is this in the actual Condor manual
somewhere?

~Brooklin

-----Original Message-----
From: owner-condor-users@xxxxxxxxxxx
[mailto:owner-condor-users@xxxxxxxxxxx] On Behalf Of Campbell Bradley L
CRBE
Sent: Saturday, March 06, 2004 11:48 AM
To: 'condor-users@xxxxxxxxxxx'
Subject: [condor-users] Benchmarking


Is there an easy way to get every computer on a cluster to run a user
defined benchmark program and get a report of how long it each to
complete the benchmark program?

Thanks,
Brad
Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>

Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>