https://access.redhat.com/solutions/1293784
SOLUTION UNVERIFIED - 已更新 2015年一月15日06:32 -环境
- Red Hat Enterprise Linux (RHEL) 6
问题
- What is the current length of the NIC queue?
- How do I get the current depth of the 3 queues that make up the pfifo_fast qdisc?
决议
The pfifo_fast qdisc, among others, is actually determined by the txqueuelength
depth seen in ethtool
:
# ifconfig eth0
collisions:0 txqueuelen:1000
Or look in /sys for the tx_queue_len
value:
# cat /sys/class/net/eth0/tx_queue_len
1000
The tc
command will show additional qdisc stats:
# tc -s -d qdisc show