mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Ron Peterson <rpeterso@MtHolyoke.edu>
Cc: davem@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: network / performance problems
Date: Tue, 24 Feb 2004 15:20:33 -0800	[thread overview]
Message-ID: <20040224152033.0821d537.akpm@osdl.org> (raw)
In-Reply-To: <Pine.OSF.4.21.0402241426120.320699-100000@mhc.mtholyoke.edu>

Ron Peterson <rpeterso@MtHolyoke.edu> wrote:
>
> I haven't done kernel profiling before.  Did a little googling and this is
> what I think I know (2.4.x)
> 
> In lilo.conf, do append="profile=2" (is 2 a good number?)
> reboot
> echo > /proc/profile
> readprofile -m System.map-2.4.24 (or whatever)

Do this:

- boot with `profile=1'

- make sure that /boot/System.map pertains to the currently-running kernel

sudo readprofile -r
sudo readprofile -M10
sleep 60
sudo readprofile -n -v -m /boot/System.map | sort -n +2 > prof.out


  reply	other threads:[~2004-02-24 23:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-21  2:44 Ron Peterson
2004-02-21  3:08 ` Andrew Morton
2004-02-21 14:36   ` Ron Peterson
2004-02-22 17:32     ` Ron Peterson
2004-02-22 21:25       ` Ron Peterson
2004-02-23 16:32         ` Ron Peterson
2004-02-23 22:17           ` Ron Peterson
2004-02-23 22:54             ` Ron Peterson
2004-02-24  4:28             ` Ron Peterson
2004-02-24 14:26               ` Ron Peterson
2004-02-24 18:22                 ` David S. Miller
2004-02-24 18:42                   ` Ron Peterson
2004-02-24 18:47                     ` David S. Miller
2004-02-24 19:35                       ` Ron Peterson
2004-02-24 23:20                         ` Andrew Morton [this message]
2004-02-25 19:16                 ` Ron Peterson
2004-03-04 19:24                   ` Ron Peterson
2004-03-04 19:29                     ` David S. Miller
2004-03-04 19:39                       ` Ron Peterson
2004-03-06 14:55                     ` Ron Peterson
2004-03-06 15:00                       ` Ron Peterson
2004-03-09  7:34                       ` David S. Miller
2004-03-09 15:01                         ` Ron Peterson
2004-03-09 21:11                           ` Ron Peterson
2004-04-12 15:03                     ` Ron Peterson
2004-04-14  4:54                       ` Ron Peterson

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=20040224152033.0821d537.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpeterso@MtHolyoke.edu \
    /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®