[EMAIL PROTECTED] wrote on 02/15/2008 06:26:31 AM:
> I observed that STAF takes much more time - about 2.5 times - as
> compared to the manual execution.
> 
> I am running a batch file ( around 500 test cases ) using staf on a
> remote machine that takes more than an hour, and 17-20 mins otherwise.
> Is that because of a lower memory utilization by STAF? Is there any
> option to increase the memory allocated to STAF so that I can bring down
> the execution time?

We'll need a good bit more detail to help find a root cause here.  In 
general, STAF is designed for minimal overhead (when idle).  So, if you've 
got a Perl script that you run from the command line on a system and it 
takes X amount of time to run (assuming STAF isn't even installed), then 
it should still take basically X amount of time to run if you have STAF 
execute the command for you.  Any differences would almost certainly be 
due to environment differences (different user, different environment 
variables, etc.)

Let's get some basic information and progress from there.

What operating system are you using?

What version of STAF are you using?

What type of test are you running (just a high level overview)?

How are you invoking it without STAF?

How are you invoking it with STAF?

It would also be useful to look at "top" (on Linux) or Task Manager (on 
Windows) to see if STAFProc is actually consuming significant CPU cycles 
or using large amounts of resident heap.  If you see that it is, please 
post some stats/numbers for us.

Finally, if it is consuming a lot of CPU, you will probably want to turn 
on tracing (see sections 4.11 and 8.18 in the STAF User's Guide) so that 
you can see what activity is occurring within STAF.  It would probably be 
best to trace to a file so that you can post the trace as well.

-- 
Charles Rankin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to