From: Fabio Brugnara <brugnara@itc.it>
To: Andrew Morton <akpm@osdl.org>
Cc: Fabio Brugnara <brugnara@itc.it>, linux-kernel@vger.kernel.org
Subject: Re: problem with mmap over nfs
Date: Fri, 6 May 2005 14:20:40 +0200 [thread overview]
Message-ID: <20050506122040.GT9742@maestoso.itc.it> (raw)
In-Reply-To: <20050506045446.1deba35d.akpm@osdl.org>
> 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
next prev parent reply other threads:[~2005-05-06 12:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-06 9:50 Fabio Brugnara
2005-05-06 11:54 ` Andrew Morton
2005-05-06 12:20 ` Fabio Brugnara [this message]
2005-05-12 8:00 ` Fabio Brugnara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050506122040.GT9742@maestoso.itc.it \
--to=brugnara@itc.it \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®