# Swarm CPU/Core/Thread Limit

**URL:** <https://forums.unrealengine.com/t/swarm-cpu-core-thread-limit/303734>\
**Category:** Platform & Builds\
**Tags:** swarm, swarm-agent, unreal-engine, question\
**Created:** [January 12, 2015, 4:37pm UTC](https://forums.unrealengine.com/t/swarm-cpu-core-thread-limit/303734 "2015-01-12T16:37:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [January 12, 2015, 4:37pm UTC](https://forums.unrealengine.com/t/swarm-cpu-core-thread-limit/303734/1 "2015-01-12T16:37:35Z")

</div>

Dear Epic, dear Community,

I wanted to ask if there is a Limit on the amount of CPUs/Cores that Swarm can use?  
To be more precise:  
(1) is there a limit on swarm agent clients?  
(2) Did anyone try a dual socket machine and does swarm use both processors without problems? If so, does it scale well?  
(3) For example using the latest and biggest 18 Core Xeon, this would result in 72 Threads (Dual CPU) on Windows on a single machine. Could the Swarm Agent take use of all the threads or is there a limit? Any experiences?

Thank you for all the input in Advance;

Guido

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0df12f74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0df12f74](https://forums.unrealengine.com/u/anonymous_user_0df12f74)\
**Post date:** [January 12, 2015, 6:26pm UTC](https://forums.unrealengine.com/t/swarm-cpu-core-thread-limit/303734/2 "2015-01-12T18:26:40Z")

</div>

Hi there,

There does not seem to be a limit on the number of cores/threads for Swarm, I have seen a few posts where they were using 72 or higher number of threads. Epic uses a network of servers that could potentially have 5-10x (possible more) more than a dual 18 core Xeon setup.

Here is a quote from the release notes of UE3 2009-11 Beta explaining how it works:

> Unreal Swarm is a massively scalable job distribution system optimized for high-speed networks of multi-core PCs. Designed in tandem with Unreal Lightmass to accelerate lighting computations, Swarm can manage clusters of computers of mixed brands, configurations, and performance levels, automatically distributing tasks on-demand and employing a transparent distributed cache system that allows for dramatically increased performance.

The only documentation currently available for swarm can be found here:

[http://udn.epicgames.com/Three/Swarm.html](http://udn.epicgames.com/Three/Swarm.html)

So whether you are building a server farm, or a single high powered server, you will be able to make use of all those cores. 🙂

---

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [January 12, 2015, 6:32pm UTC](https://forums.unrealengine.com/t/swarm-cpu-core-thread-limit/303734/3 "2015-01-12T18:32:54Z")

</div>

So I guess (1) can be answered No, there thus not seem to be a reachable^^ number of swarm agent clients. But what about 1 machine with high core count? Anyway, thanks for your answer! 🙂 I will wait for any more feedback before upvoting your answer, if this is ok with you 🙂

---

<div class="post-metadata">

**Author:** ![TolMinos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TolMinos](https://forums.unrealengine.com/u/TolMinos)\
**Post date:** [April 28, 2021, 6:43pm UTC](https://forums.unrealengine.com/t/swarm-cpu-core-thread-limit/303734/4 "2021-04-28T18:43:16Z")

</div>

Hey, I just solved the problem.

1. In Swarm Agent, go under the “Settings” tab, set “EnableDeveloperMenu” to “True”. Now DeveloperSettings tab appears.

2. Under “Local PerformanceSettings”, there’s a “LocalJobsDefaultProcessorCount”. Set that to the number you want.

3.Restart the Swarm Agent and enjoy your newly unlocked power.

Cheers!
