Two shuttles connected end to end with an ethernet cable and synchronized with PTP emit signals, and a logic analyzer measures variation in those signals, similar to "Shuttle controlled A20 signal output jitter" measures
**Common test metadata:** Device: Shuttle, Linux kernel version: 4.19, Task priority: 98, Interval: 10000us, Boot Parameters: isolcpus,rcu_nocbs,irqaffinity, ETF qdisc delta: None, Device and processor load: None, Test duration: 0h10, Speed (Mb/s): 1000, ETF offset: 500us, Packet route: E2E, qdisc: pfifo_fast, Client device: A20, XDP: no
**Common test metadata:** Device: Shuttle, Linux kernel version: 4.19, Task priority: 98, Interval: 10000us, Boot Parameters: isolcpus,rcu_nocbs,irqaffinity, ETF qdisc delta: None, Device and processor load: None, Test duration: 0h10, Speed (Mb/s): 1000, ETF offset: 500us, Packet route: E2E, qdisc: pfifo_fast, Client device: A20, XDP: no, Callback delay: none
Minimum | Maximum | Average | Standard deviation | Lost packets
An UDP packet is periodically sent from one board to another using a real time thread. The receiving board calculates the intervals between the packets it receives, and sees how much it differs from the scheduled interval.
@@ -87,12 +88,14 @@ Minimum | Maximum | Average | Standard deviation | Lost packets
Two A20 boards are connected end to end with an ethernet cable to a shuttle. All devices are synchronized with PTP. The shuttle sends packets containing timestamps to the boards, and the boards emit a signal at the given timestamp. A logic analyzer measures the variation difference between the signals of the two boards.
**Common test metadata:** Device: A20, Linux kernel version: 5.6, Task priority: 98, Interval: 1000us, Boot Parameters: isolcpus,rcu_nocbs,irqaffinity, ETF qdisc delta: None, Device and processor load: None, Test duration: 0h20, Speed (Mb/s): 1000, ETF offset: 500us, Packet route: E2E, qdisc: pfifo_fast, Client device: Shuttle, XDP: no
**Common test metadata:** Device: A20, Linux kernel version: 5.6, Task priority: 98, Boot Parameters: isolcpus,rcu_nocbs,irqaffinity, ETF qdisc delta: None, Device and processor load: None, Speed (Mb/s): 1000, ETF offset: 500us, Packet route: E2E, qdisc: pfifo_fast, XDP: no
Minimum | Maximum | Average | Standard deviation | Lost packets
{"measure_sets":[{"measure_type":"shuttle_signal_jitter","props_names":["Shuttle signal output jitter"],"units":["us"],"middle":0,"props":[[296,321,309,295,311,304,285,291,301,284,307,300,283,294,299,275,269,293,297,282,276,325,281,298,296,273,292,268,297,256,271,310,287,285,302,277,272,283,270,260,271,276,270,280,279,269,275,275,278,282,277,246,273,279,257,251,252,261,275,279,261,244,252,256,260,271,254,258,245,247,255,235,222,235,270,227,229,228,231,224,225,225,207,225,210,211,196,214,206,195,186,219,199,194,202,192,177,201,171,175,181,173,180,177,169,169,160,172,177,149,172,162,153,153,146,153,162,158,148,143,151,143,120,124,141,131,129,131,120,131,132,132,99,134,135,104,110,119,107,112,130,107,96,106,114,101,111,112,100,107,110,101,95,110,102,105,106,102,105,118,120,93,108,100,110,114,111,114,119,106,106,103,125,129,115,130,137,126,117,139,136,118,147,135,128,149,150,149,151,151,151,144,162,156,153,153,159,155,144,162,180,154,191,167,177,179,172,171,180,189,160,177,183,196,183,193,190,198,198,197,195,178,189,208,190,208,211,206,198,180,192,199,211,212,197,223,221,210,203,205,224,207,200,215,216,222,224,228,217,225,205,215,206,219,209,203,210,193,201,218,202,181,199,191,196,198,174,181,170,190,186,175,162,167,171,153,163,154,157,145,154,148,145,142,142,159,138,131,141,133,126,122,133,118,122,123,111,112,123,97,94,101,111,106,97,108,95,88,93,92,74,85,91,68,93,79,71,68,70,64,61,64,61,56,54,56,53,45,54,42,40,45,41,29,42,27,31,18,23,20,24,26,22,19,13,16,9,18,8,10,17,10,8,4,7,4,1,2,4,1,6,4,2,1,0,1,0,0,2,0,0,1,0,0,1]],"props_type":"histogram","metadata":{"dev":"Shuttle","ker":"4.19","prio":"98","i":"10000us","boot_p":"isolcpus,rcu_nocbs,irqaffinity","delta":"None","load":"None","duration":"0h10","speed":"1000","etf_offset":"500us","route":"E2E","qdisc":"pfifo_fast","client":"A20","XDP":"no","lost_packets":"0"}}]}
\ No newline at end of file
{"measure_sets":[{"measure_type":"shuttle_signal_jitter","props_names":["Shuttle signal output jitter"],"units":["us"],"middle":0,"props":[[296,321,309,295,311,304,285,291,301,284,307,300,283,294,299,275,269,293,297,282,276,325,281,298,296,273,292,268,297,256,271,310,287,285,302,277,272,283,270,260,271,276,270,280,279,269,275,275,278,282,277,246,273,279,257,251,252,261,275,279,261,244,252,256,260,271,254,258,245,247,255,235,222,235,270,227,229,228,231,224,225,225,207,225,210,211,196,214,206,195,186,219,199,194,202,192,177,201,171,175,181,173,180,177,169,169,160,172,177,149,172,162,153,153,146,153,162,158,148,143,151,143,120,124,141,131,129,131,120,131,132,132,99,134,135,104,110,119,107,112,130,107,96,106,114,101,111,112,100,107,110,101,95,110,102,105,106,102,105,118,120,93,108,100,110,114,111,114,119,106,106,103,125,129,115,130,137,126,117,139,136,118,147,135,128,149,150,149,151,151,151,144,162,156,153,153,159,155,144,162,180,154,191,167,177,179,172,171,180,189,160,177,183,196,183,193,190,198,198,197,195,178,189,208,190,208,211,206,198,180,192,199,211,212,197,223,221,210,203,205,224,207,200,215,216,222,224,228,217,225,205,215,206,219,209,203,210,193,201,218,202,181,199,191,196,198,174,181,170,190,186,175,162,167,171,153,163,154,157,145,154,148,145,142,142,159,138,131,141,133,126,122,133,118,122,123,111,112,123,97,94,101,111,106,97,108,95,88,93,92,74,85,91,68,93,79,71,68,70,64,61,64,61,56,54,56,53,45,54,42,40,45,41,29,42,27,31,18,23,20,24,26,22,19,13,16,9,18,8,10,17,10,8,4,7,4,1,2,4,1,6,4,2,1,0,1,0,0,2,0,0,1,0,0,1]],"props_type":"histogram","metadata":{"dev":"Shuttle","ker":"4.19","prio":"98","i":"10000us","boot_p":"isolcpus,rcu_nocbs,irqaffinity","delta":"None","load":"None","duration":"0h10","speed":"1000","etf_offset":"500us","route":"E2E","qdisc":"pfifo_fast","client":"A20","XDP":"no","delay":"none","lost_packets":"0"}}]}
Description: Uses cyclictest from the rt-tests test suite to measure wake-up latency. A real-time thread is run on CPU1, and wakes up at a regular interval (specified by the interval parameter) using clock_nanosleep. It then uses clock_gettime and computes the difference between the scheduled wake-up time and the effective wake-up time measured by clock_gettime.
The command used is: cyclictest -p `prio` -a1 -t1 -n -h 200 -q -i `interval`
##packet_jitter
Ignored metadata:
Ignored metadata: delay
Description: An UDP packet is periodically sent from one board to another using a real time thread. The receiving board calculates the intervals between the packets it receives, and sees how much it differs from the scheduled interval.
##packet_rx_timestamps
Ignored metadata:
Ignored metadata: delay
Description: An UDP packet is periodically sent from one board to another using a real time thread. The receiving board uses the SO_TIMESTAMPING option to see when the packet entered the kernel, and generates timestamps with clock_gettime once the packets enters userspace to compute the time the packet spent in kernel space.
##packet_tx_timestamps
Ignored metadata:
Ignored metadata: delay
Description: Similar to packet_rx_timestamps, but on the transmitting board.
##packet_rtt
Ignored metadata:
Ignored metadata: delay
Description: A UDP packet is periodically sent from one board to another and sent back as soon as it arrives using a real time thread. The round trip time is computed with clock_gettime on the transmitting board.
##shuttle_a20_signal_jitter
Ignored metadata:
Ignored metadata: dev,client
Description: Two A20 boards are connected end to end with an ethernet cable to a shuttle. All devices are synchronized with PTP. The shuttle sends packets containing timestamps to the boards, and the boards emit a signal at the given timestamp. A logic analyzer measures the variation difference between the signals of the two boards.
##shuttle_signal_jitter
Ignored metadata:
Ignored metadata: delay
Description: Two shuttles connected end to end with an ethernet cable and synchronized with PTP emit signals, and a logic analyzer measures variation in those signals, similar to "Shuttle controlled A20 signal output jitter" measures
##ping_interval
Ignored metadata: delta,qdisc,etf_offset
Ignored metadata: delta,qdisc,etf_offset,delay
Description: Ping RTT from A20 to shuttle, with fixed interval