The output of the kernel version might be good to know:
uname -a
It’s one process using multiple threads.
The sum of the threads is 126%, the thread with the highest usage (relevant) is at 84%.
The CPU usage on your screenshot seems quite high for the XU4 with those settings, don’t you agree @prog?
Or is it maybe that the governor isn’t going to max frequency?
I’m actually not too sure about that, aren’t the little cores the lower numbered ones (that’s how it works on the N2).
Something is going to high usage on core 8, if it’s a big core it would indicate quite a heavy load for those settings.
I’m have no clue why this high CPU usage for those 2 users might be happening, but even i’m at a loss at how i would go about debugging this. (i wouldn’t expect an end-user to be able to debug this is what i’m saying)
I guess you would suggest trying an XU4 image that uses kernel 3.10 considering at least one of them is using 4.14?
The XU4 should be able to cope with -e 6 easily, wouldn’t you say?
What kind of load does that produce for you?
Could you two post a htop screenshot please?
(sudo apt install htop; hash -r; htop)
I’m curious if it’s running on the little or big cores.
I’ve been a nix user for as long as I can remember, but when something changes from one version of a program to another with no other changes on my end, it makes it hard to troubleshoot when the only change was the airspy software. Just not sure were to look at what changes you made to “optimize and improve it” broke it with at least two of us running XU4’s.
No worries. You already found the problem. I suspect the kernel you are using is not switching to the big cores when needed. Plus, there could be some clocking problem as well. You can find that once the big cores are used at their nominal speed. When idling, they stay at 600 MHz.
I’ve knocked it offline for now, by accident so I’ll have to manually get to it and fix it back up as SSH isn’t letting me log in now, so I’ll have to bring it into the office and put a monitor and keybord on it.
I first ran sudo taskset -acp 4-7 $(pgrep airspy) - this caused my SSH connection to drop for some reason so rebooted and ran your installation script and edited new config option to “4-7” with -e 3 also set. airspy_adsb now running approx 41% with no dropped samples.
In case of A73 1.9GHz, only 80% amount of ODROID-N2 test samples are successful for heavy load tests, and over 70% samples have booting issues with 2.0GHz option.
The option -e 3 is fairly low, hence the low CPU usage.
Ok, i have no clue what the problem with that command is, it worked fine for me.
But it seems to have dropped SSH for the other guy as well.
As Sonic already remarked, now that it’s running stable, crank it up to -e 7 or higher, depending on what you want
(don’t forget to set -w 3 to clean up the bogus stuff)