View Full Version : Maya Render Options for Processor Use
lazlow69 01-09-2003, 09:21 PM I was wondering if anyone knows of a method to use in order to send a command line render prompt that makes the render limit to a certain amount of Processor Use. In otherwords, how can I send a CMD render that will only use 25% or 50% of the processor so that I can continue to do other things? Is this a possibility, or a frowned upon practice, because to me it makes a lot of sense to be able to do that!
Let me know where I should look, thank you!
|
|
tropistic
01-10-2003, 03:43 AM
What you're looking for is a way to control the CPU affinity from the command line. Here's a great little tool that does just that, plus a bonus for those with multiple processors:
http://www.appliedvisual.com/xcpu.htm
Jay
lazlow69
01-10-2003, 05:05 PM
Thanks for the link. The program seems quite nice... Have you used it much? Are there any problems that you've encountered? In the documentation it mentions that you can set priority levels for your applications. Would Normal Priority mean the default allocation, or mean 25% since it is the 2nd of 4 options? I was hoping there would be a way to assign a specific percentage of processor power, you see.
Thanks for all the help so far!
stunndman
01-10-2003, 05:11 PM
normal means default thread scheduling priority - by default every program runs as normal
you can set priority and processor affinity for processes in your task manager (ctrl-shift-escape)
lazlow69
01-10-2003, 05:16 PM
That actually brings up an interesting question... Can you simply assign processor use as a tag from a command line prompt? I know in Task Manager you can change priority, but that is only after the app has been executed.
Ideally, I am looking for a way to run locally and also send over a LAN command strings that run the render.exe of Maya at a specific percentage of processor usage. Any suggestions to meet that end, perhaps cmd examples?
This info has been quite useful so far, so thanks everyone!
beaker
01-10-2003, 10:30 PM
Operating systems dont give the ability to get that specific in your assigning of processor power. Most work on the basis of priority of who goes first. You can get plenty of interactivity in your current app by just setting the background render process to low.
"start render /low" will start the render process at low priority. Just look up the "start" command in the windows help for more info. You could just put that into a batch files and call it something like render_low.bat. Then you just call that command instead of render.exe.
lowkey
01-11-2003, 08:32 AM
hmmm ... unfortunately xCPU only works on multiprocessor systems ! :(
someone know of a similiar tool for use with single-processor setups ?
i want to keep at least 20% of CPU cycles for browsing while doing my maya renders.
beaker
01-11-2003, 08:48 AM
lowkey:
just goto the task manager and right click on the batch render job and set it to low priority. All your other apps will respond faster after that.
lowkey
01-11-2003, 08:53 AM
ahhh yeah, i wasn't even aware of that option ! :bounce:
thanks a lot, beaker :)
CGTalk Moderation
01-14-2006, 03:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.