0.9.14 Release: Ubuntu 18.04 with Mate & LXDE Desktop
#66
So apparently the APIC on rk3399 doesn't handle interrupts broadcast to multiple cores very well. When it receives a broadcast interrupt for multiple possible cores it just hands it to the first core in the given range without broadcasting to all of them. The default range for interrupts is set to all cpu cores (0-5) so almost all interrupts are presently being serviced by poor frequently-interrupted cpu0.

I tried running irqbalance last night to solve this easily but apparently irqbalance also likes to assign ranges of cpus or it's otherwise not functional out of the box without :effort: so I cribbed some of armbian's simple boot-time performance code and distributed interrupts manually. Desktop performance is noticeably less laggy, and while it's not anything amazing it's a decent improvement.

If anyone's interested in trying this out here's the irq assignment script and boot-time service file:
https://gist.github.com/foundObjects/76d...81e80f1eb8  

Instructions are commented in each file. Comment out the root remount line, you probably don't need it. You might also want to juggle the cpu cores pcie, mmc1 and USB3 land on depending on which you're using on your system. Cores 0-3 are the little cluster, 4-5 big.

This really isn't the optimal way to distribute interrupts but it's better than nothing at all, let me know if there's anything obvious I missed.

edit: If you just want to try this out without installing it for every boot just read the script then run it once as root, interrupt assignment only stays in effect until reboot.


Messages In This Thread
RE: 0.9.14 Release: Ubuntu 18.04 with Mate & LXDE Desktop - by Arglebargle - 11-15-2019, 04:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Gentoo on Pinebook Pro RELEASE jannik2099 54 89,051 12-08-2023, 11:25 PM
Last Post: tllim
  Armbian 22.02 release announcement TRS-80 22 13,885 04-01-2023, 03:19 PM
Last Post: TRS-80
Rainbow How to prevent the screen from dimming (no X/wm/desktop)? cowsay 0 543 02-16-2023, 10:58 AM
Last Post: cowsay
  Install the DDE desktop environment wangyukunshan 0 1,333 12-23-2021, 06:51 PM
Last Post: wangyukunshan
  Desktop environment of Ubuntukylin 20.04 wangyukunshan 3 3,215 10-26-2021, 08:07 PM
Last Post: wangyukunshan
  After update in Ubuntu bionic mate system crashed Wawe 2 3,232 04-18-2021, 04:52 AM
Last Post: Wawe
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 11 9,764 03-02-2021, 07:06 PM
Last Post: BronzeBeard
  Ubuntu Installation on PBP narinderpal10 5 6,019 12-18-2020, 12:22 PM
Last Post: narinderpal10
  Ubuntu MATE 18.04 Can't boot after update hankg 2 3,154 12-15-2020, 01:53 AM
Last Post: BryanF
Information [Development Release] Fedora 32/CentOS 8 Pinebook Pro Images wideawake 12 14,955 12-10-2020, 10:06 AM
Last Post: pieter085

Forum Jump:


Users browsing this thread: 3 Guest(s)