Skip to content
Prev 276699 / 398506 Next

How much time a process need?

The 'user' + 'system' will give you how much CPU is required which is
an indication of how many of the CPU cycles you are using.  The
elapsed time is just how long it spent.  If the script is CPU
intensive, and there is no paging going on, you should see the CPU
time close to the elapsed time.  Longer extensions in the elapsed time
is an indication of extensive I/O, or it might  be an indication that
you are calling another process; e.g., you have a PERL script that is
parsing some data in preparation to using in R.

If you are really interested, then enable the monitoring on your
system and see what else is running.  Use 'perfmon' on WIndows or a
combination of 'ps' and 'vmstat' on UNIX/Linux systems.  Run you
script on a system that has nothing else running and interfering with
resources and then look at the results along with the performance data
from the entire system in  order to create a "model" of how long
things will take.
On Tue, Nov 8, 2011 at 8:31 AM, Alaios <alaios at yahoo.com> wrote: