saman got a reaction from
MX_Master in Has anybody a good latency after the RT-PREEMPT patch?
Hello,
enabled patch for OrangePi Zero H2+ 512 with build environment Armbian 5.41 on Ubuntu 16.04.3 LTS for build Xenial 3.4.113 with rt143.
Following results:
dev@orangepizero:~/rt-tests-1.0$ uname -a
Linux orangepizero 3.4.113-rt143-sun8i #2 SMP PREEMPT RT Thu Feb 22 17:25:21 EET 2018 armv7l armv7l armv7l GNU/Linux
dev@orangepizero:~/rt-tests-1.0$ sudo ./cyclictest -p 80 -t5 -n
# /dev/cpu_dma_latency set to 0us
policy: fifo: loadavg: 0.47 0.41 0.70 2/138 20170
T: 0 ( 2844) P:80 I:1000 C:3969645 Min: 8 Act: 62 Avg: 54 Max: 2062
T: 1 ( 2845) P:80 I:1500 C:2646431 Min: 8 Act: 90 Avg: 56 Max: 571^C
T: 2 ( 2846) P:80 I:2000 C:1984823 Min: 8 Act: 52 Avg: 55 Max: 346
T: 3 ( 2847) P:80 I:2500 C:1587859 Min: 8 Act: 91 Avg: 55 Max: 341
T: 4 ( 2848) P:80 I:3000 C:1323215 Min: 8 Act: 64 Avg: 55 Max: 297
Following interrupts are reported
dev@orangepizero:~$ cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
10: 564 440 442 277 sunxi_gpio_irq_chip xradio_irq
29: 3727320 3647150 3611500 1844956 GIC arch_timer
30: 0 0 0 0 GIC arch_timer
32: 446 0 0 0 GIC uart0
38: 24 0 0 0 GIC twi0
39: 18 0 0 0 GIC twi1
43: 0 0 0 0 GIC PA
49: 1723 0 0 0 GIC PG
50: 0 0 0 0 GIC sunxi_timer0
63: 0 0 0 0 GIC Thermal
72: 0 0 0 0 GIC sunxi-rtc alarm
77: 0 0 0 0 GIC PL
81: 0 0 0 0 GIC arisc_hwmsgbox_irq
82: 0 0 0 0 GIC sunxi_dmac
90: 0 0 0 0 GIC cedar_dev
92: 63924 0 0 0 GIC sunxi-mmc
93: 126255 0 0 0 GIC sunxi-mmc
97: 0 0 0 0 GIC spi0
98: 0 0 0 0 GIC spi1
103: 353 0 0 0 GIC sunxi_usb_udc
104: 0 0 0 0 GIC ehci_hcd:usb1
105: 0 0 0 0 GIC ohci_hcd:usb5
106: 0 0 0 0 GIC ehci_hcd:usb2
107: 0 0 0 0 GIC ohci_hcd:usb6
108: 0 0 0 0 GIC ehci_hcd:usb3
109: 0 0 0 0 GIC ohci_hcd:usb7
110: 0 0 0 0 GIC ehci_hcd:usb4
111: 0 0 0 0 GIC ohci_hcd:usb8
114: 1459073 0 0 0 GIC gmac0
119: 336585 0 0 0 GIC dispaly
IPI0: 0 0 0 0 CPU wakeup interrupts
IPI1: 0 0 0 0 Timer broadcast interrupts
IPI2: 376490 1088699 535403 326760 Rescheduling interrupts
IPI3: 111 112 111 106 Function call interrupts
IPI4: 2 1 3 0 Single function call interrupts
IPI5: 0 0 0 0 CPU stop interrupts
IPI6: 0 0 0 0 CPU backtrace
IPI7: 0 0 0 0 completion interrupts
Best regards!
Dani