Exploring Virtual Links, Bandwidth Allocation Gap and Max Frame Size in AFDX

Below is a browsable image of the model.

AFDX_Library_Demo_Single_Switchmodel<h2>AFDX_Tx_Rx</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>VLAN_Name</td><td>&quot;VLAN2&quot;</td><td>&quot;VLAN2&quot;</td></tr><tr><td>_hideName</td><td>true</td><td>true</td></tr><tr><td>_explanation</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td></tr><tr><td>AFDX_Switch_ID</td><td>2</td><td>2</td></tr><tr><td>TX_RX_Name</td><td>&quot;AFDX_4&quot;</td><td>&quot;AFDX_4&quot;</td></tr><tr><td>_flipPortsVertical</td><td>true</td><td>true</td></tr><tr><td>_flipPortsHorizontal</td><td>false</td><td>false</td></tr><tr><td>_rotatePorts</td><td>180</td><td>180</td></tr></table><h2>AFDXConfig</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Routing_Table</td><td>ID Source_Node  Destination_Node  \tDistance  Speed_Mbps \tDuplex  ;       \\n 0 AFDX_1_1_A           Switch_A_1\t 10.0      100.0    true\t; \\n 1 AFDX_2_1_A           Switch_A_1       10.0      100.0    true \t; \\n 2 AFDX_3_1_A           Switch_A_1       10.0      100.0    true\t;\\n 3 AFDX_4_1_A           Switch_A_1       10.0      100.0    true\t; \\n 4 AFDX_5_1_A           Switch_A_1\t 10.0      100.0    true \t;\\n 5 AFDX_6_1_A           Switch_A_1       10.0      100.0    true\t;\\n 6 AFDX_1_1_B           Switch_B_1\t 10.0      100.0    true\t; \\n 7 AFDX_2_1_B           Switch_B_1       10.0      100.0    true \t; \\n 8 AFDX_3_1_B           Switch_B_1       10.0      100.0    true\t;\\n 9 AFDX_4_1_B           Switch_B_1       10.0      100.0    true\t; \\n 10 AFDX_5_1_B          Switch_B_1\t 10.0      100.0    true\t;\\n 11 AFDX_6_1_B          Switch_B_1       10.0      100.0    true\t;\\n\\n 12 AFDX_1_2_A           Switch_A_2\t 10.0      100.0    true\t; \\n 13 AFDX_2_2_A           Switch_A_2       10.0      100.0    true \t; \\n 14 AFDX_3_2_A           Switch_A_2       10.0      100.0    true\t;\\n 15 AFDX_4_2_A           Switch_A_2       10.0      100.0    true\t; \\n16 AFDX_1_2_B           Switch_B_2\t 10.0      100.0    true\t; \\n 17 AFDX_2_2_B           Switch_B_2       10.0      100.0    true \t; \\n 18 AFDX_3_2_B           Switch_B_2       10.0      100.0    true\t;\\n 19 AFDX_4_2_B           Switch_B_2       10.0      100.0    true\t; \\n</td><td>&quot;ID Source_Node  Destination_Node  \tDistance  Speed_Mbps \tDuplex  ;       \\n 0 AFDX_1_1_A           Switch_A_1\t 10.0      100.0    true\t; \\n 1 AFDX_2_1_A           Switch_A_1       10.0      100.0    true \t; \\n 2 AFDX_3_1_A           Switch_A_1       10.0      100.0    true\t;\\n 3 AFDX_4_1_A           Switch_A_1       10.0      100.0    true\t; \\n 4 AFDX_5_1_A           Switch_A_1\t 10.0      100.0    true \t;\\n 5 AFDX_6_1_A           Switch_A_1       10.0      100.0    true\t;\\n 6 AFDX_1_1_B           Switch_B_1\t 10.0      100.0    true\t; \\n 7 AFDX_2_1_B           Switch_B_1       10.0      100.0    true \t; \\n 8 AFDX_3_1_B           Switch_B_1       10.0      100.0    true\t;\\n 9 AFDX_4_1_B           Switch_B_1       10.0      100.0    true\t; \\n 10 AFDX_5_1_B          Switch_B_1\t 10.0      100.0    true\t;\\n 11 AFDX_6_1_B          Switch_B_1       10.0      100.0    true\t;\\n\\n 12 AFDX_1_2_A           Switch_A_2\t 10.0      100.0    true\t; \\n 13 AFDX_2_2_A           Switch_A_2       10.0      100.0    true \t; \\n 14 AFDX_3_2_A           Switch_A_2       10.0      100.0    true\t;\\n 15 AFDX_4_2_A           Switch_A_2       10.0      100.0    true\t; \\n16 AFDX_1_2_B           Switch_B_2\t 10.0      100.0    true\t; \\n 17 AFDX_2_2_B           Switch_B_2       10.0      100.0    true \t; \\n 18 AFDX_3_2_B           Switch_B_2       10.0      100.0    true\t;\\n 19 AFDX_4_2_B           Switch_B_2       10.0      100.0    true\t; \\n&quot;</td></tr><tr><td>_explanation</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Config</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Config</td></tr></table><h2>Latency_1</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>fillOnWrapup</td><td>true</td><td>true</td></tr><tr><td>legend</td><td>End_System1, End_System2</td><td>End_System1, End_System2</td></tr><tr><td>startingDataset</td><td>0</td><td>0</td></tr><tr><td>fileName</td><td>Enter Filename to save plot</td><td>&quot;Enter Filename to save plot&quot;</td></tr><tr><td>viewPlot</td><td>true</td><td>true</td></tr><tr><td>savePlot</td><td>false</td><td>false</td></tr></table><h2>AFDX_Tx_Rx7</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>VLAN_Name</td><td>&quot;VLAN2&quot;</td><td>&quot;VLAN2&quot;</td></tr><tr><td>_hideName</td><td>true</td><td>true</td></tr><tr><td>_explanation</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td></tr><tr><td>AFDX_Switch_ID</td><td>2</td><td>2</td></tr><tr><td>TX_RX_Name</td><td>&quot;AFDX_3&quot;</td><td>&quot;AFDX_3&quot;</td></tr><tr><td>_flipPortsVertical</td><td>true</td><td>true</td></tr><tr><td>_flipPortsHorizontal</td><td>false</td><td>false</td></tr><tr><td>_rotatePorts</td><td>180</td><td>180</td></tr></table><h2>AFDX_Tx_Rx5</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>VLAN_Name</td><td>&quot;VLAN2&quot;</td><td>&quot;VLAN2&quot;</td></tr><tr><td>_hideName</td><td>true</td><td>true</td></tr><tr><td>_explanation</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td></tr><tr><td>AFDX_Switch_ID</td><td>2</td><td>2</td></tr><tr><td>TX_RX_Name</td><td>&quot;AFDX_2&quot;</td><td>&quot;AFDX_2&quot;</td></tr></table><h2>AFDX_Tx_Rx3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>VLAN_Name</td><td>&quot;VLAN2&quot;</td><td>&quot;VLAN2&quot;</td></tr><tr><td>_hideName</td><td>true</td><td>true</td></tr><tr><td>_explanation</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td><td>Interfaces and Buses-&gt;AFDX-&gt;AFDX_Node</td></tr><tr><td>AFDX_Switch_ID</td><td>2</td><td>2</td></tr><tr><td>TX_RX_Name</td><td>&quot;AFDX_1&quot;</td><td>&quot;AFDX_1&quot;</td></tr></table><h2>AFDX_Switch2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>_hideName</td><td>true</td><td>true</td></tr><tr><td>AFDX_Switch_ID</td><td>2</td><td>2</td></tr></table><h2>TextDisplay2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>rowsDisplayed</td><td>10</td><td>10</td></tr><tr><td>columnsDisplayed</td><td>40</td><td>40</td></tr><tr><td>suppressBlankLines</td><td>false</td><td>false</td></tr><tr><td>title</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>ViewText</td><td>true</td><td>true</td></tr><tr><td>saveText</td><td>false</td><td>false</td></tr><tr><td>fileName</td><td>Enter Filename to save text</td><td>&quot;Enter Filename to save text&quot;</td></tr><tr><td>Append_Time</td><td>true</td><td>true</td></tr></table><h2>Latency</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>fillOnWrapup</td><td>true</td><td>true</td></tr><tr><td>legend</td><td>End_System3, End_System4</td><td>End_System3, End_System4</td></tr><tr><td>startingDataset</td><td>0</td><td>0</td></tr><tr><td>fileName</td><td>Enter Filename to save plot</td><td>&quot;Enter Filename to save plot&quot;</td></tr><tr><td>viewPlot</td><td>true</td><td>true</td></tr><tr><td>savePlot</td><td>false</td><td>false</td></tr></table><h2>AFDX_EndSystem8</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Traffic_Table</td><td>&quot;Traffic&quot;</td><td>&quot;Traffic&quot;</td></tr><tr><td>Device_ID</td><td>4</td><td>4</td></tr></table><h2>AFDX_EndSystem7</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Traffic_Table</td><td>&quot;Traffic&quot;</td><td>&quot;Traffic&quot;</td></tr><tr><td>Device_ID</td><td>3</td><td>3</td></tr></table><h2>AFDX_EndSystem4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Traffic_Table</td><td>&quot;Traffic&quot;</td><td>&quot;Traffic&quot;</td></tr><tr><td>Device_ID</td><td>2</td><td>2</td></tr></table><h2>AFDX_EndSystem3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Traffic_Table</td><td>&quot;Traffic&quot;</td><td>&quot;Traffic&quot;</td></tr><tr><td>Device_ID</td><td>1</td><td>1</td></tr></table>

Details:

Purpose of this example model is to explore impact of modifications in number of Virtual Links, BAG values and data size of a Ethernet traffic on the AFDX based network. Model has five virtual links modeled using traffic generators and a lookup table that helps in obtaining VLAN, SubVLAN, BAG, LMax/ Max Frame Size and size of data. VLAN to sub VLAN mapping, jitter analysis and arbitration is performed using VisualSim Scripting language in Smart_Controller Block.



The reports are generated for capturing details on Jitter values related to last packet and VLAN Processing time. User can update values for VLAN, BAG, LMax and Bytes fields in Node_Info table. Sample details in "Node_Info" is as below

ID  BLOCK                       Node  SubVLAN      VLAN  BAG         LMax      Que_N  Bytes  ;      
 1  Node1_Sub1_VL1     1            1                     1      0.5e-3   256          1             64  ;
 2  Node2_Sub2_VL1     2            2                     1      0.5e-3   256          2             64  ;
 3  Node3_Sub3_VL1     3            3                     1      0.5e-3   256          3             64  ;
 4  Node4_Sub1_VL2     4            1                     2      1.0e-3   512          4             64  ;
 5  Node5_Sub2_VL2     5            2                     2      1.0e-3   512          5             64  ;

Sample Reports are given below




1. VLAN and SubVLAN activity

2. Jitter Plotter
As we have five VL's, we are plotting Jitter for five Virtual Links. Red corresponds to VL1, Blue Corresponds to VL2, Cyan corresponds to VL3, Orange Corresponds to VL4 and Cadet Blue corresponds to VL5.