Sublime Forum

Slow scrolling when running CUDA programs

#1

I often run CUDA enabled molecular dynamics programs in the background while editing other files. The scrolling of Sublime slows down considerably when they run. This not a major issue since I can pause the job to get back normal responsiveness, but I don’t notice this with any other editor.

1 Like

UI lag under high GPU load
#2
0 Likes

#3

Thanks, I hadn’t seen that setting, although I’m running 3118 on Linux.

0 Likes

#4

Here’s another person who has trouble with Folding@Home:

I’ve just run into this problem myself, and I find it strange, since other GPU-using programs don’t slow down while the GPU is being utilized: Chrome is totally usable, MPV runs great, even Source-engine games like TF2 have no problems.

Could the problem have to do with rendering priority on the GPU?

0 Likes

#5

On Windows a workaround is to set the folding process to ‘below normal’ or ‘low’ priority and see if that fixes Sublime performance. On Linux lower the nice priority. These settings simply force process-level priority, so you’re not curtailing the amount of CPU power folding can use, you’re simply backing it off in favour of anything else that needs CPU. Problems may be more noticeable on Linux because less aggressive GPU acceleration is leveraged overall than on Windows, at least in general on the desktop.

I ran Prime95 (which hammers all your CPU cores) and Sublime concurrently and saw no slowdown in Sublime whatsoever. That said, Prime95 defaults to a ‘below normal’ process priority as a default.

In situations where heavy constant CPU use and process competition is unavoidable, another workaround is to change the cursor from ‘Phase’ to normal flashing. It seems that the cursor phasing is done in software and is blocking, so if that struggles to get CPU cycles it will slow Sublime down as a whole.

:slightly_smiling:

0 Likes