Re: readprofile ; Meaning of "Length of procedure"

Andy Pfiffer (andyp@osdl.org)
14 Apr 2003 16:39:43 -0700


On Mon, 2003-04-14 at 16:23, Shesha@asu.edu wrote:
> Thanks a lot Andy, one this that is bothering me is,
> Say if the load of procedures by executing the command mentioned by you is as
> follows in descending order....
>
> 2604 __geneic_copy_to_user 40.6875
> 1705 csum_patrial_copy_generic 6.8750
> 370 __generic_copy_from_user 3.75
> 764 do_annonymous_page 3.1754
> 176 handle_IRQ_event 1.5714
> 31 remove_wait_queue 0.96
>
> the list goes on
>
> are these procedures condidered as load on the CPU? how much of a load ?
> very high, high, moderate .....

Based only on the data from the fragment above, your relative percentage
of time spent breaks down like this (I'm using the 1st column):

46% __generic_copy_to_user (2604 / 5650)
30% csum_partial_copy_generic (1705 / 5650)
13% do_anonymous_page (764 / 5650)
6% __generic_copy_from_user (370 / 5650)

Whatever you were doing when you collected this profile, your system was
spending roughly 76% of the time copying data from kernel space to user
space.

I can't tell you why it was doing that; for some applications this may
be expected and normal. I don't find the "load" column all that useful
myself -- others will certainly differ.

Regards,
Andy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/