1.8.0 beta on Linux - high cpu usage

Guest 2021-1-6 790

1.8.0 beta on Linux consumes a lot of cpu, at all times, even while idle.
1.7.0 is fine on the same machine.

I can email strace logs from both versions if you want.


The most apparent difference between the two straces is it looks like 1.8.0 is polling for something repeatedly & failing, but I don't know what it's actually looking for.

In each case I just opened the app with no model loaded, let it sit idle for a few seconds, then closed it.
1.7.0 used no cpu.
1.8.0 uses about 60% cpu continuously. (i7-7600U)

top - 09:20:42 up 29 min,  1 user,  load average: 1.08, 0.77, 0.66
Tasks: 197 total,   2 running, 195 sleeping,   0 stopped,   0 zombie
%Cpu(s): 18.2 us,  6.5 sy,  0.0 ni, 67.2 id,  8.1 wa,  0.0 hi,  0.1 si,  0.0 st
MiB Mem :  15881.2 total,   9562.0 free,   4224.2 used,   2095.0 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.  10453.6 avail Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                       
   5386 bkw       20   0 4705852   2.5g 103772 S  57.5  16.1   0:25.43 CHITUBOX         


...leave app open and idle for one minute...


    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                       
   5386 bkw       20   0 4705812   2.5g 103772 S  60.1  16.1   1:18.16 CHITUBOX           

New Post (2)
  • 2021-2-28
    Quote 2Floor
    I can confirm this bug
    v1.8.1 Consumes 100% of CPU resources when idle, no meshes loaded
    v1.7.0 Works fine, minimal CPU load when idle.

    $ cat /proc/version
    Linux version 5.8.0-31-generic (buildd@lgw01-amd64-039) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #33~20.04.1-Ubuntu SMP Mon Nov 23 21:55:52 UTC 2020

    cat /proc/driver/nvidia/version 
    NVRM version: NVIDIA UNIX x86_64 Kernel Module  455.32.00  Wed Oct 14 22:46:18 UTC 2020
    GCC version:  gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) 



  • Cliff Knight 2021-2-28
    Quote 3Floor
    On my system (AMD FX-8350--8-cores @ 4.0GHz, 16 GB RAM, NVidia GeForce GTS 250--Linux Mint 20.1 Mate):

         v 1.7.0 (just loaded, idle) uses 873 MB RAM with only minimal CPU usage (<1.0%).
         v 1.8.0 beta (just loaded, idle) uses 2.5 GB RAM, flirts with 100% CPU but mostly 60-70%; 
         v 1.8.1 (also just loaded, idle) uses 358 MB RAM with 50-100% CPU 

    Obviously, on my system, 1.8.0 is the big pig...