Skip to contentSkip to conversation

Data collection in Linux TC queue

LARTC Sipat Triukose 2 participants 4 messages Jul 13, 2004

lore
Share & tools
lore
#0 lore raw

Dear All,

Would you guy have any advices concerning how to get some data like queue length, pkt size, and so forth, from the running queue.

Right now, I modified the queue disc to print out some info I want using printk() and use syslogd to catch those info up. The problem is, in burst, syslogd can't catch all the msg the queue sent out.

Are there any standard or better way to collect those info from the queue disc ?

Thank you very much in advance for every advices.

Signature · 6 lines
Sipat Triukose <[email protected]>
Case Western Reserve University

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 4 lines

Dear All,

Would you guy have any advices concerning how to get some data like queue length, pkt size, and so forth, from the running queue.

Queue len, bytes, bps, pps, packets can be obtain by using libnetlink. What do you mean by "pkt size"? An average or something for every packet?

Quoted 10 lines

Right now, I modified the queue disc to print out some info I want using printk() and use syslogd to catch those info up. The problem is, in burst, syslogd can't catch all the msg the queue sent out.

Are there any standard or better way to collect those info from the queue disc ?

Thank you very much in advance for every advices.

Quoted 8 lines

--
Sipat Triukose <[email protected]>
Case Western Reserve University

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

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Sipat Triukose

Dear Catalin BOIE,

Thank you very much for your advice. I might want to collect pkt size of all pkt ever enqueue during a period of time. Would you mind please give me more detail regarding how to use "libnetlink" or direct me to any helpful sources. Thank you very much.

Quoted 31 lines · Catalin BOIE
Quoted 4 lines

Dear All,

Would you guy have any advices concerning how to get some data like queue length, pkt size, and so forth, from the running queue.

Queue len, bytes, bps, pps, packets can be obtain by using libnetlink. What do you mean by "pkt size"? An average or something for every packet?

Quoted 10 lines

Right now, I modified the queue disc to print out some info I want using printk() and use syslogd to catch those info up. The problem is, in burst, syslogd can't catch all the msg the queue sent out.

Are there any standard or better way to collect those info from the queue disc ?

Thank you very much in advance for every advices.

Quoted 8 lines

--
Sipat Triukose <[email protected]>
Case Western Reserve University

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

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/

Signature · 6 lines
Sipat Triukose <[email protected]>
Case Western Reserve University

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Sipat Triukose
Quoted 6 lines · Sipat Triukose

Dear Catalin BOIE,

Thank you very much for your advice. I might want to collect pkt size of all pkt ever enqueue during a period of time. Would you mind please give me more detail regarding how to use "libnetlink" or direct me to any helpful sources. Thank you very much.

You can check out last iproute2 sources.
http://developer.osdl.org/dev/iproute2/

Quoted 30 lines · Catalin BOIE
Quoted 27 lines
Quoted 4 lines

Dear All,

Would you guy have any advices concerning how to get some data like queue length, pkt size, and so forth, from the running queue.

Queue len, bytes, bps, pps, packets can be obtain by using libnetlink. What do you mean by "pkt size"? An average or something for every packet?

Quoted 18 lines

Right now, I modified the queue disc to print out some info I want using printk() and use syslogd to catch those info up. The problem is, in burst, syslogd can't catch all the msg the queue sent out.

Are there any standard or better way to collect those info from the queue disc ?

Thank you very much in advance for every advices.

--
Sipat Triukose <[email protected]>
Case Western Reserve University

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

Quoted 8 lines
Quoted 4 lines

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/

--
Sipat Triukose <[email protected]>
Case Western Reserve University

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/