Realtime Twitter Updates

Sunday, January 04, 2009

IP QOS on the Speedtouch 585v7

I've recently purchased a Pure Evoke Flow internet radio which appears to be an excellent dab/internet radio/audio streamer.

One thing I'd like to do is to ensure it's streaming traffic is prioritized. Whilst there is some buffering it would be good to ensure that mass downloads don't start causing audio breakup/delays when listening to radio.

I therefore took a look at the Speedtouch IP qos guide and made the following changes in the CLI:

:label add name=AudioStream
:label modify name=AudioStream classification=overwrite defclas
s=11 ackclass=11 bidirectional=enabled inheritance=disabled tosmarking=disabled


* Mark all packets destined to the radio
:label rule add chain=qos_user_labels index=1 name=AudioStream dstip=192.168.1.74 log=disabled state=enabled label=AudioStream

I hoped this would work, but when I use "ipqos queue stats" all packets are going into class 2... I'm not yet clear how the 6 queues there map to my label definition above ie:

{super}[label]=>:ipqos queue list
Name Queue Propagate ECN AckFilter Size Size Reserved Reserved Holdtime Markprob
(Packets) (KBytes) (Packets) (KBytes) (usecs)
llu_Internet 0 disabled disabled 100 64 13 4 2000 1000
1 disabled disabled enabled 40 100 13 4 2000 1000
2 disabled disabled disabled 100 20 13 4 2000 1000
3 disabled disabled disabled 100 20 13 4 2000 1000
4 disabled disabled disabled 100 20 13 4 2000 1000
5 disabled disabled disabled 30 12 30 12 2000 1000
{super}[label]=>

{super}[label]=>:ipqos queue stats
Name Queue # packets # packets # packets # packets # packets Marking
added marked removed dropped replaced

llu_Internet 0 1965 0 1965 0 0 0%
1 7671 0 7646 25 0 0%
2 14829 0 14829 2 3 0%
3 28 0 28 0 0 0%
4 579 0 579 0 0 0%
5 0 0 0 0 0 0%
{super}[label]=>

So if anyone can clarify this please let me know. The information isn't widely discussed on the web.

1 comments:

Ari Constâncio said...

Hi Nigel,

Thanks for your article. It was very helpful.
As for your problem, I don't see any issue with your rule. In the "Speedtouch QoS Guide', you have a section called 'Mapping to internal class': for class 11 you have queue 3.

Are you sure packets appear only on queue 2?

Regards,
Ari Constancio