I have been experimenting with the Pi vcgencmd measure_temp to see the effect of running various services. I notice the temp varies by around 5C when dump1090-fa.service is stopped or started.
Appreciate ambient temperatures are a factor but does dump1090 use more processing power during daytime with much aircraft traffic and less at night or does the service use CPU power regardless of signals received?
It’s the overall CPU utilization of the device. There is nothing else running on it.
Over day i do have up to 120 aircraft on screen at the same time where low traffic during night can be between 2 and 10
That is very interesting @foxhunter Looks like your CPU obviously works harder when aircraft traffic is high then tails off around same period when it quietens down.
Although I am quite close to London Heathrow I only have an indoor unit working on a Zero. I’ve only monitored usage using htop and my dump1090 seems to be taking around 50%
Are you kidding?
You can’t run the airspy on a pi zero.
Only makes sense RPi 3B and later.
readsb tends to use around as much CPU as dump1090-fa but you can configure the preamble threshold in readsb if you want to.
It also will automatically use less CPU on a pizero and in return not get quite as many messages, maybe 5 % less.
dump1090-fa will in the next version do something similar for the pizero.
Just because these two sentences are close to each other doesn’t mean they are related .
I was operating the Airspy on my 3B and the second sentence belongs to the general statement that people are using a Zero for feeding.
Understandable, this is the problem with the typed word as opposed to the spoken word. I think many have been guilty of posting something then realising a typo or punctuation alters meaning.
A further addition to this, purely as an experiment and as aircraft traffic is very low during the early hours of the morning I created a script to check processor temperature and then shut down all my servers for 6 hours, take a CPU temperature then restart.
Interestingly, the ambient temperature in my bedroom of late has been around 23 - prior to shutting down the CPU temperature is around 49-50c
I then shut down Dump1090 - fr24feed - adsbx mlat and socat - piaware - lighttpd and finally sshd.
Just before restarting after 6 hours the CPU temperature shows around 35c so a drop of 15c
Anyhow in regards to that test.
Most of those programs process messages from dump1090 so you should shut down dump1090 last if you really want to know anything about their CPU usage …
Also this test will depend on air traffic.
If you’d really want to change CPU usage i believe there are options for dump1090-fa now to reduce CPU usage quite a bit.
If you’d really want to change CPU usage i believe there are options for dump1090-fa now to reduce CPU usage quite a bit.
It is more curiosity and practice with scripts rather than a need but will look at dump1090-fa settings.
Incidentally, again out of curiosity I connected my Pi to a USB device that measures volts and amps. With everything running (headless) it consumes around 440mA and when I shut down all servers it drops to 130mA
Weirdly, disconnected antenna and viewing htop it made no noticable difference to dump1090 CPU usage which remained around 45-55% Actually forgot to re-attach antenna and it was off for 8 hours.
Forgot to check temperature but guess if CPU remained around 50% then temperature would be stable too.
Actually quite odd, out of curiosity I followed [geckoVN] suggestion in a later post in this thread, disconnected my antenna, of course aircraft dropped to zero on map but viewing htop the dump1090 CPU usage remained about the same. Forgot to re-attach antenna and even after a few hours CPU usage for dump1090 remained at around 45-55%
It’s the same if you do not have any aircraft during nighttime. The decoder tries to decode data which are not there. I would not expect any noticable CPU load change
Guess I misinterpreted the graph you showed in the earlier message. I thought the highs and lows of the graph were busy and quiet times of aircraft traffic.
For me, the dry heat dissipated by electronics inside my house serves as dehumidification heat.
If I didn’t have my PC running 24/7 I would have to buy a dedicated dehumidificator.