# Optimizing the number of Unicorns and buffer size

**URL:** <https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [October 13, 2016, 7:17pm UTC](https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514 "2016-10-13T19:17:16Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![SimeonGriggs](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@SimeonGriggs](https://meta.discourse.org/u/SimeonGriggs)\
**Post date:** [October 26, 2017, 12:09am UTC](https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514/9 "2017-10-26T00:09:30Z")

</div>

> [@codinghorror](#):
>
> The usual, which is
> 
> - DB gets 1/4 of memory
> - Up to two unicorns per “real” CPU core (I’d limit to 8 for now though)

Bump.

So are you saying 8 Unicorns is the upper limit on any server? I have a server with 8x CPU and was thinking changing the config to use 16?

---

_[View the full topic](https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514)._
