RE: Measure packet traverse time

From: Jeff Haran
Date: Wed Aug 02 2006 - 13:18:48 EST


LTT (Linux Trace Toolkit) might do the trick.

Jeff Haran
Brocade Communications Systems

> -----Original Message-----
> From: linux-net-owner@xxxxxxxxxxxxxxx
> [mailto:linux-net-owner@xxxxxxxxxxxxxxx]On Behalf Of
> avdevichy@xxxxxxxx
> Sent: Wednesday, August 02, 2006 2:36 AM
> To: linux-net@xxxxxxxxxxxxxxx
> Subject: Measure packet traverse time
>
>
>
> I am using laptop with linux debian, kernel 2.6.12. My
> network configuration is following. Router is connected to
> laptop and sending periodically UDP packets ( let say with
> interval 100 ms) to laptop ethernet interface, this packets
> are routed to wireless interface (which working like Madwifi
> Access Point) and futher to wireless client. Routing of UDP
> packets inside linux box made thanks to proper Iptables configuration.
> Can anyone help to understand how i can measure packet
> traverse time inside linux kernel, i mean the interval from
> UDP packet coming to ethernet interface to time of packet
> going out from wireless interface. Can i somehow connect the
> packet arrival event with values(in microseconds) of kernel
> time, same for outgoing packet? For routing, kernel probably
> is using buffering, that means that packets going through
> linux box can be served different time in microseconds.
> Thank's in advance,
> regards Yuri
>
> -
> 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