Notifications
Clear all

[Closed] is here any plugin for 2 CPUs computer ?

hello , friends :
is here any plugin or script limit the max net render process running only with one cpu of a 2 or more cpu computer ?

if i send net render to any computer , it will use all cpus to work with the render job. so the computer can not use to do other work cause the computer cpus all running and the computer is very slow when doing other works, but if it is possible , the net render process only use one of the cpus of the computer , then i can use the other cpus to design or work with any other programs ,

wish some one undestand me .

thanks .

10 Replies
1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

Depends.

Some renderers like Brazil r/s for example allow you to specify the number of CPUs to use.

Using the Windows Task Manager, you can assign CPU Affinity to different applications – for example, if you open Max on your machine and set its affinity to only one CPU, other programs running in the background would use mostly the other CPU. You could assign the other CPU to your network rendering process manually, but since a network rendering process can start and stop very often, it is not very practical.

In addition, most commercial Network Render Managers (say, our very own Frantic Films’ Deadline) let you specify a CPU limit, too. You might want to try the upcoming version 2.5 after Siggraph, we have some surprises for all Max users :bounce:

if ok , maybe we will buy it .

thanks bobo.

addition :

hello bobo. can deadline work well with dual cpu ? maybe something different between “dual cpu” and ” 1 + 1 cpus ” .

thanks .

1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

We have over 200 machines on the network, all of them dual Athlons, Opterons and some of the new Dual CPU Dual Core (4 CPUs technically). Deadline is just a manager software that lets the other applications do their job (and it supports ANY application that has command line or scripting interface, not just 3D and 2D apps). But it can set those Windows CPU Affinity and Priority settings for you when it launches a job, so you can specify how many CPUs to use for a task, or how many tasks to run on one CPU (if some software does not use 100% CPU time, sometimes it is a good idea to run multiple copies on a single machine to fully load the CPUs)

Btw, how many machines do you use on the network?

we have 300 computers ,each of them work as a render node when it is free ,we have write a program to monitor the computer`s useage.

but many computers has only 1 cpu. now we want change all the computers to 2 or more cpu machine. so we have more ideas about how to use them effectively for the renew project.

by the way :
we only need to manager the net render of 3ds max .can specify which computer when should be act as a render node , and if it have more than one cpu , we can specify which cpu work for net render . so , deadline looks a little complex for us . do u offer a simple version of deadline ? maybe not , making a program is not easy for us all

first we will try to make it by ourself . if we cant make it , we have to buy a deadline .

thanks bobo .

You might try just turning off Multithreading in the Preferences dialog in Max. That’ll limit Max to 1 CPU, and should only let 1 CPU render also… but you should be able to setup network rendering for only 1 CPU also… did you look through the options in Backburner Manager / Server / Monitor? You might even be able to setup the preference in the Server / Manager services itself.

Maneswar

1 Reply
(@hblan)
Joined: 11 months ago

Posts: 0

thanks very much , i found the setting , if possible , we should only close the “multithreading” by script . let me see how to do it . it seems cant be done by script 😕 testing …

thanks again .

Anthony Mclin wrote this very short script that directly solves your problem.

if isnetserver() do sysinfo.maxpriority = #low

It is a startup script that will detect when 3dsmax is starting in netrender mode and automatically set the “3dsmax” process to Low, rather than the default of Normal. (In my opinion, this is something that 3dsmax should have always done by default.)

If you want to see the huge difference this makes before you install the script, start any program that slows to a crawl when max is rendering, and then start a long render job in 3dsmax. Obviously, with the priority set to Normal (as it is by default) the other program will be unbearably slow. Now open Windows Task Manager, go to the Processes tab and find the process called “3dsmax.exe” in the list. Right-click on that process, click “Set Priority” from the menu that appears, and change the priority from Normal to Low. Windows will show you a warning about changing the priority…click Yes to change it. Now go to the other program you had running, and it should behave as if it is the only program running.

If this is the behavior you want, you don’t have to worry about 1 CPUs/Cores versus 2 CPUs/Cores or any of that. You can leave multithreading on for all of your 3dsmax installations, and 3dsmax will still use almost all of the PC’s processing power on 3dsmax. The lower process priority simply makes Windows shove 3dsmax out of the way when there is the slightest mouse movement or keystroke when the user is editing documents in MS Word, browsing web pages or opening menus. Further, your 3D artists can use this to run render jobs in the background while using a different instance of 3dsmax to work on another scene. The script will set the netserver process to Low, while the 3dsmax process that they see and work with is set to Normal.

This is the only method that allows you to truly run 3dsmax in the background. (In my opinion, Autodesk should have either made this behavior the default, or at least put up a prompt during 3dsmax installation that asks for this option. It makes the use of Network Rendering on both artist and non-artists systems completely invisible.)

yes , this is just what i really want . thanks. maybe i have to go over the maxscript help document carefully . yes , if i have time . really .

thanks again .

十分感谢,谢谢。

No problem.

The MaxScript documentation is always a good idea, but you don’t need it to use this script. Just copy the script into your current startup scripts folder. To find this folder (which can be unique to each 3dsmax installation), open the Customize menu, select “Configure Paths” (or “Configure System Paths” in 3dsmax 8), go to the first tab and find “Startup Scripts” in the list. Any scripts in that folder will be automatically loaded whenever 3dsmax is started.

Just copy the script into the startup script folder for any 3dsmax installation, and close 3dsmax. The next time 3dsmax is started, whether in normal or NetRender mode, the script will be executed. Very quick and simple…

This script only works in 3dsmax 4 and above…3dsmax 3 lacks the sysinfo interface.

By the way, I remembered this script and was able to track it down again at www.scriptspot.com (as usual) and I forgot to mention them. It is a great site for finding all kinds of scripts…probably the best on the web.