Skip to contentSkip to conversation

Does tc-prio really work as advertised?

DISCUSSION Joerg Pommnitz 3 participants 3 messages Nov 27, 2007 – Nov 30, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 1 line

So, are you still sure you've tested such a case?

Well, the problem that triggered my investigation was that the OLSR daemon (www.olsr.org) calculates the quality of a link according to the packet loss for LQ HELLO packets (UDP broadcast packets). To prevent other traffic from interfering with the LQ calculation, olsrd sends the HELLO packets with a TOS value of 0x10 (minimize delay). This should give them the highest priority.

What I saw was a degrading Link quality with more user traffic over a link. The LQ fell so far that olsrd judged the other host unreachable and deleted the routing entry. The user traffic in question was iperf (TOS value 0x00).

The OLSR traffic was obviously generated locally (not forwarded). You claim, that the TOS value for locally generated traffic does not influence its priority?

Now I THINK that I did my tests both, for forwarded and for local traffic, but I'll redo my tests to make sure.

Signature · 9 lines
Regards and thanks for taking an interest

 
       Joerg




        __________________________________  Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern.  www.yahoo.de/clever
#1 lore raw

On Tue, Nov 27, 2007 at 05:00:55AM -0800, Joerg Pommnitz wrote:
...

Quoted 3 lines

The OLSR traffic was obviously generated locally (not forwarded). You claim, that the TOS value for locally generated traffic does not influence its priority?

I wouldn't say "I claim": I've found something like this 'long time ago' (enough to forget), and didn't need this information since then. Now, I see you have 'nearby' problem, so it's only a hint. After your first message I think you should be able to check this by yourself. But, if there are any problems with this, you find my idea wrong or not valid anymore, I'm interested in knowing about this.

Cheers,
Jarek P.

#2 lore raw
In reply to Joerg Pommnitz

Hi!

Quoted 10 lines · Joerg Pommnitz
Quoted 1 line

So, are you still sure you've tested such a case?

Well, the problem that triggered my investigation was that the OLSR daemon (www.olsr.org) calculates the quality of a link according to the packet loss for LQ HELLO packets (UDP broadcast packets). To prevent other traffic from interfering with the LQ calculation, olsrd sends the HELLO packets with a TOS value of 0x10 (minimize delay). This should give them the highest priority.

Quoted 9 lines

What I saw was a degrading Link quality with more user traffic over a link. The LQ fell so far that olsrd judged the other host unreachable and deleted the routing entry. The user traffic in question was iperf (TOS value 0x00).

Signature · 4 lines
Regards and thanks for taking an interest

 
       Joerg

There is another possible cause of this problem.

In WLANs all packets are acked or retransmitted. This is done to prevent packet loss due to noise and collisions. But this is not done with broadcast packets.

I can't tell you if this can be enough to trigger the bevaviour you experienced. Is the signal barely receivable?

Michi

Signature · 2 lines
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.homelinux.net