LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-21-2009, 02:58 PM   #1
vlyamtse
Member
 
Registered: Apr 2007
Posts: 54

Rep: Reputation: 15
packet queue length question


Hi,
Given the available bandwidth on my network interface and other tcp parameters, how can I estimate queue length sufficient to avoid overflow?
Thanks,
-V
 
Old 10-01-2009, 07:24 AM   #2
Kenarkies
Member
 
Registered: Nov 2007
Location: South Australia
Distribution: Ubuntu 11.10
Posts: 81

Rep: Reputation: 23
OK, since no one has replied to this, I'll start the ball rolling, even though this may just display my ignorance. I sort of understand what you are asking but could you clarify a bit what is your concern? It's my understanding that overflow of queues only happens under certain circumstances, for example receiving from an uncontrolled source such as the Internet. For transmission, if the local machine processes dumping data to the queue cause the queue to fill, they will simply block until space is available. If a receive queue overflows, then the incoming packets are discarded but the protocol will act to cause them to be retransmitted. Local networks may be able to respond quickly enough at the lower datalink or hardware level to avoid activating the higher network level or end-to-end protocols. Do you have a general concern to know this, or is there a more specific project being engaged?

Ken
 
Old 10-01-2009, 07:27 AM   #3
tapke
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Rep: Reputation: 0
Come on. How can bandwidth control (or ant QoS) could cause queues?
And what are those "other" TCP parametes?
 
Old 10-02-2009, 08:41 AM   #4
vlyamtse
Member
 
Registered: Apr 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Re: packet queue length question

I should have never refer to protocol with congestion control mechanism...
Let's assume "udp" instead.
My questions really are:
- are there multiple queues in the kernel, or the single one?
- how the capacity for input kernel queue is selected?
- Is the capacity set in some file?
With the second clarification: i am working with the linux kernel-based router project.
 
Old 10-08-2009, 12:29 AM   #5
Kenarkies
Member
 
Registered: Nov 2007
Location: South Australia
Distribution: Ubuntu 11.10
Posts: 81

Rep: Reputation: 23
Unfortunately the details of kernel operation is not in my range of expertise. You would probably be best either to pose the question in terms of "what does the kernel do with TCP/UDP queueing" to attract the attention of those in the know, or ask on a more specialized forum for people working on the kernel.

cheers, Ken
 
  


Reply



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
dd if=file1 of=file2 bs=1k PUSHES AVG QUEUE LENGTH UP TO 80 !!!!! Jung Linux - General 8 04-09-2009 04:36 AM
io queue length? m1n Linux - Newbie 1 02-25-2009 10:02 AM
Exmine processor queue length in LINUX hrahmawan Linux - Newbie 1 10-20-2008 09:28 PM
Bad Packet Length 1349676916 satishp Linux - Software 1 07-16-2007 12:21 PM
Network Interface queue length villie Linux - Networking 4 09-03-2004 04:23 AM

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

All times are GMT -5. The time now is 11:07 PM.

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