lkml.org 
[lkml]   [2004]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: network / performance problems
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

-
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-03-22 14:01    [W:0.047 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site