Re: VPS 1 core vs 2 cores

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nathan England
Date:  
To: Main PLUG discussion list
Subject: Re: VPS 1 core vs 2 cores


I don't know that I would want to run a production site with Magento and
Drupal with less than 4gb of ram. The cores = more visitors concurrently
to your website. Unless very well designed, mysql/mariadb threads will
only use a single core per query, so one user on the site could
potentially stall the site with a huge query. Having multiple cores
means multiple queries.

Naturally it is more complicated than that, but I figure with the
generalities you are asking about, that about fits the bill.



On 2015-09-08 13:01, Keith Smith wrote:
> Hi,
>
> I am wondering what your opinion is on cores and RAM when using a VPS.
>
> I am thinking about this in the context of Drupal and Magento, both of
> who are resource hogs.
>
> I was told more RAM is much more valuable on a VPS than is the number
> of cores.
>
> I'm assuming 4G of RAM is enough to not go into swap. I'm thinking
> this should be fine for a production site with moderate traffic
> running either Drupal or Magento.
>
> As you know more cores means more money when it comes to VPS servers,
> while RAM is cheap.
>
> Of course we know opcode cache, varnish, and memcache(d) can work
> wonders in speeding up websites. For this discussion lets assume we
> are using none of them.
>
> The question is, will a second core make all that much difference if
> enough RAM is present to not use swap? How would I know I need a
> second core - look at the load?
>
> And is there other consideration or things I should be looking at?
>
> Thank you very much for all your feedback!!
>
> Keith
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
Nathan England (480) 559 - 9681

http://www.nmecs.com/
Web Developer, PHP Programmer, Lamp Administration, and
Information Security Specialist



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss