How do i assign max cpu to applications?
Hi,
I use my Debian box for listening to streams, browsing, news/torrent and amule downloading and software rendering with Yafray all at the same time. When I start to render PAN crashes since Yafray takes 98% of CPU (so says top), the machine seems to hang but continues (ofcourse:Pengy: ) when the rendering is finished. Only Pan crashes. Strange thing is that on my previous PC this was no problem. There was always enough CPU reserved to browse and listen to streams and torrent, amule and news at the same time.:scratch: How do I assign less CPU to yafray? Say 95% :study: I have seeked here, i have seeked there. All I found was setrlimit but thats for devices right?:confused: Greetz. |
"nice" is the tool you want. Run ksysguard and right click on the process you want to change. Click the "re-nice" option. I am not sure, but I think pushing the value twords the positive end lowers the priority.
|
thnx
Great,
Indeed this seems to be the solution. I use Gnome so I can use gnome-system-monitor but I have to set the niceness per session, and I want it lower by default. I tried this: ronald@debbie:~$ nice --adjustment=20 blender nice: cannot set niceness: Permission denied :tisk: I dont want to run blender as root obviously :p So I will pursue this further to get blender or Yafray to start up with a lower niceness. Thnx. |
Then renice it :)
Code:
$blender |
All times are GMT -5. The time now is 10:54 PM. |