Commit 70312c5c authored by Joanne Hugé's avatar Joanne Hugé

Add new packet_recv_timestamp measure

parent f02e943f
......@@ -62,7 +62,21 @@ Metadata | Minimum | Maximum | Average |
160us, 0h56, etf, 600us (3393011) | -229.0000us | 204.0000us | 18.6086us | 23.8092us
300us, 2h17, etf, 600us (8240231) | -255.0000us | 175.0000us | 11.1936us | 13.4745us
none, 0h51, pfifo_fast, none (3077562) | -324.0000us | 162.0000us | 8.5575us | 13.0667us
160us, 0h59, etf, 600us (3565860) | -172.0000us | 144.0000us | 10.6586us | 13.4834us
![alt text](measures/graphs/packet_jitterjitter.png "packet_jitter Graph")
### packet_recv_timestamps results
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 and user space.
**Common test metadata:** Linux kernel version: 4.19, Boot Parameters: isolcpus, Interval: 1000us, ETF qdisc delta: 160us, Task priority: 99, Device and processor load: ssh, Test duration: 0h59, qdisc: etf, etf_offset: 600us, route: switch
Minimum | Maximum | Average | Standard deviation
---------------- | ---------------- | ---------------- | ------------------
**kernel_space** | **kernel_space** | **kernel_space** | **kernel_space**
34.0000us | 189.0000us | 39.9677us | 4.1425us
![alt text](measures/graphs/packet_recv_timestampskernel_space.png "packet_recv_timestamps Graph")
{"cyclictest_wake-up_latency": {"ids": [25, 26, 28, 30, 31, 32], "next_id": 33}, "packet_rtt": {"ids": [0], "next_id": 1}, "packet_jitter": {"ids": [0, 1, 2], "next_id": 3}}
\ No newline at end of file
{"cyclictest_wake-up_latency": {"ids": [25, 26, 28, 30, 31, 32], "next_id": 33}, "packet_rtt": {"ids": [0], "next_id": 1}, "packet_jitter": {"ids": [0, 1, 2, 3], "next_id": 4}, "packet_recv_timestamps": {"ids": [0], "next_id": 1}}
\ No newline at end of file
{"measure_sets": [{"measure_type": "packet_jitter", "props_names": ["jitter"], "units": ["us"], "middle": 172, "props": [[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 1, 2, 2, 2, 1, 3, 1, 1, 2, 1, 0, 4, 2, 1, 0, 3, 3, 5, 5, 4, 6, 7, 9, 11, 11, 13, 18, 15, 22, 29, 20, 32, 34, 31, 33, 32, 40, 32, 30, 35, 33, 28, 35, 29, 23, 31, 35, 40, 46, 38, 47, 64, 73, 75, 109, 100, 120, 150, 169, 181, 243, 337, 386, 469, 587, 794, 950, 1127, 1363, 1501, 1727, 1798, 1853, 1941, 1923, 1912, 2007, 2078, 2384, 2836, 3398, 4221, 5205, 6044, 7109, 8463, 10086, 11975, 14275, 17551, 22806, 28951, 37162, 48191, 60910, 74764, 89796, 104616, 115350, 120157, 117550, 107552, 91034, 76441, 67401, 64546, 67199, 74151, 84929, 96339, 103048, 106069, 105543, 104979, 105206, 108110, 112784, 116245, 110793, 100079, 85697, 70026, 56156, 47761, 45337, 49710, 55953, 61317, 61731, 54780, 43806, 32100, 21956, 15237, 11502, 9854, 8904, 7886, 6951, 6135, 5492, 4942, 4470, 4040, 3854, 3516, 3230, 2782, 2650, 2449, 2413, 2592, 2705, 2901, 2981, 2842, 2738, 2510, 2025, 1705, 1419, 1084, 880, 645, 534, 469, 395, 361, 295, 269, 230, 181, 171, 147, 127, 108, 123, 90, 86, 87, 78, 70, 54, 46, 50, 33, 46, 30, 33, 24, 16, 28, 21, 34, 36, 26, 52, 44, 50, 45, 45, 43, 35, 36, 36, 34, 35, 28, 23, 21, 20, 21, 11, 16, 15, 10, 10, 7, 5, 11, 5, 7, 2, 4, 6, 2, 5, 4, 0, 5, 1, 2, 1, 4, 1, 2, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], "props_type": "histogram", "metadata": {"board": "Slate", "ker": "4.19", "boot_p": "isolcpus", "i": "1000us", "delta": "160us", "prio": "99", "load": "ssh", "duration": "0h59", "qdisc": "etf", "etf_offset": "600us", "route": "switch"}}]}
\ No newline at end of file
{"measure_sets": [{"measure_type": "packet_recv_timestamps", "props_names": ["kernel_space"], "units": ["us"], "middle": 0, "props": [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2633, 82069, 463053, 826343, 778980, 527779, 282489, 138584, 81329, 73637, 77916, 70539, 51397, 30284, 16813, 9207, 5641, 4087, 3009, 2064, 1471, 1066, 844, 718, 706, 863, 1013, 1255, 1458, 1714, 2193, 2400, 2321, 1882, 1427, 1072, 895, 1023, 1329, 1696, 1819, 1710, 1479, 1209, 945, 661, 498, 371, 325, 298, 229, 208, 144, 96, 77, 60, 36, 34, 30, 30, 25, 38, 21, 22, 21, 23, 20, 15, 15, 21, 13, 20, 14, 12, 11, 11, 10, 6, 4, 5, 2, 2, 5, 3, 8, 2, 2, 5, 6, 0, 3, 6, 3, 1, 3, 0, 2, 2, 0, 0, 1, 0, 2, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], "props_type": "histogram", "metadata": {"board": "Slate", "ker": "4.19", "boot_p": "isolcpus", "i": "1000us", "delta": "160us", "prio": "99", "load": "ssh", "duration": "0h59", "qdisc": "etf", "etf_offset": "600us", "route": "switch"}}]}
\ No newline at end of file
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