# Better Swarm Node Management Settings

**URL:** <https://forums.chaos.com/t/better-swarm-node-management-settings/62188>\
**Category:** Requests\
**Created:** [February 9, 2017, 8:31pm UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188 "2017-02-09T20:31:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![SumitK](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@SumitK](https://forums.chaos.com/u/SumitK)\
**Post date:** [February 9, 2017, 8:31pm UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/1 "2017-02-09T20:31:17Z")

</div>

The ability to set CPU affinity (tell the V-Ray process it can use certain cores/cpus) to the Swarm process on nodes as well as the ability to set node availability schedules would make the swarm much better.

For instance, you can currently set the affinity of a node using Task Manager, but upon restarting the service or rebooting the computer, the changes are lost.

This would open up an alternative to having dedicated render nodes, and make it so you can use resources that either need some degree of usability while acting as a render node, or are only available during certain times (after hours, etc).

It was also mentioned in another thread, but we really need the ability to obtain a license when it’s needed, and not automatically when starting Revit.

 ![bEOwevJ.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/e/a/ea3fb70e59af4c90225f14fcd33386b0945bf0fd.png)

---

<div class="post-metadata">

**Author:** ![Tania.Metodieva](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@Tania.Metodieva](https://forums.chaos.com/u/Tania.Metodieva)\
**Post date:** [February 10, 2017, 1:59pm UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/2 "2017-02-10T13:59:16Z")

</div>

There is an option “Number of threads” in V-Ray Swarm that you can use.  
It will set the number of rendering threads for V-Ray. To access it please go to  
[http://servername:24267/configuration](http://servername:24267/configuration)

where servername is the IP address of the machine.

Click on the slider in the right-top corner to disable so you can apply the changes.  
Enter the number under “Number of threads” field in V-Ray, click Save and Enable from the slider.

Once you have this set you can use the “Copy Configuration” option in V-Ray Swarm to apply the changes on all machines.  
For more details, please refer to:

> **[Chaos Docs](https://documentation.chaos.com/)**

---

<div class="post-metadata">

**Author:** ![SumitK](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@SumitK](https://forums.chaos.com/u/SumitK)\
**Post date:** [February 10, 2017, 2:59pm UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/3 "2017-02-10T14:59:51Z")

</div>

I never noticed that setting was there! That’s awesome.

I still think there should be a schedule/availability of a machine though. Maybe even have different number of thread profiles depending on which tag is used to select that machine.

---

<div class="post-metadata">

**Author:** ![barthelemyaix](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@barthelemyaix](https://forums.chaos.com/u/barthelemyaix)\
**Post date:** [March 29, 2017, 2:22pm UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/4 "2017-03-29T14:22:53Z")

</div>

Connected topic : The swarm service is very often not started.  
It should be active, since it’s on “automatic” mode, but for some reason it doesn’t.  
Anyone having the same trouble ?

---

<div class="post-metadata">

**Author:** ![SumitK](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@SumitK](https://forums.chaos.com/u/SumitK)\
**Post date:** [March 29, 2017, 2:33pm UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/5 "2017-03-29T14:33:09Z")

</div>

I have noticed that sometimes the swarm node config page won’t load for some nodes and leads to a /GET error page until the service is restarted, but the service seems to always start initially on its own.

---

<div class="post-metadata">

**Author:** ![dmurrle](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@dmurrle](https://forums.chaos.com/u/dmurrle)\
**Post date:** [March 30, 2017, 2:44am UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/6 "2017-03-30T02:44:29Z")

</div>

yes same for me Win10 x64, I just told my users to start the service manually after rebooting the machine.

---

<div class="post-metadata">

**Author:** ![barthelemyaix](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@barthelemyaix](https://forums.chaos.com/u/barthelemyaix)\
**Post date:** [March 30, 2017, 8:33am UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/7 "2017-03-30T08:33:01Z")

</div>

Yes indeed, we are with Win10 x64 here too, I forgot to mention.  
the service is V-Ray Swarm v1.0.0 by the way  
Here we can’t start the service manually because the non-admin have no right to do that.  
But,  
Now we (the admin) changed the properties of the service :  
Startup type : Automatic **(Delayed Start)** ( instead of automatic)  
It seems to work better. The machine seems to start the service after reboot.

See if it works for you, and feedback please.

---

<div class="post-metadata">

**Author:** ![barthelemyaix](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@barthelemyaix](https://forums.chaos.com/u/barthelemyaix)\
**Post date:** [March 30, 2017, 9:47am UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/8 "2017-03-30T09:47:58Z")

</div>

As it could be useful for others, I created a new thread in this category instead :  
&nbsp;&nbsp;&nbsp;&nbsp;V-Ray for Revit forums  
&nbsp;&nbsp;&nbsp;&nbsp;V-Ray for Revit :: Bugs  
[https://forums.chaosgroup.com/showthread.php?93555-Swarm-service-doesn-t-start-automatically](https://forums.chaosgroup.com/showthread.php?93555-Swarm-service-doesn-t-start-automatically)

Please go there for new posts

---

<div class="post-metadata">

**Author:** ![dmurrle](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@dmurrle](https://forums.chaos.com/u/dmurrle)\
**Post date:** [April 1, 2017, 1:08am UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/9 "2017-04-01T01:08:56Z")

</div>

I tried the delayed start service today. Does not work for my machines.

---

<div class="post-metadata">

**Author:** ![akos\_seres](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@akos\_seres](https://forums.chaos.com/u/akos_seres)\
**Post date:** [January 29, 2021, 3:49pm UTC](https://forums.chaos.com/t/better-swarm-node-management-settings/62188/10 "2021-01-29T15:49:24Z")

</div>

I was having the same problem with my newly built render farm. All 8 nodes would not start Swarm automatically. I would have to stop Swam service and then start Swarm service which was just tedious for all 8 nodes whenever they would restart. I have since changed from Automatic to Automatic (Delayed Start) and now Swarm starts up after about 2 minutes from booting up. Thanks for the tip. I appreciate it.

What we did in the interim was used Auto Hot Keys and created a shortcut to execute V-Ray Swarm (stop service) wait 2 seconds and then execute V-Ray Swarm (start service). Put the code on an Arduino with a momentary button so that we could initiate it physically from each computer versus having to log onto each node and do it remotely. We are still keeping the buttons in play in case Swarm stops for some reason.
