# Build lighting cpu cores

**URL:** <https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [October 4, 2015, 3:29pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242 "2015-10-04T15:29:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [October 4, 2015, 3:29pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/1 "2015-10-04T15:29:20Z")

</div>

Hi , I have a phenom x6 100t cpu, when I build lights the swarm works only with one core? Why? Any help will be appreciated, thank you

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 5, 2015, 2:10pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/2 "2015-10-05T14:10:16Z")

</div>

Hi Missu,

You can check to see how many cores are being used by having a look by using the Developer Settings in Swarm Agent.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

The processor count should be set to 1 or 2 less than the number of cores that you have available. This value does not change on the fly either.

When you’re looking at the Status windows where you can see the light build being processed you can visually see all the cores being used by going to the Settings page and in the AllowedRemoteAgentNames and set the name to be **RENDER** \*

This will enable the individual cores being used to show their progress.

I hope this helps.

Tim

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [October 5, 2015, 2:19pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/3 "2015-10-05T14:19:38Z")

</div>

Thank you Tim Hobson, I uninstalled unreal and reinstall…now is ok I can see 4 cores from 6, but now if I want to work with all six cores how do I do? in previous versions in BaseLightmass.ini I can change the number of cores but in 4.9 there is no option for that. Thank you anyway

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 5, 2015, 4:23pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/4 "2015-10-05T16:23:27Z")

</div>

I’m not familiar with this originally being set in the BaseLightmass.ini. That may have been the case at one point, but I’m not sure that stands anymore. I just compared the 4.9 to the 4.7 ini and see no differences, so if it was well over a year ago at this point.

You can set the number of cores used by Swarm Agent using the method above though.

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [October 5, 2015, 4:29pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/5 "2015-10-05T16:29:59Z")

</div>

In lightmass.ini is a parameter called NumUnusedLightmassThreads i think, at line 21 i guess

---

<div class="post-metadata">

**Author:** ![josukutty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@josukutty](https://forums.unrealengine.com/u/josukutty)\
**Post date:** [August 11, 2016, 9:13am UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/6 "2016-08-11T09:13:40Z")

</div>

hi

even we face this issue with 4.11.5. all cores are not being used at end of baking. if anyone have any fix please let us know…

thanks

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [August 11, 2016, 1:42pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/7 "2016-08-11T13:42:39Z")

</div>

Not all cores are used all the time. This is normal. When cores aren’t being used they are waiting for others to finish before proceeding and sometimes there isn’t anything for them to do since they don’t all work on the same actors. This is why you get slight shading differences between some planar faces of different static actors in your scene.

---

<div class="post-metadata">

**Author:** ![josukutty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@josukutty](https://forums.unrealengine.com/u/josukutty)\
**Post date:** [August 16, 2016, 7:01pm UTC](https://forums.unrealengine.com/t/build-lighting-cpu-cores/334242/8 "2016-08-16T19:01:04Z")

</div>

thank you Tim… 🙂
