Commit 1bd906e6 authored by Joanne Hugé's avatar Joanne Hugé

Add shuttle E2E signal jitter measures

parent d9f7e20a
......@@ -547,6 +547,12 @@ class MeasureSet:
elif "RTT histogram" in line:
measure_set['measure_type'] = 'packet_rtt'
measure_set['props_names'] = ['Packet round trip time']
elif "Shuttle-A20" in line:
measure_set['measure_type'] = 'shuttle_a20_signal_jitter'
measure_set['props_names'] = ['Shuttle controlled A20 signal output jitter']
elif "Shuttle" in line:
measure_set['measure_type'] = 'shuttle_signal_jitter'
measure_set['props_names'] = ['Shuttle signal output jitter']
elif "Histogram" in line:
measure_set['measure_type'] = 'cyclictest_wake-up_latency'
measure_set['props_names'] = ['Wake-up latency']
......
......@@ -35,4 +35,18 @@ A20, 5.6, 3h40 (66177970) | 8.0000us | 45.0000us | 8
![alt text](measures/graphs/cyclictest_wake-up_latencyWake-up latency.png "cyclictest_wake-up_latency Graph")
### shuttle_signal_jitter results
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
Minimum | Maximum | Average | Standard deviation | Lost packets
-------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | ------------
**Shuttle signal output jitter** | **Shuttle signal output jitter** | **Shuttle signal output jitter** | **Shuttle signal output jitter** |
0.0000us | 374.0000us | 141.6740us | 97.6712us | 0
![alt text](measures/graphs/shuttle_signal_jitterShuttle signal output jitter.png "shuttle_signal_jitter Graph")
{"cyclictest_wake-up_latency": {"ids": [3, 4], "next_id": 5}}
\ No newline at end of file
{"cyclictest_wake-up_latency": {"ids": [3, 4], "next_id": 5}, "shuttle_signal_jitter": {"ids": [0], "next_id": 1}}
\ 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", "lost_packets": "0"}}]}
\ No newline at end of file
......@@ -102,3 +102,13 @@ Description: Similar to packet_rx_timestamps, but on the transmitting board.
Ignored metadata:
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:
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:
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
......@@ -104,7 +104,7 @@ def generateHistogram(deltas):
histogram[d] += 1
for i,h in enumerate(histogram):
print("{:06d} {:15d}".format(i,h))
print("{:06d} {:015d}".format(i,h))
print("# Min: {}".format(min_d))
print("# Max: {}".format(max_d))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment