Embedded Connectivity
Intel network controllers, Firmware, and drivers support systems
Announcements
For support on Altera products please visit the Altera Community Forums.
939 Discussions

I did not see the 'Bounded Low-latency Transmit/Receive' of 616446 in the running results.

haohao11
Beginner
43 Views

vs1A:

root@robot-008:/home/robot/TSN/iotg_tsn_ref_sw# sudo sysctl -w kernel.sched_rt_runtime_us=-1
sudo ./run.sh i225 enp2s0 vs1a setup
kernel.sched_rt_runtime_us = -1
Run.sh selected: vs1a
 
/var/log folder for logging exists.
Mapping socket priority N to VLAN priority N for enp2s0
Turning off EEE
Setting IRQ affinity based on /home/robot/TSN/iotg_tsn_ref_sw/shell/../common/irq_affinity_4c_4TxRx.map
Echo-ing 0x01 > /proc/irq/132/smp_affinity --> enp2s0:TxRx-0 
Echo-ing 0x04 > /proc/irq/134/smp_affinity --> enp2s0:TxRx-2 
Echo-ing 0x08 > /proc/irq/135/smp_affinity --> enp2s0:TxRx-3 
Running PTP4L & PHC2SYS
Using gPTP_i225-1G.cfg
Run: tc qdisc replace dev enp2s0 parent root handle 100 taprio num_tc 4 map 3 1 0 2 3 3 3 3 3 3 3 3 3 3 3 3 queues  1@0 1@1 1@2 1@3  base-time 1777435629042661374 sched-entry S 0F 1000000 flags 0x2
Warning: sch_taprio: Size table not specified, frame length estimations may be inaccurate.
Run: tc qdisc replace dev enp2s0 parent 100:3 etf  clockid CLOCK_TAI delta 700000 offload  
Adding flow-type filter for ptp packet to q-0
ethtool -N enp2s0 flow-type ether proto 0x88f7 queue 0
Added rule with ID 64
Wait 30 sec for PTP to sync
root@robot-008:/home/robot/TSN/iotg_tsn_ref_sw# sudo ./run.sh i225 enp2s0 vs1a  run
Run.sh selected: vs1a
 
/var/log folder for logging exists.
'./afpkt-txtstamps.txt' -> '/tmp/afpkt-txtstamps.txt'
'./afxdp-txtstamps.txt' -> '/tmp/afxdp-txtstamps.txt'
PHASE 1: AF_PACKET transmit (510 seconds)
CMD: ./txrx-tsn -i enp2s0 -PtTq 3 -n 500000 -l 64 -y 1000000 -e 700000 -o 20000
pid 6240's current affinity mask: f
pid 6240's new affinity mask: 4
PHASE 2: Skipped. Currently i225 does not support AF_XDP.
Done!
---------------------------------------------------------------------------------------
PHC2SYS offset min -2298 
max 2725
delay  min 2917 
max 5365
waiting:         0
failed:          0
PTP4L   rms    min 1 
max 18
MCLK_SELECTED:   0
INIT_COMPLETE:   0
FAULT_DETECTED:  0
UNCALIBRATED:    0
link down:       0
timed out:       0
temporal:       0
UTCoffset:       0
 
vs1b:
root@i37100u-Default-string:/home/i3-7100u/TSN/iotg_tsn_ref_sw# sysctl -w kernel.sched_rt_runtime_us=-1
./run.sh i225 enp6s0 vs1b setup
kernel.sched_rt_runtime_us = -1
Run.sh selected: vs1b
 
/var/log folder for logging exists.
Mapping socket priority N to VLAN priority N for enp6s0
Turning off EEE
Setting IRQ affinity based on /home/i3-7100u/TSN/iotg_tsn_ref_sw/shell/../common/irq_affinity_4c_4TxRx.map
Echo-ing 0x01 > /proc/irq/135/smp_affinity --> enp6s0:TxRx-0 
Echo-ing 0x04 > /proc/irq/137/smp_affinity --> enp6s0:TxRx-2 
Echo-ing 0x08 > /proc/irq/138/smp_affinity --> enp6s0:TxRx-3 
Running PTP4L & PHC2SYS
Using gPTP_i225-1G.cfg
Run: tc qdisc replace dev enp6s0 parent root handle 100 mqprio  num_tc 4 map 3 1 0 2 3 3 3 3 3 3 3 3 3 3 3 3 queues  1@0 1@1 1@2 1@3  hw 0
Adding flow-type for ptp packet to q-0
ethtool -N enp6s0 flow-type ether proto 0x88f7 queue 0
Added rule with ID 64
Adding flow-type for txrx-tsn packet vlan priority 0x6000 to q-2
ethtool -N enp6s0 flow-type ether vlan 0x6000 vlan-mask 0x1FFF action 2
Added rule with ID 63
Adding flow-type for txrx-tsn packet priority 0x4000 to q-2
ethtool -N enp6s0 flow-type ether vlan 0x4000 vlan-mask 0x1FFF action 2
Added rule with ID 62
Adding flow-type for iperf3 packet to q-3
ethtool -N enp6s0 flow-type ether proto 0x0800 queue 3
Added rule with ID 61
Wait 30 sec for PTP to sync
root@i37100u-Default-string:/home/i3-7100u/TSN/iotg_tsn_ref_sw# ./run.sh i225 enp6s0 vs1b run
Run.sh selected: vs1b
 
/var/log folder for logging exists.
'./afpkt-rxtstamps.txt' -> '/tmp/afpkt-rxtstamps.txt'
'./afxdp-rxtstamps.txt' -> '/tmp/afxdp-rxtstamps.txt'
[Kernel_7.0_XDP] De-activate napi busy polling.
PHASE 1: AF_PACKET receive (510 seconds)
CMD: ./txrx-tsn -Pri enp6s0 -q 2 -n 500000
pid 12962's current affinity mask: f
pid 12962's new affinity mask: 8
Info: SIGINT triggered.
PHASE 2: AF_XDP receive 200 seconds)
[Kernel_7.0_XDP_i225] Disable coalescence.
[Kernel_7.0_XDP] Napi polling is not needed.
CMD: ./txrx-tsn -X -z -w -ri enp6s0 -q 2 -n 500000
pid 13174's current affinity mask: f
pid 13174's new affinity mask: 8
Info: SIGINT triggered.
[Kernel_7.0_XDP] De-activate napi busy polling.
PHASE 3: Calculating..
afpkt-rxtstamps.txt has 494127 lines
Results  Max      Avg     Min     Expected  Received  Duplicates  Losses
U2U      4532030  742225  560503  500000    494127    0           5873
Too little data afxdp-rxtstamps.txt has only 0 lines
---------------------------------------------------------------------------------------
PHC2SYS offset min -1433 
max 1675
delay  min 2969 
max 5261
waiting:         0
failed:          0
 
Here are the results of my operation. I am using i225 and have set XDP_MODE="NA" to disable it. Why don't I see the image on page 103 of document 616446?
 
 
0 Kudos
0 Replies
Reply