Skip to contentSkip to conversation

Inspection of SFQ work

LARTC Michael T. Babcock 2 participants 2 messages Dec 20, 2001

lore
Share & tools
lore
#0 lore raw

Is there any way / patch allowing inspection of decisions made by various qdiscs? I'm particularly interested in SFQ and RED but I'm sure following the logic flow in CBQ would be enlightening as well ;-).

To the point, something that logs all the decisions made; [timestamp] queued packet [header] [hashval] [timestamp] dequeued packet [header] [hashval] [timestamp] dequeued packet [header] [hashval]

... I'm sure it would slow things down, but there are some occasions where turning this kind of thing on is 'smart'.

Just wondering

Signature · 7 lines
Michael T. Babcock
CTO, FibreSpeed Ltd.     (Hosting, Security, Consultation, Database, etc)
http://www.fibrespeed.net/~mbabcock/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#1 lore raw
Quoted 3 lines · Michael T. Babcock

Is there any way / patch allowing inspection of decisions made by various qdiscs? I'm particularly interested in SFQ and RED but I'm sure following the logic flow in CBQ would be enlightening as well ;-).

I've thought about it. There is no easy single entrypoint to do this. Each qdisc would have its own debugging statements. The good news is that this is easy to add, just insert 'printk' statements in relevant places.

Kernel policy however is that no 'explanatory' statements are allowed in the mainline kernel, just as there is no kernel debugger in the mainline kernel.

Quoted 2 lines

... I'm sure it would slow things down, but there are some occasions where turning this kind of thing on is 'smart'.

I'm not sure, but perhaps IBM 'dprobes' might be suited for this work.

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/