All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] measuring queueing delay using iproute2
@ 2002-02-27  1:02 Radhakrishnan Vijay
  2002-02-27  7:55 ` bert hubert
  2002-02-27  8:55 ` Martin Devera
  0 siblings, 2 replies; 3+ messages in thread
From: Radhakrishnan Vijay @ 2002-02-27  1:02 UTC (permalink / raw)
  To: lartc

I am using the tc functionality provided by iproute2
to setup classes and queueing disciplines. I have a
requirement to determine the queueing delay of each
packet belonging to a particular class so that i can
measure the average queueing delay over a time
interval for a particular traffic class. I would be
grateful if somebody could give me pointers on how i
possibly can achieve this. I suspect that i would have
to modify the source code of iproute2 , but am not too
sure on what segment of the code i should be
modifying.


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] measuring queueing delay using iproute2
  2002-02-27  1:02 [LARTC] measuring queueing delay using iproute2 Radhakrishnan Vijay
@ 2002-02-27  7:55 ` bert hubert
  2002-02-27  8:55 ` Martin Devera
  1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2002-02-27  7:55 UTC (permalink / raw)
  To: lartc

On Tue, Feb 26, 2002 at 05:02:45PM -0800, Radhakrishnan Vijay wrote:
> I am using the tc functionality provided by iproute2
> to setup classes and queueing disciplines. I have a
> requirement to determine the queueing delay of each
> packet belonging to a particular class so that i can
> measure the average queueing delay over a time
> interval for a particular traffic class. I would be
> grateful if somebody could give me pointers on how i
> possibly can achieve this. I suspect that i would have
> to modify the source code of iproute2 , but am not too
> sure on what segment of the code i should be
> modifying.

Right now the actual delay is not measured by the kernel, so I don't see how
you would get at it. You could calculate the effective class bandwidth and
multiply that by the average qlength, but that would be pretty indirect.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] measuring queueing delay using iproute2
  2002-02-27  1:02 [LARTC] measuring queueing delay using iproute2 Radhakrishnan Vijay
  2002-02-27  7:55 ` bert hubert
@ 2002-02-27  8:55 ` Martin Devera
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Devera @ 2002-02-27  8:55 UTC (permalink / raw)
  To: lartc

you have to modify kernel code ;) Add one field into
sk_buff and initialize it with TSC at recieve. Then
in global dequeue in sch_generic.c IIRC you can
compute delay and either prinkt or average it directly
in kernel.
devik

On Tue, 26 Feb 2002, Radhakrishnan Vijay wrote:

> I am using the tc functionality provided by iproute2
> to setup classes and queueing disciplines. I have a
> requirement to determine the queueing delay of each
> packet belonging to a particular class so that i can
> measure the average queueing delay over a time
> interval for a particular traffic class. I would be
> grateful if somebody could give me pointers on how i
> possibly can achieve this. I suspect that i would have
> to modify the source code of iproute2 , but am not too
> sure on what segment of the code i should be
> modifying.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-27  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-27  1:02 [LARTC] measuring queueing delay using iproute2 Radhakrishnan Vijay
2002-02-27  7:55 ` bert hubert
2002-02-27  8:55 ` Martin Devera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.