[Swift-devel] Re: latest Falkon code is in SVN!

Ioan Raicu iraicu at cs.uchicago.edu
Tue Aug 28 18:08:53 CDT 2007


Hi,
I forgot to mention how you can test that everything works once you 
build all the Falkon components:
Shell #1:
#comment: starts GT4 container on port 50001
cd falkon/service
./run.gpws_local.sh 50001

Shell #2:
#comment: starts 1 worker on local machine in interactive mode, 
terminate by simply typing any key and hit enter
cd falkon/worker
./run.worker-debug.sh 0 0 localhost 50001 etc/client-security-config.xml 1

Shell #3:
#comment: starts the command line client that submits 10 sleep 1 tasks
cd falkon/client
./run.user.file.sh localhost 50001 workloads/sleep/sleep_1 10 1 
etc/client-security-config.xml

I attached below the sample output of the command line client, if 
everything went OK!
iraicu at gto:~/java/svn/falkon/client> ./run.user.file.sh localhost 50001 
workloads/sleep/sleep_1 10 1 etc/client-security-config.xml
Starting Falkon Command Line Client v0.8.1...
Starting non-interactive mode....
Reading file: workloads/sleep/sleep_1...

time 0.0050 pend_not_queue 0 tasks_recv 0 tasks_sent 0 completed 0.0 
not_tp 0.0 tasks_tp 0.0 ETA ?
time 1.007 pend_not_queue 0 tasks_recv 0 tasks_sent 10 completed 0.0 
not_tp 0.0 tasks_tp 0.0 ETA ?
time 2.012 pend_not_queue 0 tasks_recv 1 tasks_sent 10 completed 10.0 
not_tp 0.0 tasks_tp 1.0 ETA 18.108
time 3.015 pend_not_queue 0 tasks_recv 2 tasks_sent 10 completed 20.0 
not_tp 0.0 tasks_tp 1.0 ETA 12.064
time 4.019 pend_not_queue 0 tasks_recv 3 tasks_sent 10 completed 30.0 
not_tp 0.0 tasks_tp 1.0 ETA 9.378
time 5.023 pend_not_queue 0 tasks_recv 4 tasks_sent 10 completed 40.0 
not_tp 0.0 tasks_tp 1.0 ETA 7.535
time 6.027 pend_not_queue 0 tasks_recv 5 tasks_sent 10 completed 50.0 
not_tp 0.0 tasks_tp 1.0 ETA 6.027
time 7.031 pend_not_queue 0 tasks_recv 6 tasks_sent 10 completed 60.0 
not_tp 0.0 tasks_tp 1.0 ETA 4.687
time 8.035 pend_not_queue 0 tasks_recv 7 tasks_sent 10 completed 70.0 
not_tp 0.0 tasks_tp 1.0 ETA 3.444
time 9.045 pend_not_queue 0 tasks_recv 8 tasks_sent 10 completed 80.0 
not_tp 0.0 tasks_tp 0.99 ETA 2.261
time 10.047 pend_not_queue 0 tasks_recv 8 tasks_sent 10 completed 80.0 
not_tp 0.0 tasks_tp 0.0 ETA 2.512
time 11.051 pend_not_queue 0 tasks_recv 9 tasks_sent 10 completed 90.0 
not_tp 0.0 tasks_tp 1.0 ETA 1.228
time 11.196 pend_not_queue 0 tasks_recv 10 tasks_sent 10 completed 100.0 
not_tp 0.0 tasks_tp 0.0 ETA 0.0

10 tasks completed in 11.197 sec
Successful tasks: 10
Failed tasks: 0
Notification Errors: 0
Overall Throughput (tasks/sec): 0.89

For more serious stuff, you'll have to run the provisioner:
vi falkon/worker/etc/Provisioner.config
cd falkon/worker
./run.drp.sh etc/Provisioner.config 60

BTW, don't forget to update the falkon/worker/run.worker.sh script with 
the correct JAVA_HOME for the Grid site you will run on... ideally, this 
should not have to happen, but without this, the script doesn't run 
correctly at ANL/UC.

OK, that is about it for now...

Ioan

Michael Wilde wrote:
> Excellent - thanks Ioan!  I will try it.
>
> Ioan Raicu wrote:
>> Hi all,
>> I finally have the latest Falkon code in SVN!
>>
>> Transmitting file data 
>> ...................................................................................... 
>>
>> Committed revision 1126.
>>
>> To checkout Falkon (service, worker code, client code, GT4 container, 
>> web server, ploticus, etc...):
>> svn co https://svn.ci.uchicago.edu/svn/vdl2/falkon
>>
>> To compile everything:
>> cd falkon
>> ./make-falkon.sh
>>
>> The latest Falkon provider code has been in SVN for a while now.  
>> Assuming you have cog and swift:
>> Cog:
>> svn co 
>> https://cogkit.svn.sourceforge.net/svnroot/cogkit/trunk/current/src/cog
>>
>> Swift:
>> cd cog/modules
>> svn co https://svn.ci.uchicago.edu/svn/vdl2/trunk vdsk
>>
>> You can get the Falkon provider by:
>> svn co https://svn.ci.uchicago.edu/svn/vdl2/provider-deef
>>
>> You can build the falkon provider by:
>> cd provider-deef
>> ant distclean
>> ant -Ddist.dir=../vdsk/dist/vdsk-0.2-dev/ dist
>>
>> Mike, do you want to post these instructions on the Wiki?
>
> Doing that right now.
>
> - Mike
>
>>
>> Ioan
>>
>

-- 
============================================
Ioan Raicu
Ph.D. Student
============================================
Distributed Systems Laboratory
Computer Science Department
University of Chicago
1100 E. 58th Street, Ryerson Hall
Chicago, IL 60637
============================================
Email: iraicu at cs.uchicago.edu
Web:   http://www.cs.uchicago.edu/~iraicu
       http://dsl.cs.uchicago.edu/
============================================
============================================




More information about the Swift-devel mailing list