Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to set Linux Max Queue Length ?

Reply
Thread Tools Display Modes

How to set Linux Max Queue Length ?

 
 
Haifeng Zhu
Guest
Posts: n/a

 
      11-06-2004, 10:46 PM

Hi, folks,

Do you know how to increase the FIFO (both input and output) packet queue
limits (Default is 100 packets) to, say, 1000 packets ?

I mean, where is the file that defines this default limit ?

Also, this seems to be the protocol independent queue. I want to increase
all possible internal queues that a packet may pass through a Redhat 9
Linux that acts as a router. Is there also a network card queue
("ifconfig eth0 txqueuelen 1000"? but what is the receiving side "ifconfig
eth0 rxqueuelen 1000" -- tried, but incorrect).

Thanks!
-- Haifeng
 
Reply With Quote
 
 
 
 
Alex Harsch
Guest
Posts: n/a

 
      11-07-2004, 08:30 AM
Haifeng Zhu wrote:

>
> Hi, folks,
>
> Do you know how to increase the FIFO (both input and output) packet queue
> limits (Default is 100 packets) to, say, 1000 packets ?
>
> I mean, where is the file that defines this default limit ?
>
> Also, this seems to be the protocol independent queue. I want to increase
> all possible internal queues that a packet may pass through a Redhat 9
> Linux that acts as a router. Is there also a network card queue
> ("ifconfig eth0 txqueuelen 1000"? but what is the receiving side "ifconfig
> eth0 rxqueuelen 1000" -- tried, but incorrect).
>
> Thanks!
> -- Haifeng

Hello Haifeng,

this parameter can not be modified, because there is not limit to this
queue.
Each processor has a softnet_data structure, which holds a list with packets
received by the NIC. In this structure, the average lenght of the backlog
queue is stored. Using this number, the congestion level is calculated.
If the congestion level is too high, the kernel will try to solve the
problem, for example by turning the device in the polling mode. A device
won't raise interrupts any more in this mode, so if the processor don't
poll fast enough, packets will be lost.

With kind regards, Alex
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux cluster queue software spam.til.kasper@gmail.com Linux Networking 0 06-28-2006 11:28 AM
Linux TCP/IP Accept Queue Benjamin Chu Linux Networking 0 02-03-2006 06:34 PM
Network Interface:Output Queue Length ---- showing 4294963197 Dan Carollo Windows Networking 0 02-08-2005 07:30 PM
NIC performance - Output Queue Length huge! glendeek Windows Networking 0 07-27-2004 08:48 PM
About tun has packets in queue calvin Linux Networking 0 03-05-2004 10:03 AM



1 2 3 4 5 6 7 8 9 10 11