Will also point out that right now i’m not getting the anomaly, only occasionally, so the next time I’m getting the notice I will try the “TOP” command again.;
Does it say something like “might be due to high CPU utilization”? I get the same thing from time to time, but my CPU utilization is never high. I think that’s a red herring…
the message rate and mlat quality is dependant on the cpu load.
i have dump1090-mutability, piaware, fr24feed and modesmixer2 running on one rpi and get an average msg rate of 250/s. if i ONLY run dump1090, i get over 900/s
I am finding that using the Pi B+ I am running close to 100% at all of my sites. I have dump1090 mutability (1.15 dev), piaware, FR24feed and PFClient running. Before MLAT the utilization was reasonable (80% or less). Now, I am finding the sites becoming increasingly unstable, likely due to CPU overload. I frequently can’t connect via SSH or use the dump1090 web page although it seems to be sending data to FA. I can use the local console but since most of these run “headless” that’s not an option.
dump1090-mutability appear to be using about 50-55% of the CPU (two processes) and the FA mlat client another 5%.
The one site (the busiest) that I have upgraded to Pi 2 is fine. It is not running FR24Feed as they don’t like the MLAT data being inserted and I use Virtual Radar Server to aggregate all on my sites.
I am also running collectd and rrdtool to gather statistics. I’m not sure how much overhead these have but I do see the CPU utilization peak when the CRON job runs.
I’m open to any suggestions on how to lower the CPU load on these sites. I’d rather not replace all of the Pi B+ with Pi 2. I am going to start with a fresh SD card on my test site tonight and see how that goes.
My PiB (before upgrade to Pi2) I ran with a medium overclock (set by sudo raspi-config) - this made a big difference to the utilisation.
IF you are running dump1090-mutability, are you running v1.15dev - This has:
a switch that by default does not pass the MLAT data back out to other feeders
the ability to use lightttpd as the webserver rather than the code built into dump1090 (http ip-address:8080 - using built in, ip-address/dump1090 - using lightttpd)
My upgrade to Pi2 was brought on by the additional compute resource needed for the MLAT client.
I am running 1.15dev. I have it sending the MLAT data out so I can see it in VRS. I know there is a way of sending the standard data out the default port and the combined MLAT/ADB-B out an alternate port. I just haven’t figured out all of the command line arguements to make it happen. I am using lighttpd as the webserver.
I currently have 5 active sites and would rather not have to buy new Pi 2’s for each of the locations. More likely I’ll kill off FR24Feed, PlaneFinder and the reports before buying new hardware.
The data aggregation sites apart from FR24 have released feeders to ignore the MLAT data
I think it may come down to a choice of feed FR24 (block the MLAT data appearing at dump1090 output) or use VRS (let that data through).
I’d choose the second - since FR24 have had the opportunity fix their client, and haven’t chosen to do it (Pi feeders are not important enough, they are only really interested in the FR24 Radarcapes they control)
The anomaly is reported as:
“Anomaly report for PiAware feeder with a MAC address of b8:27:eb:76:2c:6f:
CPU load of 92% is fairly high. You might consider running fewer programs on your Pi, or upgrading your Pi to a faster version such as the Pi 2.”
Since I don’t monitor it closely, I can’t tell how often the Pi2 is in this state. Here’s a brief dump of the last few minutes on the log:
“2015-08-28 07:26 MST] 1515102 msgs recv’d from dump1090 (1971 in last 5m); 1514379 msgs sent to FlightAware
[2015-08-28 07:31 MST] 1517107 msgs recv’d from dump1090 (2005 in last 5m); 1516384 msgs sent to FlightAware
[2015-08-28 07:36 MST] 1519190 msgs recv’d from dump1090 (2083 in last 5m); 1518467 msgs sent to FlightAware
[2015-08-28 07:40 MST] mlat(7660): Receiver connection: ready
[2015-08-28 07:40 MST] mlat(7660): Server connection: ready
[2015-08-28 07:40 MST] mlat(7660): Receiver: 316.0 msg/s received 5.5kB/s from receiver
[2015-08-28 07:40 MST] mlat(7660): Server: 0.8 kB/s from server 0.0kB/s TCP to server 2.8kB/s UDP to server
[2015-08-28 07:40 MST] mlat(7660): Results: 361.2 positions/minute
[2015-08-28 07:40 MST] mlat(7660): Aircraft: 142 known, 96 requested by server
[2015-08-28 07:41 MST] 1521190 msgs recv’d from dump1090 (2000 in last 5m); 1520467 msgs sent to FlightAware
[2015-08-28 07:46 MST] 1523138 msgs recv’d from dump1090 (1948 in last 5m); 1522415 msgs sent to FlightAware”
If it’s not overclocked - I’d check how warm the chip is (command “vcgencmd measure_temp” ), possible increase ventilation and overclock it to medium (sudo raspi-config)
I been running Wheezy with Dump1090-Mut V1.15. I been running around 37-40% CPU usage on my RPi2 just for Dump1090-Mut. Today i loaded up another SD card with just piaware image 2.1-2. Now I am running around 26-30% for Dump1090. Has anyone else notice this?
for the site admins : now that mlat has been cooking well the past few months, i’m wondering what’s next in terms of the hobbyist/professional flight tracking scene. have we reached the “top of the mountain” so to speak, with mlat?
The first step was to get it working, then to expose it to PiAware directly, and now we’re waiting on some back-end performance improvements before we implement it on the web site. This will also let us improve position frequency on both MLAT and ADSB.
Mi Pi2 is handing about 50% more data than yours, this is what TOP looks like for me…
top - 07:40:02 up 16 days, 17:22, 1 user, load average: 0.42, 0.41, 0.42
I’ve noticed that US-based feeders use quite a bit more CPU in fa-mlat-client for the same sort of message rate, because there’s a much higher proportion of non-ADS-B traffic compared to Europe.
I’ll be switching MLAT back on, need to test out the load on the Pi (since install a logger for the ADSB message rate, aircraft seen, networking ect but still need to develop a way of showing I’m feeding on the local Pi page) but does FA’s MLAT work with Dump1090 mutability?