Date
1 - 6 of 6
Increased cpu load on v3
Bryan Klofas
Hello Rob--
I've been playing around with v3 recently, and it seems to work much better than v2.8. I like the increased debugging when shutting down, and it's gotta be easier to maintain. But, anecdotally, the new version consumes much more system resources than v2.8. My computer is a Pi 3B, 64-bit bullseye, decoding 7 bands from an up-to-date local Buster KiwiSDR. I know I need a better processor, but this is going to a remote site and it's all I have for now. Using v2.8, 15-minute load is around 2.5. At the 2-min mark, the load shoots up to 4 when wsprd is running, normal. Additionally, the CPU temp is always in the mid 60's deg C. Using v3.0.2, 15-minute load is 4+. At the 2-min mark, load is 5+ for the wsprd decoding period. Processor temp is 70+ degrees C. I'm scratching my head as to why this could be. Same Pi 3B hardware, same OS, during the same time frame/band conditions. The only Apt package differences I can tell between v3 and v2.8 is python3-matplotlib and python3-scipy; I'm assuming that v3 uses the pip packages of these two, vs apt packages for v2.8. I ran these tests with a wsprd decoding depth of 3 (from standard 4), because "-o 4" wsprd periods were too long, and the CPU temp was above 80 deg C and throttling. Have you seen this problem in your testing? I guess the ultimate answer is "throw a better computer at it". -- Bryan Klofas KF6ZEO |
|
I looked at my 64 bit Pi 4 B and see this. The pi has a very small fan in a ice-cube tower of 4 and is in a room at 25 C. Quite normal temp for the Pi doing this work
|
|
Rob Robinett
While in 'top' type the letter 'c' to have it display the full command lines. Then type 'W' to have 'top' save that as its default display mode. There is a bug in the Bash 5.1.4 included in both 32bit and 64 bit 'bullseye which will eventually cause WD to consume all of the memory space. Until there is a fixed version of bash available, you may need to restart WD every day or week to avoid a locked up Pi. On Sun, May 15, 2022 at 1:09 AM Erwin - PE3ES - F4VTQ via groups.io <waterwin2=yahoo.com@groups.io> wrote: I looked at my 64 bit Pi and see this. The pi has a very small fan in a ice-cube tower of 4 and is in a room at 25 C. Quite normal temp for the Pi doing this work --
|
|
Rob Robinett
Because may wav file recording errors were not detected in 2.x, in 3.0 I added many checks of the wav file which may account for some of the increased CPU utilization. In addition, in order to support FST4W decoding, in 3.0 wav files are each 1 minute long and are assembled into 2/5/15/30 long wav files as required by the decoding modes. Doing that incurs both CPU and memory space costs. For configurations which decode only WSPR-2, I think most sites can continue to decode 14 bands on a Pi4, although at KPH I found the Pi4 was occasionally running out of CPU time and thus I reduced the intensity of the 'wsprd' efforts by adding the line:
WSPRD_CMD_FLAGS="-C 500 -o 3 -d" to the config file. At WA2TP which is much closer to the East Coast and European beacons I needed to reduce it even further to '-o 2' with: WSPRD_CMD_FLAGS="-C 500 -o 2 -d" However I think even '-o 2' incurs only a small penalty on decode sensitivity, since that Pi fed by one dipole and logging as 'WA2TP-1' is #11 worldwide and not far below the #6 WW 'WA2TP' which is fed by 5 antennas all decoding at '-o 4' Reducing the '-o' level will not help FST4W decoding, so many of the top spotting sites already have moved to using i5, li7 or i9 WD servers. Doing so will allow them to decode FST4W beacons and I hope will encourage more LF/MF/160M sites to migrate to that mode since their transmissions will get many more reports. |
|
Bryan Klofas
Hey Rob--
toggle quoted message
Show quoted text
Interesting, thanks for the background on the changes. I didn't realize that FST4W was added, I just kept the same wsprdaemon.conf file as 2.8 so I didn't see the new text. I can write something about this for the README.md if that helps? Are the FST4W frequencies the same as WSPR? I only have one KiwiSDR with a loop antenna, and would like to receive as many WSPR bands as possible. If it takes away a WSPR band, should I even bother with FST4W? I will keep dropping the '-o' level top keep the Pi happy. Not the greatest, but that's all I have. Thanks, have a great evening! -- Bryan Klofas On 5/15/22 10:56, Rob Robinett wrote:
Because may wav file recording errors were not detected in 2.x, in 3.0 I added many checks of the wav file which may account for some of the increased CPU utilization. In addition, in order to support FST4W decoding, in 3.0 wav files are each 1 minute long and are assembled into 2/5/15/30 long wav files as required by the decoding modes. Doing that incurs both CPU and memory space costs. For configurations which decode only WSPR-2, I think most sites can continue to decode 14 bands on a Pi4, although at KPH I found the Pi4 was occasionally running out of CPU time and thus I reduced the intensity of the 'wsprd' efforts by adding the line: |
|
Rob Robinett
Hi Bryan, |
|