If I have two GPU-intensive processes running, is there a way to "prefer" the load from one over the other, as "nice" does in the *nix kernel scheduler?


You might have luck using cgroups (Linux documentation, Wikipedia article).

It's mostly used for linux containers and such but you can allow or deny the usage of devices to processes of your choice.

This Gentoo forum thread has some samples of how to restrict GPU usage (by denying /dev/nvidia0 to certain processes for example)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.