Results 1 to 12 of 12
-
05-05-2011, 11:47 AM #1Aspiring Evangelist
- Join Date
- Jun 2005
- Posts
- 367
Will an SSD drive help even if there's no iowait problem?
Hello,
My server has load averages of 2 to 3 and MySQL and PHP-FPM are consuming most of the resources.
top - 23:44:12 up 13 days, 21:50, 1 user, load average: 3.00, 2.73, 2.66
Tasks: 211 total, 5 running, 206 sleeping, 0 stopped, 0 zombie
Cpu(s): 39.6%us, 1.2%sy, 0.0%ni, 59.0%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 8165800k total, 8068172k used, 97628k free, 990932k buffers
Swap: 2096472k total, 200464k used, 1896008k free, 5080492k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29452 nginx 25 0 729m 232m 215m R 99.8 2.9 4452:29 php-fpm
19253 mysql 10 -5 1365m 695m 4584 S 31.6 8.7 2528:27 mysqld
I'm using a single SATA drive and Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz
I don't have any iowait problems. My question is will an SSD drive or even an SAS drive help in this case to lower the load?
-
05-05-2011, 12:48 PM #2WHT Addict
- Join Date
- Jul 2009
- Posts
- 134
There is nothing wrong with that load average.
I doubt a faster disk setup will make much difference. php-fpm seems to be using up a full thread though. I assume you're running multiple instances?<< Please review signature guidelines >>
-
05-05-2011, 07:35 PM #3Web Hosting Master
- Join Date
- Sep 2008
- Location
- Dallas, TX
- Posts
- 4,568
Nope, replacing it with a SSD or SAS drive will do you no good for now at least. However you scare me when running just one drive, you may want to consider getting two SATAs at the least and using RAID 1, even if it will not help you now I'd hate to have you lose all your data because your HDD died.
Jacob Wall
-
05-05-2011, 08:44 PM #4Web Hosting Master
- Join Date
- Jun 2006
- Posts
- 1,767
No, but if you want to speed things up a bit (assuming you're running a web server), try 1H Hive and Varnish. It looks like CPU is your bottleneck so a cache would definitely help.
-
05-06-2011, 01:46 AM #5Aspiring Evangelist
- Join Date
- Jun 2005
- Posts
- 367
-
05-06-2011, 05:15 AM #6WHT Addict
- Join Date
- Jul 2009
- Posts
- 134
-
05-06-2011, 10:57 AM #7Web Hosting Master
- Join Date
- Jun 2006
- Posts
- 1,767
Honestly I would try optimisation first as a load of 3 isn't really that high for an i7 system.
-
05-06-2011, 03:35 PM #8
You look to be at about 40% cpu utilization. As long as this is your peak load level, this is fine. The i/o wait looks like zero, so no, faster disks won't help you. You also don't need more ram, 5gb out of 8gb of your ram is being used for disk caching, so you have plenty of ram.
If you want things to go faster, you'll need to optimize your application or get a more powerful cpu. You've already got a really powerful cpu, but Dual E5645 xeons would be faster (12 cores @ 2.4ghz, vs 4 cores at 2.8ghz)IOFLOOD.com -- We Love Servers
Phoenix, AZ Dedicated Servers in under an hour
★ Ryzen 9: 7950x3D ★ Dual E5-2680v4 Xeon ★
Contact Us: sales@ioflood.com ★
-
05-07-2011, 12:46 AM #9Aspiring Evangelist
- Join Date
- Jun 2005
- Posts
- 367
-
05-07-2011, 01:01 AM #10Retired Moderator
- Join Date
- May 2006
- Location
- San Francisco
- Posts
- 7,325
-
05-07-2011, 11:49 AM #11Web Hosting Master
- Join Date
- Mar 2002
- Location
- •
- Posts
- 785
I believe as long as the load is below the number of CPU/cores, its ok.
With php-fpm you should run at least one for each core, so 8.
-
05-07-2011, 04:15 PM #12Junior Guru
- Join Date
- Jan 2010
- Location
- so cal
- Posts
- 234
In this situation, litespeed nor varnish will help much. The best thing to do is upgrade your cpu or find the root of the cause and fix any programming bottlenecks.
Also, can you post your cat /proc/cpuinfo
Similar Threads
-
Upgrading SSD/Boot Drive
By celona in forum Computers and PeripheralsReplies: 10Last Post: 03-22-2011, 07:15 PM -
SSD vs Spinning drive for hosting
By yohanesw in forum Colocation, Data Centers, IP Space and NetworksReplies: 40Last Post: 03-09-2011, 09:38 PM -
How to check if the HD is SSD drive?
By sodapopinski in forum Hosting Security and TechnologyReplies: 1Last Post: 06-11-2009, 04:41 PM -
servers with solid state drive (ssd)
By eming in forum Dedicated ServerReplies: 33Last Post: 10-07-2008, 06:36 PM