# Does Discourse scale well with cores?

**URL:** https://meta.discourse.org/t/does-discourse-scale-well-with-cores/91446
**Category:** Self-hosting
**Tags:** hosting
**Created:** [03.Июль.2018 07:24:03 UTC](https://meta.discourse.org/t/does-discourse-scale-well-with-cores/91446 "2018-07-03T07:24:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [03.Июль.2018 07:24:03 UTC](https://meta.discourse.org/t/does-discourse-scale-well-with-cores/91446/1 "2018-07-03T07:24:03Z")

</div>

Guys, running 3 Discourse sites (one is dev!) on 2 Core, 2 GB RAM VPSs with zero issues and excellent performance … but I wondered:

- Does a 1 Core server handicap performance in comparison?
- What processes make use of the extra cores when available?
- Do extra cores help serve more web requests at the same time?

For smaller and dev sites, does scaling _down_ to 1 core make sense?

Has anyone graphed CPU use on a busy server?

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [03.Июль.2018 07:27:39 UTC](https://meta.discourse.org/t/does-discourse-scale-well-with-cores/91446/2 "2018-07-03T07:27:39Z")

</div>

If you’re using multi-site install, [my understanding](https://meta.discourse.org/t/pros-and-cons-of-a-multisite-installation/90584) is that the number of sites barely matters, what counts is the number of simultaneously active users on all sites.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [03.Июль.2018 07:29:19 UTC](https://meta.discourse.org/t/does-discourse-scale-well-with-cores/91446/3 "2018-07-03T07:29:19Z")

</div>

Yeah, so performance does scale with cores?

You can serve ~twice as many users at once with double the cores? (assuming I/O can handle it)

No point in having low load dev server on a 2 core server?

(personally not running multi-site … they are all on virtually ‘discrete’ instances).

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [03.Июль.2018 10:19:26 UTC](https://meta.discourse.org/t/does-discourse-scale-well-with-cores/91446/4 "2018-07-03T10:19:26Z")

</div>

If you are simply asking if you can downgrade your dev instance, the answer is yes. You likely will never have enough active traffic to warrant the same setup you have for your active production sites.

For comparison purposes, my sandbox/dev site is a 1 core 1 GB RAM box on a 25 GB SSD and when I’m using it, it doesn’t feel sluggish to me at all. Rebuilds can take 15-30 minutes (since it is a full-fledge docker setup – not sure if you used the dev setup or official docker setup, but I imagine it will work with those specs for either).

---

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [01.Октябрь.2019 20:09:56 UTC](https://meta.discourse.org/t/does-discourse-scale-well-with-cores/91446/5 "2019-10-01T20:09:56Z")

</div>

Это может быть вам полезно

> [@How much is Discourse affected by a faster CPU?](https://meta.discourse.org/t/how-much-is-discourse-affected-by-a-faster-cpu/58407/33):
>
> Checking CPU scaling of the new box with i7z and stress. Reminder this is [the i7-8750H](https://ark.intel.com/products/134906/Intel-Core-i7-8750H-Processor-9M-Cache-up-to-4-10-GHz-) with 6 cores, 12 threads, 45W TDP. Here’s one task hogging CPU with stress --cpu 1, we definitely see 4100 Mhz as promised: Starting with ~10w power consumption with i7z running but nothing else. Let’s exercise us some cores! typical clock watts stress --cpu 1 4.1 Ghz 30w stress --cpu 2 4.1 Ghz 42w stress --cpu 3 4.0 Ghz 53w stress --cpu 4 3.9 Ghz 65w\* stress --cpu 5 3.7 Ghz 65w\* …
