× NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
× Introducing the new Orbi 770 Series Mesh System. To learn more click here.
Orbi WiFi 7 RBE973
Reply

Re: Netgear switch VLAN PCP support

newgear12
Aspirant

Netgear switch VLAN PCP support

Hi there, I'm wondering if theGS108 Netgear switch has hardware support for the PCP in the VLAN tag? My guess is no, but I want to hear from the experts here.

 

Below is my experiments:

 

Setup:

I enabled advanced 802.1Q VLAN configuration for my GS108Ev3 switch. In the netgear switch GUI in the browser, I added VLAN 100 group with all the ports in the member list, and all the ports are in "Tag All" mode for VID 100. The PVID list is in the default state (all ports PVID is set to 1).

 

I created VLAN interfaces on my two linux mahines, and configured vlan qos on Linux to set PCP 5 to streams egress at the vlan interfece. So streams going through the VLAN interfaces shall have PCP value 5.

 

Then I start testing using iperf.

 

Results:

I stream iperf UDP traffic from one Linux machine to the other, via the Netgear switch. There's one normal UDP stream and one VLAN tagged UDP stream, both transmitted using the one same ethernet cable. In wireshark I see the packets going through the VLAN interfaces have 802.1Q tag and the priority value is 5. Correct.

Problem:

I don't see any prioritized effect in the iperf stream performance. Both normal stream and VLAN tagged stream equally share the bandwidth. To be specific, I have one 100Mb link between the two linux machines, and I stream one normal 120 Mbps UDP stream and one VID 100 UDP stream, also at 120Mbps. The streams saturated the link. I would expect the VLAN tagged stream to take up more bandwidth and have less packet loss rate due to its high priority value (5 instead of 0 by default). But it is not the case. Therefore I guess the Netgear switch does not really prioritize the stream based on the PCP value inside the VLAN tag at the hardware level. Am I right about this?

 

Thanks in advance!

 

 

Model: GS108Ev3|ProSafe 8 ports Gigabit Plus switch
Message 1 of 11
schumaku
Guru

Re: Netgear switch VLAN PCP support

The switch core has just a smaller amount of queues as common in this switch world, something like four forwarding Queues in fact, something like High, Medium, Normal, and Low.

In 802.1q and DSCP, settings, we have no control in the Web UI about the 802.1q priority -> Queue resp. DSCP  Class Selector (CS)/Assured Forwarding (AF)/Expedited Forwarding (EF) -> Queue mapping.

In my opinion, the documentation and ideally the on-line help should hold a reference to the implied queue mappings. This is something missing all over the documentation of the simple Web Managed (earlier designate Smart Managed Plus).

In your test case, I would assume a 802.1p PCP of 5 should make a difference from the default 1 (or 0) however.

Regards,
-Kurt

PS. I'll requesta moderator to move this thread to the Business -> Smart Plus And Smart Pro Managed Switches Forum section (even if the same question could apply to the GS808E/GS810EMX models here).

Message 2 of 11
newgear12
Aspirant

Re: Netgear switch VLAN PCP support

Thanks for the reply. A small update.

 

I found out if I don't set any port speed limit on the Netgear switch, then the PCP prioritization works for the VLAN tagged stream. However, as soon as I limit the egress port on Netgear from the default 1Gbps to 100Mbps (which I need for my experiments), then the prioritization effect is gone. The two UDP streams start sharing the bandwidth equally again.

 

In short, the port speed limit config overwrites the previous queue mapping config, although the PCP value is still set to 5.

 

It would be really helpful if the issue can be resolved.

Message 3 of 11
schumaku
Guru

Re: Netgear switch VLAN PCP support

No idea the simple configureable core does offer this combination. @YeZ please.

Message 4 of 11
Mash25
Aspirant

Re: Netgear switch VLAN PCP support

 I believe the PCP (Priority Code Point) field you are referring to is applicable to only VLAN ... That Netgear switch does support vlans.

Message 5 of 11
Mash25
Aspirant

Re: Netgear switch VLAN PCP support

Thanks....


@Mash25 wrote:

 I believe the PCP (Priority Code Point) field you are referring to is applicable to only VLAN ... That Netgear switch does support vlans.


feed.kroger.com

Message 6 of 11
WilsonS
NETGEAR Expert

Re: Netgear switch VLAN PCP support

Hi newgear12,

I cannot reproduce the situation you mentioned.

Could you help to provide the following items? It will help to reproduce the situtation. Thanks

 

1, provide 2 MAC address of the 2 PCs that send UDP streams. Indicate which PC you expect to get higher priority and bandwidth. 

 

2, enable mirror features on GS108Ev3. Send the 2 UDP streams into GS108Ev3 as you did. Use Wireshark to capture 2 UDP streams from GS108Ev3. Provide packet capture file. 

 

3, provide topology chart, which PC is connected to which port, including sender PCs and receiver PC. 

 

4, provide your configuraiton file 

Message 7 of 11
newgear12
Aspirant

Re: Netgear switch VLAN PCP support

Hi WilsonS, thanks for the reply.

What I tried to experiment with is to reproduce the setup shown here:
https://github.com/NXP/dds-tsn/ 

I wanted to use the Netgear switch in the setup instead of the specific TSN ethernet switch. But the prioritization didn't work, which I described earlier.

 

Sorry I cannot provide the information you asked in short term, because of other urgent things.

 

But I'll be interested to know if you can create two iperf streams with PCP & link speed limit configuration as described in the repo, and see the bandwidth difference of the two streams.

 

Will provide you the documents once I get around working on it again. 

Message 8 of 11
schumaku
Guru

Re: Netgear switch VLAN PCP support

The priortisiation does work, unless you enforce the hard speed limit - this isn't a IEEE 802.1Qav Credit-Based Shaper (CBS) as shown in that experiment.

Message 9 of 11
newgear12
Aspirant

Re: Netgear switch VLAN PCP support

You are right. The hard speed limit is not used as a CBS, but simply to make the PCP effect much more visible in the Gazebo simulator.

 

You are also right about the issue I have. And I think the netgear switch should support the PCP + speed limit configuration. They are not two contradictory settings.

Message 10 of 11
schumaku
Guru

Re: Netgear switch VLAN PCP support

Scratch the port speed limit and leave it open, and use a network cable with just two pairs - this will make the switch auto-negotiate to max 100 Mb/s. Now re-test.

 


@newgear12 wrote:

And I think the netgear switch should support the PCP + speed limit configuration. They are not two contradictory settings.


Agree on that, exactly the first thought I had, too. That's why I had challenged Netgear before on this.

 

The point is that this is some 0.00x% use case, more academic or lab style then real networking.

Message 11 of 11
Discussion stats
  • 10 replies
  • 4126 views
  • 0 kudos
  • 4 in conversation
Announcements

Orbi 770 Series