High CPU usage in Catalina

Forums / NoMachine for Mac / High CPU usage in Catalina

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29101
    AvatarEnihcamOn
    Participant

    Hi guys,

    I’m using NoMachine on a pretty powerful Mac (iMac 5K, 4GHz i7, Catalina) to connect to a nearby laptop running Ubuntu.

    This all works swimmingly, except that NoMachine on the Mac will often use a bizarre amount of CPU power, rarely under 60% and often around 150%.

    This wouldn’t bother me so much but the CPU usage is enough to make the fan in the iMac spin up and down as I’m using NoMachine, which is pretty annoying.

    I have no idea why NoMachine is using this much CPU power. It doesn’t seem to be correlated with anything I’m doing. I tried playing a YouTube video on the laptop and NoMachine only used about 60% CPU to display the video. But when I’m in a text editor, doing essentially nothing, the CPU usage will often spike to 150%.

    And once it spikes to 150%, I can stop using it, with literally nothing going on on the screen, only 2-3 kilobytes of data being transferred between the machines, and it will keep using 150% of a CPU core for a good 10-20 seconds before it quiets back down.

    I mean, what is it doing? Why does it need that much CPU power to do literally nothing?

    Thanks in advance for any help/suggestions people can offer. I appreciate it.

    Oh–this is for recent versions of NoMachine (downloaded and installed in the last week), Catalina on MacOS, Ubuntu 20 on the laptop, fully updated OSs on both, connecting to the physical display on the laptop. Ubuntu is running the default window manager for version 20 which I believe is Gnome.

    #29227
    AvatarTor
    Contributor

    Hi. The behaviour is unexpected and we could not reproduce it so far, so I’d be grateful if you can help to debug it.
    What is the text editor causing the CPU spikes? Did you notice the same with other remote apps?
    It would be great if you can dump some information while the CPU is high, by running the following commands in Terminal:
    ps -M $(pgrep nxplayer) > ~/Desktop/threads.log
    sample $(pgrep nxplayer) -file ~/Desktop/sample.log (wait 10 seconds for the sampling to complete)
    Send the files threads.log and sample.log on your Desktop to forum[at]nomachinec[dot]com.
    Thank you!

    #29302
    AvatarEnihcamOn
    Participant

    Thank you so much for looking into this. I have sent in several log files as requested. Please let me know if you don’t get the email(s). I believe there was a typo in the email you posted (should be nomachine instead of nomachinec). I sent the email to both addresses just to make sure. Let me know if there are any issues!

    #29305
    AvatarBritgirl
    Keymaster

    We received the logs 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.