Aruba & ProVision-based
1753505 Members
4756 Online
108794 Solutions
New Discussion юеВ

Re: Jitter for PTP packets (DSCP: EF) too high

 
parnassus
Honored Contributor

Re: Jitter for PTP packets (DSCP: EF) too high

@Sorry Vince I induced you in a error when I wrote:


@parnassus wrote:

I've read that only the Store and Forward Latency of an Ethernet Switch for the maximum size Ethernet frame (1500 bytes) at 100 Mbps is about 120 ╬╝s...for comparison...the minimum size frame (64 bytes) at Gigabit speeds has a latency of just 0.5 ╬╝s (but 0.5 ╬╝s are still 500 ns, aren't?)...this without considering Switch Fabric Latency, Wireline Latency (really trascurable in LAN) and Queueing Latency (sensible to Network load).

So when I re-read the Spectralink 100 ns critical threshold...well...I start thinking their one is very strict (is it really possible to stay below the 100 ns threshold within the same Switch?).

because I created a non-existent relationship between the overall traffic forwarding latency of a Switch's port and the Jitter its traffic can suffer of.

Forwarding Latency, on its own, has nothing to do with the Jitter (Variation of Delay)...overall traffic load can do. So it's perfectly possible to have a Switch capable of an average forwarding time of less than 3 ╬╝s (3000 ns) and still having its Jitter in the region of hundreds nano-seconds.

The point here is to understand how much a specific system (Spectralink DECT-IP) can tolerate Jitter for PTP traffic it generates...an average range of +/- 100 ns is very low, +/- 700 ns is seven times more.


 


I'm not an HPE Employee
Kudos and Accepted Solution banner
parnassus
Honored Contributor

Re: Jitter for PTP packets (DSCP: EF) too high


@svhelden wrote:

We tested with multiple stations as master, without notable difference.

Don't you see any difference if you assign the Sync Master role to a Base Station connected to the same Switch that connects most of the others (Sync Slave) Base Stations?


I'm not an HPE Employee
Kudos and Accepted Solution banner
svhelden
Advisor

Re: Jitter for PTP packets (DSCP: EF) too high

Don't you see any difference if you assign the Sync Master role to a Base Station connected to the same Switch that connects most of the others (Sync Slave) Base Stations?

The stations are distributed quite evenly across all switches (it does not make sense to have all DECT base stations in the same corner ;) )

As expected, average jitter is lower for stations on the same switch as the master, and higher for stations on 'distant' switches. But still there is a high varation within one switch.

parnassus
Honored Contributor

Re: Jitter for PTP packets (DSCP: EF) too high


@svhelden wrote:

One more note, I noticed that older HP switches had an option "ip igmp high-priority-forward", which seems to be gone from newer models. Is there any replacement for this command, or is the functionality gone completely?


Strange.

On latest HPE ArubaOS-Switch Software Multicast and Routing Guide for K/KA/KB.16.01 (May 2016) there is a clear reference (sheet 30) about IGMP traffic normal/high-priority forwarding feature with or without IP addressing configured on VLAN but then, looking at the command ip igmp options, there isn't (sheet 39)!

Considering your reported QoS settings:

qos dscp-map cs5 priority 7 name "Lync-40"
qos dscp-map ef name "Lync-46"
qos type-of-service diff-services
vlan 30
name "DECT"
ip igmp

I'm curious enough to ask you to show yours QoS DSCP mappings (with show qos vlan-priority and show qos dscp-map)...could you? I never stop learning.


I'm not an HPE Employee
Kudos and Accepted Solution banner
svhelden
Advisor

Re: Jitter for PTP packets (DSCP: EF) too high

I'm curious enough to ask you to show yours QoS DSCP mappings

Sure.

 

 

SHOW RUN

...
qos dscp-map cs5 priority 5 name "Skype-40"
qos dscp-map ef name "PTP-46"
qos type-of-service diff-services
...
vlan 30
name "DECT"
...
ip igmp
exit
...


SHOW QOS DSCP

DSCP Policies

DSCP CodePoint DSCP Value 802.1p tag DSCP Policy name
-------------- ---------- ----------- --------------------------------
000000 0 No-override cs0
000001 1 No-override
000010 2 No-override
000011 3 No-override
000100 4 No-override
000101 5 No-override
000110 6 No-override
000111 7 No-override
001000 8 No-override cs1
001001 9 No-override
001010 10 No-override af11
001011 11 No-override
001100 12 No-override af12
001101 13 No-override
001110 14 No-override af13
001111 15 No-override
010000 16 No-override cs2
010001 17 No-override
010010 18 No-override af21
010011 19 No-override
010100 20 No-override af22
010101 21 No-override
010110 22 No-override af23
010111 23 No-override
011000 24 No-override cs3
011001 25 No-override
011010 26 No-override af31
011011 27 No-override
011100 28 No-override af32
011101 29 No-override
011110 30 No-override af33
011111 31 No-override
100000 32 No-override cs4
100001 33 No-override
100010 34 No-override af41
100011 35 No-override
100100 36 No-override af42
100101 37 No-override
100110 38 No-override af43
100111 39 No-override
101000 40 5 Skype-40
101001 41 No-override
101010 42 No-override
101011 43 No-override
101100 44 No-override
101101 45 No-override
101110 46 7 PTP-46
101111 47 No-override
110000 48 No-override cs6
110001 49 No-override
110010 50 No-override
110011 51 No-override
110100 52 No-override
110101 53 No-override
110110 54 No-override
110111 55 No-override
111000 56 No-override cs7
111001 57 No-override
111010 58 No-override
111011 59 No-override
111100 60 No-override
111101 61 No-override
111110 62 No-override
111111 63 No-override

SHOW QOS VLAN

VLAN-based Prioritization

VLAN ID Apply rule | DSCP Priority
------- ----------- + ------ -----------
1 No-override | No-override
30 No-override | No-override

BadHabit
Advisor

Re: Jitter for PTP packets (DSCP: EF) too high

Hey all, actually I┬┤m experiencing similar problems with my Spectralink system, but with a Comware based Star-Topology (5900AF core, 5130 Access)...I tried to understand the PTP configuration in the Comware manuals...but actually anything I configured there had only one effect, that the stations lose sync immediately :-)

Any ideas?

16again
Respected Contributor

Re: Jitter for PTP packets (DSCP: EF) too high

Am I the only one, considering the Dect network requirements a sign of a badly designed system? 

parnassus
Honored Contributor

Re: Jitter for PTP packets (DSCP: EF) too high

I think you're not alone...but...are you asking that...with PTP related issues/restrictions [*] in mind or, let's say, totally in general about the whole technology (maybe compared to "pure DECT" or to "pure VoIP over WLAN")?

Just curious.

[*] we should keep in mind that synchronization between DECT IP Base Stations (which is the prerequisite for seamless handover withing the same DECT IP cluster) - normally on small deployments - happens "Over the Air" (also called "DECT based synchronization") [**] and this is more true if there aren't design limitations on the number of installable base stations (to grant the right overlapping) and about their placement on the entire covered site (to ensure the requested overlapping).

[**] for synchronization "Over the Air" (by means of DECT - so on range of 1.8/1.9 GHz - radio signals), the DECT IP Base Stations that synchronize each others must be able to exchange their management information (Beacons) flawlessly so those base stations must be located in areas where their radio cells overlap respecting the requested RSSI (Received Signal Strength Indication) not only between them and moving DECT mobile terminals but also between them too.


I'm not an HPE Employee
Kudos and Accepted Solution banner
Stephen A Swain
Advisor

Re: Jitter for PTP packets (DSCP: EF) too high

"In our topology, we have few cascaded switches"

Can you shorten the topology to a star, so all nodes have at most two hops to each other?

Daisy chaining or cascading switches will add latency and jitter at each hop, so reducing hops may help. I tend to try and reduce the hop count as much as possible.

Could you add more trunk links (lacp, etc) between the switches, and tune trunking to better utilise the links?

 

"Could it be related to VoIP traffic that shares the same priority?"

Probably. I would prefer to separate realtime, voice and video into different queues. As Skype for business often gets used with video conferencing, I'd suggest separating the traffic, as video conferencing will cause problems with purely realtime and voice traffic.

QoS on HP Procurve switches is based (AFAIK) on DWRR (Deficit Weighted Round Robin), and the highest priority queue 8 (ip prec 7) by default has a large percentage of time allococated. Each switch ASIC may have a slightly different queue style and default config, so I would review the queue differences between the models as well.

Maybe if you split realtime and voice/video into different queues (PTP queue 8, Voip queue 7), and if you adjust the queue config, that may help. You won't know unless you test it. By adding more time to Queue 7, you'll have to reduce time elsewhere down the queue list.

Have you captured the traffic and checked QoS DSCP marking is used/applied at each hop correctly, and whether IP PREC is used between switches on the trunks?

HP Procurve QoS Queueing operation depends upon IP PREC, and if the traffic has a DSCP marking, every switch in the path must also have a DSCP-MAP to IP PREC, so the queue works correctly on that traffic. End to end QoS requires all hops to have the same DSCP-MAP's, if you want the packet to classify and queue correctly. I'd be checking source and destination switches ports for vlan ip precedence to confirm (only kept on vlan tagged links, so won't show on untagged ports), so check the egress and ingress trunks.

There are some better queue statistics commands in later models and versions. Show int queues <int> on 5406R shows TX queue stats by default for example. This is more difficult on older switch models or ealier software versions.