LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2016, 06:12 AM   #1
barooLQ
LQ Newbie
 
Registered: Apr 2016
Posts: 8

Rep: Reputation: Disabled
IFB with HFSC queuing - TX dropped packets


Hi
Last month on my ISP router I moved with queueing from IMQ to IFB (for incoming traffic on eth1 LAN interface). Everything seems to working fine however I noticed that when queueing is enabled on eth1 (LAN) interface which ifb0 is connected to there is a gradually increasing number of TX dropped packets. It looks like below. Is it normal behavior for queueing mechanisms for doing this or this is a problem of too small socket buffers? How to fix that?

Code:
root@access1:~# netstat -i
Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0       1500 0  1596046184      1   1992 0      1048035349      0      0      0 BMRU
eth1       1500 0  1112127683      6      0 0      1610512236      0      0      0 BMRU
eth0.6     1500 0  994109903      0      0 0      1036972784      0      0      0 BMRU
eth0.6:1   1500 0       - no statistics available -                        BMRU
eth0.6:2   1500 0       - no statistics available -                        BMRU
eth0.6:3   1500 0       - no statistics available -                        BMRU
eth0.6:4   1500 0       - no statistics available -                        BMRU
eth0.6:5   1500 0       - no statistics available -                        BMRU
eth1.8     1500 0     26630      0      0 0         25235      0      0      0 BMRU
eth1.10    1500 0  100159397      0      0 0      79595979      0  16306      0 BMRU
eth1.10:1  1500 0       - no statistics available -                        BMRU
eth1.10:2  1500 0       - no statistics available -                        BMRU
eth1.20    1500 0  97316370      0      0 0      93154573      0  21278      0 BMRU
eth1.20:1  1500 0       - no statistics available -                        BMRU
eth1.20:2  1500 0       - no statistics available -                        BMRU
eth1.100   1500 0  354601567      0      2 0      320990005      0  36936      0 BMRU
eth1.100:1  1500 0       - no statistics available -                        BMRU
eth1.180   1500 0  110145136      0      0 0      125649429      0  46503      0 BMRU
eth1.180:1  1500 0       - no statistics available -                        BMRU
eth1.190   1500 0   3000576      0      0 0       2994657      0      0      0 BMRU
eth1.200   1500 0  392698570      0      0 0      415288471      0  59740      0 BMRU
eth1.200:1  1500 0       - no statistics available -                        BMRU
ifb0       1500 0  1054757621      0      0 0      1054757621      0      0      0 BORU
lo        65536 0         2      0      0 0             2      0      0      0 LRU
 
Old 04-05-2016, 03:19 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,849

Rep: Reputation: 161Reputation: 161
IFB is for ingress traffic shaping. Do you have egress traffic shaping?
 
Old 04-05-2016, 03:22 PM   #3
barooLQ
LQ Newbie
 
Registered: Apr 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Yes. eth1 is my LAN interface and I queue download on eth1 and upload on ifb0 which is related to eth1.
 
Old 04-06-2016, 02:41 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,849

Rep: Reputation: 161Reputation: 161
You can try increase length of queue on eth1 and relative to VLAN.
 
Old 04-06-2016, 02:43 PM   #5
barooLQ
LQ Newbie
 
Registered: Apr 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
What exactly do you mean by that? I've tried to increase interface queue by using ethtool without any result. Which option should I change?
 
Old 04-07-2016, 04:13 PM   #6
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,849

Rep: Reputation: 161Reputation: 161
How do you achieve egress traffic shaping?
 
Old 04-07-2016, 11:57 PM   #7
barooLQ
LQ Newbie
 
Registered: Apr 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Both eth1 and ifb0 have hfsc queueuing.
 
Old 04-11-2016, 02:40 PM   #8
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,849

Rep: Reputation: 161Reputation: 161
The burst parameter need be changed.
 
Old 04-11-2016, 02:45 PM   #9
barooLQ
LQ Newbie
 
Registered: Apr 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
There is no such thing as burst in hfsc. Moreover it (the problem) doesn't appear while using IMQ instead of IFB so it's not the matter od queueuing mechanism.
 
Old 04-12-2016, 02:29 PM   #10
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,849

Rep: Reputation: 161Reputation: 161
Command, tc qdisc xxx, has the parameter.
 
Old 04-12-2016, 11:57 PM   #11
barooLQ
LQ Newbie
 
Registered: Apr 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
No, burst is related to specific queueing mechanisms, not tc command http://linux.die.net/man/8/tc
 
Old 04-13-2016, 03:08 PM   #12
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,849

Rep: Reputation: 161Reputation: 161
Then you need adjust sc parameter of each class.
 
Old 04-14-2016, 03:03 AM   #13
barooLQ
LQ Newbie
 
Registered: Apr 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
Then you need adjust sc parameter of each class.
No, it't not the matter of hfsc, because it was moved from my previous system intact. I would rather change system buffers, but I like ask someone if it will help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dropped UDP packets silent90 Linux - Networking 3 04-24-2014 12:03 PM
Dropped or blocked packets iamalinuxnoob Linux - Networking 0 07-07-2012 09:37 AM
Dropped packets Doolspin Linux - Software 1 10-22-2006 01:22 PM
too much dropped packets...Hi.. alaios Linux - Networking 2 02-10-2005 04:49 AM
dropped packets... sohmc Linux - Software 3 05-29-2003 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration