Re: Login time



Federico Mena Quintero <federico ximian com> writes:

> El mar, 10-04-2007 a las 10:54 -0400, Michael R. Head escribió:
> 
> > Doesn't strace drastically affect performance? I thought the goal was to
> > see how long these parts of the login process take under normal
> > conditions.
> 
> #include <uncertainty-principle.h>
> 
> The overhead from strace doesn't seem to be terrible... it's certainly
> better than not being able to get any timings at all :)  I haven't timed
> it with a stopwatch, though.

It will depend on the number of system calls per time of course, but
my experience is that strace times should not be trusted _at all_. In
one case I saw a factor of 6 difference between running with strace
and running without.


Soren



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