RE: Questions about the Linux network stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: linux-net-owner@xxxxxxxxxxxxxxx 
> [mailto:linux-net-owner@xxxxxxxxxxxxxxx] On Behalf Of Matthew Faulkner
> Sent: Tuesday, May 29, 2007 3:34 AM
> To: linux-net@xxxxxxxxxxxxxxx
> Subject: Re: Questions about the Linux network stack
> 
> Hey all,
> 
> Not sure if this should be asked within this mailing list or netdev,
> so please accept my appologies if it's in the wrong place.
> 
> I'd like to know what the best way to go about "profiling" the linux
> networking code is. There are a few different methods of profiling the
> linux from applications suchs as OProfile and simply booting the
> kernel with the profile=2 option and viewing the /proc/ system, but
> i'm not sure which (if any) will do the tasks i require.
> 
> Basically I want to profile and find out how long each stage of the
> network processing takes, for example, how long the TCP/IP processing
> takes (in softIRQ context?) and how long the hardware interupt takes?
> etc.

The Linux Trace Toolkit (LTT) might do the trick, though you might need
to modify the kernel to trace the the specific events you are interested
in.

Jeff Haran
Brocade 

> 
> Thanks for your help
> 
> Matt
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux