Re: network / performance problems

From: Andrew Morton
Date: Tue Feb 24 2004 - 18:21:13 EST


Ron Peterson <rpeterso@xxxxxxxxxxxxx> 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

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