[dtrace-discuss] how to observe network stack buffer/queue information?

Roch - PAE Roch.Bourbonnais at Sun.COM
Mon Dec 4 05:40:54 PST 2006


I am not sure there is an architecture for queuing packets.

Network packets can end up on streams queue (at the
streamhead or in tcp/udp), but also in an squeue, in a GLD level
queue, in a softring, in a NIC-specific queue.

Sounds like a fun project...

Note that packets are not commonly  stored in a 'buffer' but
existing  packets  are linked  together  and the  associated
queue structures  are  responsible for  accounting  the byte
sizes and packet counts.

-r


lambliu writes:
 > Does TCP/IP/NIC Driver use different buffer to cache network packages?
 > How could I observe the capacity of those buffer dynamically?
 > 
 > Lamb .
 > _______________________________________________
 > dtrace-discuss mailing list
 > dtrace-discuss at opensolaris.org



More information about the dtrace-discuss mailing list