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

Re: ds patches for statistics

On Tue, 9 Nov 1999, Sergio wrote:

> yes, but my idea was that taking the time stamp in netif_rx, I have only
> a more accurated value: does it disturb the other codes?
> Moreover, if I create my own variable, than I have to call two funcions
> in netif_rx (do_gettimeofday and get_fast_time) for each packet. I was
> thinking that it can be too heavy. Isn't it?

Maybe it doesnt harm anything -- but it is better to be safe; 

> >- In your scheme, you have to change every qdisc that you want to
> >participate in the "profiling". You might want to sync with Ole
> Husgaard
> ><sparre@login.dknet.dk> -- i am not sure if he is on this mailing list
> ...
> >Ole has a nice scheme with a classful qdisc which you "wrap around"
> >a qdisc that you want to "profile". I dont think he had the concept of
> >profiling rates and latencies, this is something you could add. His was
> >more sort of a tcpdump/sniffer-tracer for qdiscs. i.e it would show you
> >traces of the path that a packet takes as it wiggles its way through
> the
> >qdisc membrane.
> Yes. In this first step I've considered only cbq, for it is the only one
> that we're using for our tests.

Try talking to Ole; it will make it easier for you in the future.

I have cc'ed him.