Ways to reduce CPU usage?

paulgl

Member
Joined
Dec 27, 2012
Messages
94
Points
8
Does any one share me CPU ways to reduce CPU usage?
or I have to move to a new hosting to get avoid CPU usage problem?
 

ElixantTechnology

New member
Joined
Nov 26, 2014
Messages
622
Points
0
What kind of processor are you utilizing? You'd be surprised actually at how much stress a CPU can handle. For example, a traditional server utilizing an E3-1230v3 CPU with 32GB of memory is capable of housing upwards to 50 virtual machines before it becomes obvious that the system is under stress. It's a common misconception that people think when their server is slowing down that it has anything to do with the processor. Now, 4 years ago I could agree otherwise, however with later model processors this is not the case.

About 99% of the time when the server is under stress it is due to the fact that your services are actually eating up too much RAM. Traditional software when not optimized will utilize a lot of memory, for example MySQL without a properly optimized my.cnf will use 26GB of ram per 50 concurrent connections, depending on the software configuration. However, with tuning of the file, that same installation can utilize only 15GB of RAM per 500 concurrent connections.

This all comes down to the fact that a lot of people don't take the time to educate themselves on the software that they plan on using before actually jumping in head first. This is why, unless you have years of experience under your belt in managing a web server or at least the training to do so properly, I recomment utilizing either server management or just sticking with shared hosting. There is a lot of really powerful shared hosting platforms out there, you just need to know what to look for. Some things to avoid are hosts that use software like CloudLinux or BetterLinux, as they heavily restrict users and are focused on server density.

I know I've probably started to bore you, so I won't keep rambling on. I hope something I said above may be of help to you.
 

hostbrink

New member
Joined
Mar 15, 2015
Messages
23
Points
0
Lot of ways are their to reduce CPU usage. .. I always suggested use of cloudflare.com for decreasing CPU usage. I have seen lot of performance increase ... If you are using wordpress than optimize your wordpress.... Without proper optimization of wordpress database.. you can have lot of problems ... use premium themes from trusted developers ... buggy PHP code can increase load and create mess .....
 

MightWeb

New member
Joined
Mar 9, 2015
Messages
182
Points
0
What is it that you need to optimize? If you're hosting a WordPress-blog for example, you might be using some badly coded plugins, or just too many plugins. Try removing some that are unneccessary, or find replacements for the badly coded ones. For other software, the process and cause will be different - so a bit more detail into your project might help.

CloudFlare is a solid choice as well, as it can reduce the CPU usage by heavy off-server caching.
 

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top