lkml.org 
[lkml]   [2005]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: problem with mmap over nfs
> Could you please generate a kernel profile?
>
> - Compile with CONFIG_PROFILING
>
> - Start the workload, wait for steady state.
>
> - As root, run:
>
> #!/bin/sh
>
> SM=/boot/System.map
> TIMEFILE=/tmp/prof.time
> readprofile -r
> sleep 10
> readprofile -n -v -m $SM | sort -n +2 | tail -40 | tee $TIMEFILE >&2
>
> (make sure that /boot/System.map is from the currently-running kernel)
>
> More in Documentation/basic_profiling.txt
>
>
>
> Even better, learn to drive oprofile. Once it's running properly I usually
> use this silly script:
>
> #!/bin/sh
> opcontrol --stop
> opcontrol --shutdown
> rm -rf /var/lib/oprofile
> opcontrol --vmlinux=/boot/vmlinux-$(uname -r)
> opcontrol --start-daemon
> opcontrol --start
> sleep 10
> opcontrol --stop
> opcontrol --shutdown
> opreport -l /boot/vmlinux-$(uname -r) | head -50


Wow! Thank you, Andrew.
If we have to consider me alone, this sounds like a dentist
that says "please extract your bad teeth and send it for the fix".
But I hope I'm able to do it with the help of our system administrators.

best regards,
thank you again for your attention,
Fabio

-
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/

\
 
 \ /
  Last update: 2005-05-06 14:21    [W:0.043 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site