Есть гора у меня NanoPi Neo, которые использую помаксимуму (пока для перекодирования и стриминга через rtsp).
Вроде ну все уж сделал - усб камеру, сеть, флешку - повесил прерывания на разные ядра цпу, поднял частоту на максимум, один фиг - то камера отвалится, то сеть, в dmesg такое
[Wed Jan 25 08:05:02 2023] INFO: rcu_sched self-detected stall on CPU
[Wed Jan 25 08:05:02 2023] 1-...: (1 GPs behind) idle=326/140000000000002/0 softirq=206202/206203 fqs=1871
[Wed Jan 25 08:05:02 2023] INFO: rcu_sched detected stalls on CPUs/tasks:
[Wed Jan 25 08:05:02 2023] (t=4203 jiffies g=96027 c=96026 q=426)
[Wed Jan 25 08:05:02 2023] NMI backtrace for cpu 1
[Wed Jan 25 08:05:02 2023] CPU: 1 PID: 3269 Comm: kworker/1:0 Tainted: G O 4.14.111 #126
[Wed Jan 25 08:05:02 2023] Hardware name: sun8i
[Wed Jan 25 08:05:02 2023] Workqueue: events dbs_work_handler
[Wed Jan 25 08:05:02 2023] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14)
[Wed Jan 25 08:05:02 2023] [<c0225398>] (show_stack) from [<c0a1b5bc>] (dump_stack+0x94/0xa8)
[Wed Jan 25 08:05:02 2023] [<c0a1b5bc>] (dump_stack) from [<c0a20e70>] (nmi_cpu_backtrace+0xc0/0xc4)
[Wed Jan 25 08:05:02 2023] [<c0a20e70>] (nmi_cpu_backtrace) from [<c0a20f54>] (nmi_trigger_cpumask_backtrace+0xe0/0x11c)
[Wed Jan 25 08:05:02 2023] [<c0a20f54>] (nmi_trigger_cpumask_backtrace) from [<c0294c4c>] (rcu_dump_cpu_stacks+0x98/0xc8)
[Wed Jan 25 08:05:02 2023] [<c0294c4c>] (rcu_dump_cpu_stacks) from [<c0294368>] (rcu_check_callbacks+0x764/0x8e4)
[Wed Jan 25 08:05:02 2023] [<c0294368>] (rcu_check_callbacks) from [<c0297ce0>] (update_process_times+0x30/0x5c)
[Wed Jan 25 08:05:02 2023] [<c0297ce0>] (update_process_times) from [<c02a7d98>] (tick_sched_timer+0x40/0x9c)
[Wed Jan 25 08:05:02 2023] [<c02a7d98>] (tick_sched_timer) from [<c0298ac8>] (__hrtimer_run_queues+0x110/0x184)
[Wed Jan 25 08:05:02 2023] [<c0298ac8>] (__hrtimer_run_queues) from [<c0298d04>] (hrtimer_interrupt+0xb8/0x20c)
[Wed Jan 25 08:05:02 2023] [<c0298d04>] (hrtimer_interrupt) from [<c07eef60>] (arch_timer_handler_phys+0x28/0x30)
[Wed Jan 25 08:05:02 2023] [<c07eef60>] (arch_timer_handler_phys) from [<c0289134>] (handle_percpu_devid_irq+0x74/0x134)
[Wed Jan 25 08:05:02 2023] [<c0289134>] (handle_percpu_devid_irq) from [<c0284380>] (generic_handle_irq+0x24/0x34)
[Wed Jan 25 08:05:02 2023] [<c0284380>] (generic_handle_irq) from [<c02848a0>] (__handle_domain_irq+0x5c/0xb4)
[Wed Jan 25 08:05:02 2023] [<c02848a0>] (__handle_domain_irq) from [<c0201528>] (gic_handle_irq+0x3c/0x78)
[Wed Jan 25 08:05:02 2023] [<c0201528>] (gic_handle_irq) from [<c0225e78>] (__irq_svc+0x58/0x74)
[Wed Jan 25 08:05:02 2023] Exception stack(0xc9e67c18 to 0xc9e67c60)
[Wed Jan 25 08:05:02 2023] 7c00: 00000000 600a0193
[Wed Jan 25 08:05:02 2023] 7c20: 00000013 00009fcb defb6800 600a0113 c9f0b800 00000000 c9f0b8e8 c1061520
[Wed Jan 25 08:05:02 2023] 7c40: c1202080 40000000 df4019c0 c9e67c68 c06f39d8 c06d9da0 600a0113 ffffffff
[Wed Jan 25 08:05:02 2023] [<c0225e78>] (__irq_svc) from [<c06d9da0>] (__usb_hcd_giveback_urb+0x80/0x148)
[Wed Jan 25 08:05:02 2023] [<c06d9da0>] (__usb_hcd_giveback_urb) from [<c06daaa0>] (usb_giveback_urb_bh+0x9c/0xec)
[Wed Jan 25 08:05:02 2023] [<c06daaa0>] (usb_giveback_urb_bh) from [<c02458bc>] (tasklet_hi_action+0x74/0x110)
[Wed Jan 25 08:05:02 2023] [<c02458bc>] (tasklet_hi_action) from [<c020165c>] (__do_softirq+0xf4/0x220)
[Wed Jan 25 08:05:02 2023] [<c020165c>] (__do_softirq) from [<c0245d64>] (irq_exit+0xe0/0x13c)
[Wed Jan 25 08:05:02 2023] [<c0245d64>] (irq_exit) from [<c02848a4>] (__handle_domain_irq+0x60/0xb4)
[Wed Jan 25 08:05:02 2023] [<c02848a4>] (__handle_domain_irq) from [<c0201528>] (gic_handle_irq+0x3c/0x78)
[Wed Jan 25 08:05:02 2023] [<c0201528>] (gic_handle_irq) from [<c0225e78>] (__irq_svc+0x58/0x74)
[Wed Jan 25 08:05:02 2023] Exception stack(0xc9e67d40 to 0xc9e67d88)
[Wed Jan 25 08:05:02 2023] 7d40: 80befc00 00000000 00000001 1c9c3800 00000002 00000001 80befc00 80befc00
[Wed Jan 25 08:05:02 2023] 7d60: 1c9c3800 1c9c3800 00000001 00000001 00000001 c9e67d90 9bdd3c00 c05971b4
[Wed Jan 25 08:05:02 2023] 7d80: 800a0013 ffffffff
[Wed Jan 25 08:05:02 2023] [<c0225e78>] (__irq_svc) from [<c05971b4>] (ccu_nkmp_find_best+0x178/0x20c)
[Wed Jan 25 08:05:02 2023] [<c05971b4>] (ccu_nkmp_find_best) from [<c0597480>] (ccu_nkmp_set_rate+0xb4/0x1e8)
[Wed Jan 25 08:05:02 2023] [<c0597480>] (ccu_nkmp_set_rate) from [<c058ebb8>] (clk_change_rate+0x1bc/0x254)
[Wed Jan 25 08:05:02 2023] [<c058ebb8>] (clk_change_rate) from [<c058ee88>] (clk_core_set_rate_nolock+0x68/0xb0)
[Wed Jan 25 08:05:02 2023] [<c058ee88>] (clk_core_set_rate_nolock) from [<c058eef4>] (clk_set_rate+0x24/0x34)
[Wed Jan 25 08:05:02 2023] [<c058eef4>] (clk_set_rate) from [<c0625d80>] (dev_pm_opp_set_rate+0x1e0/0x384)
[Wed Jan 25 08:05:02 2023] [<c0625d80>] (dev_pm_opp_set_rate) from [<c07cd168>] (__cpufreq_driver_target+0x24c/0x5c8)
[Wed Jan 25 08:05:02 2023] [<c07cd168>] (__cpufreq_driver_target) from [<c07d1234>] (od_dbs_update+0xe0/0x168)
[Wed Jan 25 08:05:02 2023] [<c07d1234>] (od_dbs_update) from [<c07d1b88>] (dbs_work_handler+0x2c/0x60)
[Wed Jan 25 08:05:02 2023] [<c07d1b88>] (dbs_work_handler) from [<c02576fc>] (process_one_work+0x138/0x34c)
[Wed Jan 25 08:05:02 2023] [<c02576fc>] (process_one_work) from [<c0257944>] (worker_thread+0x34/0x52c)
[Wed Jan 25 08:05:02 2023] [<c0257944>] (worker_thread) from [<c025d020>] (kthread+0x128/0x158)
[Wed Jan 25 08:05:02 2023] [<c025d020>] (kthread) from [<c0222058>] (ret_from_fork+0x14/0x3c)
[Wed Jan 25 08:05:02 2023] 1-...: (1 GPs behind) idle=326/140000000000002/0 softirq=206202/206203 fqs=1874
[Wed Jan 25 08:05:02 2023] (detected by 2, t=4205 jiffies, g=96027, c=96026, q=434)
[Wed Jan 25 08:05:02 2023] Sending NMI from CPU 2 to CPUs 1:
[Wed Jan 25 08:05:02 2023] NMI backtrace for cpu 1
[Wed Jan 25 08:05:02 2023] CPU: 1 PID: 3269 Comm: kworker/1:0 Tainted: G O 4.14.111 #126
[Wed Jan 25 08:05:02 2023] Hardware name: sun8i
[Wed Jan 25 08:05:02 2023] Workqueue: events dbs_work_handler
[Wed Jan 25 08:05:02 2023] task: de636400 task.stack: c9e66000
[Wed Jan 25 08:05:02 2023] PC is at __usb_hcd_giveback_urb+0x80/0x148
[Wed Jan 25 08:05:02 2023] LR is at ehci_urb_enqueue+0xa3c/0xd98
[Wed Jan 25 08:05:02 2023] pc : [<c06d9da0>] lr : [<c06f39d8>] psr: 600a0113
[Wed Jan 25 08:05:02 2023] sp : c9e67c68 ip : df4019c0 fp : 40000000
[Wed Jan 25 08:05:02 2023] r10: c1202080 r9 : c1061520 r8 : c9f0b8e8
[Wed Jan 25 08:05:02 2023] r7 : 00000000 r6 : c9f0b800 r5 : 600a0113 r4 : defb7000
[Wed Jan 25 08:05:02 2023] r3 : 00009fd1 r2 : 0000000b r1 : 600a0193 r0 : 00000000
[Wed Jan 25 08:05:02 2023] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[Wed Jan 25 08:05:02 2023] Control: 30c5387d Table: 5ebc9fc0 DAC: 3f1634e1
[Wed Jan 25 08:05:02 2023] CPU: 1 PID: 3269 Comm: kworker/1:0 Tainted: G O 4.14.111 #126
[Wed Jan 25 08:05:02 2023] Hardware name: sun8i
[Wed Jan 25 08:05:02 2023] Workqueue: events dbs_work_handler
[Wed Jan 25 08:05:02 2023] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14)
[Wed Jan 25 08:05:02 2023] [<c0225398>] (show_stack) from [<c0a1b5bc>] (dump_stack+0x94/0xa8)
[Wed Jan 25 08:05:02 2023] [<c0a1b5bc>] (dump_stack) from [<c0a20e24>] (nmi_cpu_backtrace+0x74/0xc4)
[Wed Jan 25 08:05:02 2023] [<c0a20e24>] (nmi_cpu_backtrace) from [<c0227800>] (handle_IPI+0xac/0x194)
[Wed Jan 25 08:05:02 2023] [<c0227800>] (handle_IPI) from [<c0201560>] (gic_handle_irq+0x74/0x78)
[Wed Jan 25 08:05:02 2023] [<c0201560>] (gic_handle_irq) from [<c0225e78>] (__irq_svc+0x58/0x74)
[Wed Jan 25 08:05:02 2023] Exception stack(0xc9e67c18 to 0xc9e67c60)
[Wed Jan 25 08:05:02 2023] 7c00: 00000000 600a0193
[Wed Jan 25 08:05:02 2023] 7c20: 0000000b 00009fd1 defb7000 600a0113 c9f0b800 00000000 c9f0b8e8 c1061520
[Wed Jan 25 08:05:02 2023] 7c40: c1202080 40000000 df4019c0 c9e67c68 c06f39d8 c06d9da0 600a0113 ffffffff
[Wed Jan 25 08:05:02 2023] [<c0225e78>] (__irq_svc) from [<c06d9da0>] (__usb_hcd_giveback_urb+0x80/0x148)
[Wed Jan 25 08:05:02 2023] [<c06d9da0>] (__usb_hcd_giveback_urb) from [<c06daaa0>] (usb_giveback_urb_bh+0x9c/0xec)
[Wed Jan 25 08:05:02 2023] [<c06daaa0>] (usb_giveback_urb_bh) from [<c02458bc>] (tasklet_hi_action+0x74/0x110)
[Wed Jan 25 08:05:02 2023] [<c02458bc>] (tasklet_hi_action) from [<c020165c>] (__do_softirq+0xf4/0x220)
[Wed Jan 25 08:05:02 2023] [<c020165c>] (__do_softirq) from [<c0245d64>] (irq_exit+0xe0/0x13c)
[Wed Jan 25 08:05:02 2023] [<c0245d64>] (irq_exit) from [<c02848a4>] (__handle_domain_irq+0x60/0xb4)
[Wed Jan 25 08:05:02 2023] [<c02848a4>] (__handle_domain_irq) from [<c0201528>] (gic_handle_irq+0x3c/0x78)
[Wed Jan 25 08:05:02 2023] [<c0201528>] (gic_handle_irq) from [<c0225e78>] (__irq_svc+0x58/0x74)
[Wed Jan 25 08:05:02 2023] Exception stack(0xc9e67d40 to 0xc9e67d88)
[Wed Jan 25 08:05:02 2023] 7d40: 80befc00 00000000 00000001 1c9c3800 00000002 00000001 80befc00 80befc00
[Wed Jan 25 08:05:02 2023] 7d60: 1c9c3800 1c9c3800 00000001 00000001 00000001 c9e67d90 9bdd3c00 c05971b4
[Wed Jan 25 08:05:02 2023] 7d80: 800a0013 ffffffff
[Wed Jan 25 08:05:02 2023] [<c0225e78>] (__irq_svc) from [<c05971b4>] (ccu_nkmp_find_best+0x178/0x20c)
[Wed Jan 25 08:05:02 2023] [<c05971b4>] (ccu_nkmp_find_best) from [<c0597480>] (ccu_nkmp_set_rate+0xb4/0x1e8)
[Wed Jan 25 08:05:02 2023] [<c0597480>] (ccu_nkmp_set_rate) from [<c058ebb8>] (clk_change_rate+0x1bc/0x254)
[Wed Jan 25 08:05:02 2023] [<c058ebb8>] (clk_change_rate) from [<c058ee88>] (clk_core_set_rate_nolock+0x68/0xb0)
[Wed Jan 25 08:05:02 2023] [<c058ee88>] (clk_core_set_rate_nolock) from [<c058eef4>] (clk_set_rate+0x24/0x34)
[Wed Jan 25 08:05:02 2023] [<c058eef4>] (clk_set_rate) from [<c0625d80>] (dev_pm_opp_set_rate+0x1e0/0x384)
[Wed Jan 25 08:05:02 2023] [<c0625d80>] (dev_pm_opp_set_rate) from [<c07cd168>] (__cpufreq_driver_target+0x24c/0x5c8)
[Wed Jan 25 08:05:02 2023] [<c07cd168>] (__cpufreq_driver_target) from [<c07d1234>] (od_dbs_update+0xe0/0x168)
[Wed Jan 25 08:05:02 2023] [<c07d1234>] (od_dbs_update) from [<c07d1b88>] (dbs_work_handler+0x2c/0x60)
[Wed Jan 25 08:05:02 2023] [<c07d1b88>] (dbs_work_handler) from [<c02576fc>] (process_one_work+0x138/0x34c)
[Wed Jan 25 08:05:02 2023] [<c02576fc>] (process_one_work) from [<c0257944>] (worker_thread+0x34/0x52c)
[Wed Jan 25 08:05:02 2023] [<c0257944>] (worker_thread) from [<c025d020>] (kthread+0x128/0x158)
[Wed Jan 25 08:05:02 2023] [<c025d020>] (kthread) from [<c0222058>] (ret_from_fork+0x14/0x3c)
Ядро там 4.14.111, пакеты Ubuntu 16.04.7 LTS
Посоветуйте, что еще можно сделать???