Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

SmartSDR CPU utilization increases to the point of display stuttering, freezing...

NO1PC
NO1PC Member ✭✭
edited June 2020 in SmartSDR for Windows
This behavior was present in 2.4.9, still present in 2.5.1. 

Dell Precision M4400, 8GB RAM, SDD, yeah, only a Core2Duo CPU, but...
Win7 Pro 64-bit
SmartSDR is the only active app aside from enterprise-grade Sophos AV.

Fresh start of SmartSDR everything runs fine, smooth display/panadapter.  CPU use is 'high' at 40-50% but not crippling.     Consumes 220-250MB of memory, total overall memory use is typically 50%... nothing is starved RAM or swap space.  

Variously runs fine for a few hours, just sitting here receiving, no other gadgets, DAX, CAT, etc. running.  

After some few hours, a day or two... CPU use has crept up to 65-80%, display stutters miserably, control response is sluggish/hesitant, eventually essentially freezes.  No increase in RAM use.   I'm usually not transmitting during these periods, not logging or recording anything.

So, under other circumstances if 'we' had a memory leak, RAM should be maxed out, paralyzing.  

How does it get to the level of "CPU leak", increased consumption without any change in local apps, use, etc. ??

When I close the app SmartSDR, the windows close but the process takes up 41% CPU for about 45 seconds 'terminating' before it goes away.   Re-open, everything is fine again, until it is not.

Typical answers:  reboot, better computer/CPU, more RAM, Win 7 is dead switch to Win 10 ... won't exactly explain away the symptom/behavior overtime...  something is changing over time running - background sub-process, panadapter 'history', something.

A "better computer" is not impossible to implement, but "the computer" is not responsible for this.  

Is there a configuration setting to reduce this behavior?  I'm a simple, single-use station with little reason or need to want to go back to since-program-started with any activity, etc. - other than just keep the 'radio' running smoothly for as long as it's running.


Answers

  • WX7Y
    WX7Y Member ✭✭✭✭
    edited June 2020
  • Lawrence Gray
    Lawrence Gray Member ✭✭
    edited July 2019
  • Paul - K6HR
    Paul - K6HR Member ✭✭
    edited July 2019
  • Lawrence Gray
    Lawrence Gray Member ✭✭
    edited November 2019
  • Dudley  WA5QPZ
    Dudley WA5QPZ Member ✭✭✭
    edited March 2020
  • NO1PC
    NO1PC Member ✭✭
    edited July 2019
  • Lawrence Gray
    Lawrence Gray Member ✭✭
    edited July 2019
  • Lawrence Gray
    Lawrence Gray Member ✭✭
    edited July 2019
    Have you looked at GPU utilization under normal conditions?  Just curious what sort of utilization you are seeing on your particular PC.

    In any case, I don't see how this can be an intermittent problem, that only occurs after several hours.  I have operated contests and never had the issue.  I do not think it is a under-powered hardware issue.
  • Steve K9ZW
    Steve K9ZW Member ✭✭✭
    edited July 2019
    I replaced one of my computers this spring when faced with the same sort of issues. The old PC was marginal specification, used onboard graphics and had just enough ram to run things. After an hour or so it had the same problems as what you’re experiencing. Swapped it out for a higher spec machine and my woes went away. Back in the very early pre-release days of SmartSDR I had faced a similar system resource issue and replaced a PC back then. BTW on the new machine I can run lots of other programs without giving SmartSDR a hiccup. There are some subtle differences between the versions you are comparing which have an effect on system utilization. I’d have to dig into my notes to enumerate the ones I read about. Expect you were more stable before and the change nudged your system into instability. If you can duplicate the problem with a better computer then you have a radio problem to dig into. GL and 73 Steve K9ZW Http://K9ZW.wordpress.com
  • NO1PC
    NO1PC Member ✭✭
    edited July 2019
  • David-N5PSM
    David-N5PSM Member ✭✭
    edited July 2019
    I do not think that address the question......
  • David-N5PSM
    David-N5PSM Member ✭✭
    edited July 2019
    have you noticed if the graphics is becoming too loaded down,,,,not the app (mabe caused by the app?)
  • Mark_WS7M
    Mark_WS7M Member ✭✭✭
    edited July 2019
  • NO1PC
    NO1PC Member ✭✭
    edited June 2020
  • Bob G   W1GLV
    Bob G W1GLV Member ✭✭
    edited July 2019
    Take a look at the task manager to see which app is using all of that CPU time. I run SSDR on a Windows XP and the CPU on that machine runs a respectable 15-20% of resources. 
  • Lawrence Gray
    Lawrence Gray Member ✭✭
    edited July 2019
  • Ralph
    Ralph Member ✭✭
    edited February 2020
  • David-N5PSM
    David-N5PSM Member ✭✭
    edited July 2019
    I can not access the JPG's
  • Ralph
    Ralph Member ✭✭
    edited February 2020
  • David-N5PSM
    David-N5PSM Member ✭✭
    edited July 2019
    N5PSM@ARRL.NET  <---Standard issue ;-)

    Also while editing, at the bottom there is an icon of a camera,  You can go back to your post and upload them if you like.
  • Ralph
    Ralph Member ✭✭
    edited July 2019
  • Ralph
    Ralph Member ✭✭
    edited July 2019
  • Gerald
    Gerald Member ✭✭
    edited November 2019
    What does your virus and spyware programs record
  • Bill W2PKY
    Bill W2PKY Member ✭✭
    edited December 2019
    Would be nice if Flex would add a tab to the setup applet for these display options, giving the operator the choice of the default setting for these variables. 
  • Tony
    Tony Member
    edited June 2020
    Identical issues i have been facing. Going through this thread I changed the setting of graphics adapter from 32 bit to 16 bit yesterday. What i found now the CPU engagement is around 65 % earlier it used to shoot up almost 100% at times and used to be 85 to 100%
  • David Decoons, wo2x
    David Decoons, wo2x Member, Super Elmer Moderator
    edited June 2020
    What are your computer and OS specs? Have you checked Task Manager for CPU and memory issues? It could also be high DPC latency issues. Dave wo2x

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.