Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> My 2.4 SuperServer needs relief. What's best option?
unixrules
post Mar 2 2006, 09:10 AM
Post #1


Celery
*

Group: Members
Posts: 33
Joined: 27-January 05
Member No.: 42,499



I've got a 2.4Ghz with 1G of memory. It's running Linux/Red Hat.

Everything is good except my server is too busy. At first server was bogging down to a crawl, now I've tweaked it so it keeps running without blossoming to 800 processes, but wait times are often a problem. Mostly works, but if it gets behind I'll be restarting Apache and/or MySQL.

Heavy MySQL usage on this server. Most of the load comes from hundreds of phpBB forums, etc. I'm using the MySQL tune-up my.cnf that has been posted here (MySQL caching) but tuned slightly to my RAM.

MySQL > Status shows:

QUOTE
Threads: 4  Questions: 6999017  Slow queries: 5634  Opens: 787822  Flush tables: 1  Open tables: 512  Queries per second avg: 41.406


I was thinking about a 3.6 Super Server with a memory upgrade to 2G, although that isn't available now according to the ticket talk. There might be a 3.2 available though.

Anyway, for those with more knowledge than I, what would you recommend? Will the 3.2 be enough power and have room for a lot of growth. I'm expecting more phpBBs and lots of php and image serving. The plan is to split my major sites to the new server, keeping the medium/small ones on the 2.4.

Any suggestions?
Go to the top of the page
 
+Quote Post
xenneo
post Mar 2 2006, 10:39 AM
Post #2


SuperGeek
****

Group: Members
Posts: 1,337
Joined: 28-April 04
From: Reno, NV
Member No.: 40,520



QUOTE (unixrules)
I've got a 2.4Ghz with 1G of memory.  It's running Linux/Red Hat.

Everything is good except my server is too busy.  At first server was bogging down to a crawl, now I've tweaked it so it keeps running without blossoming to 800 processes, but wait times are often a problem.  Mostly works, but if it gets behind I'll be restarting Apache and/or MySQL.  

Heavy MySQL usage on this server.  Most of the load comes from hundreds of phpBB forums, etc. I'm using the MySQL tune-up my.cnf that has been posted here (MySQL caching) but tuned slightly to my RAM.  

MySQL > Status shows:

QUOTE

Threads: 4  Questions: 6999017  Slow queries: 5634  Opens: 787822  Flush tables: 1  Open tables: 512  Queries per second avg: 41.406


I was thinking about a 3.6 Super Server with a memory upgrade to 2G, although that isn't available now according to the ticket talk. There might be a 3.2 available though.

Anyway, for those with more knowledge than I, what would you recommend? Will the 3.2 be enough power and have room for a lot of growth. I'm expecting more phpBBs and lots of php and image serving. The plan is to split my major sites to the new server, keeping the medium/small ones on the 2.4.

Any suggestions?


3.6 is according to that thread icon_razz.gif, maybe the ram isnt though


--------------------
Go to the top of the page
 
+Quote Post
Creed3020
post Mar 2 2006, 10:39 AM
Post #3


SuperGeek
****

Group: Members
Posts: 1,004
Joined: 11-June 05
From: Toronto, Canada
Member No.: 43,162



I would recomend going with something that is 3.0 or faster because of the high demand you have with MySQL.

You mentioned you only have one gig of ram. A server with 2 gigs would do you well especially since you expect to expand in the future.

Since you plan on splitting the sites over two servers that should be the best way to increase performance across the board.


--------------------
R.I.P Insomnia365
R.I.P Cortex
Go to the top of the page
 
+Quote Post
unixrules
post Mar 2 2006, 12:45 PM
Post #4


Celery
*

Group: Members
Posts: 33
Joined: 27-January 05
Member No.: 42,499



Thanks for comments.

Maybe I should try for the Xeon?

Can anybody give me a rough idea of how much faster the Xeon Dual 2.4 would be? Is that like 4.8 compared to Super Servers, or ever more?
Go to the top of the page
 
+Quote Post
nForcer
post Mar 2 2006, 02:05 PM
Post #5


SuperGeek
****

Group: Members
Posts: 1,992
Joined: 30-July 04
Member No.: 41,306



Dual processors, keep in mind, do not process twice as fast as a single processor - they can actually be 2-4 times faster - UNDER certain circumstances.

In your case, dual Xeon processors with 2 Gig of ram would be very suitable for your needs and allow you to grow as well.

The discussion about single vs dual is a long and legnthy one depending on what uses/areas you need it for but if you're doing a lot of processing, or have a lot of tasks running at the same time, dual processor machines can handle them with better abiity than just a single one. I think that answers your question.


--------------------
Your Parole Officer
Go to the top of the page
 
+Quote Post
Blue|Fusion
post Mar 2 2006, 02:26 PM
Post #6


SuperGeek
****

Group: Members
Posts: 1,768
Joined: 15-May 04
From: Cleveland, Ohio
Member No.: 40,684



Don't count on CPU alone. As others said, more RAM will help, too. But one of the most critical peices of hardware that can increase performance, especially with applications such as MySQL is the harddisks. For best performance, use SCSI. If you don't go the SCSI route (or even if you do) you will definatrly want to balance your disk I/O accros two or more disks. Mount /var/lib/mysql on the secondary drive and maybe some other directories which will keep the input/output between the two disks about equal. That allows data to be written to and read from each disk at the same time, increasing performance and decreasing load.


--------------------
There are 10 kinds of people:
Those who understand binaries and
Those who don't.
Go to the top of the page
 
+Quote Post
eddy2099
post Mar 2 2006, 04:06 PM
Post #7


My life is The Planet
******

Group: Members
Posts: 9,564
Joined: 6-August 03
From: Singapore
Member No.: 37,995



What is your current CPU Load, memory usage and swap usage ?


--------------------
Batch Image Processors - http://www.batchimage.com
Go to the top of the page
 
+Quote Post
Beansprout
post Mar 2 2006, 05:02 PM
Post #8


Enlightened
*

Group: Members
Posts: 61
Joined: 26-December 05
Member No.: 43,959



Tweak MySQL and throw in more RAM. But more than anything, don't throw so much on a budget box...
Go to the top of the page
 
+Quote Post
unixrules
post Mar 2 2006, 05:43 PM
Post #9


Celery
*

Group: Members
Posts: 33
Joined: 27-January 05
Member No.: 42,499



Interesting multi-disk idea.

Here's the display from top. This is from a fairly happy state...

CODE
17:37:01  up 28 days, 59 min,  2 users,  load average: 0.52, 0.52, 0.87

217 processes: 211 sleeping, 2 running, 4 zombie, 0 stopped

CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle

          total   14.0%    0.0%    2.2%   0.0%     0.2%   43.6%   39.6%

          cpu00   19.5%    0.0%    3.3%   0.1%     0.5%   40.6%   35.6%

          cpu01    8.5%    0.0%    1.1%   0.0%     0.0%   46.6%   43.6%

Mem:  1027996k av, 1007424k used,   20572k free,       0k shrd,   97556k buff

                   734388k actv,   85716k in_d,   13972k in_c

Swap: 2040212k av,  609756k used, 1430456k free                  310612k cached


If some other stats would be useful, tell me, I'll post them. Thanks.

Budget box being the 2.4? If so, tell me about it! icon_wink.gif
Go to the top of the page
 
+Quote Post
Jeff
post Mar 2 2006, 06:37 PM
Post #10


SuperGeek
****

Group: Members
Posts: 1,388
Joined: 11-September 03
Member No.: 38,127



With a noticable amout of iowait even during a fairly happy state, I think your next server should definitely have a set of scsi drives if possible.


--------------------
:: The Planet P2800S Dual Xeon 2.8 :: Three 73 GB SCSI Drives :: 2 GB ECC RAM :: Awesome Server :: Excellent Network! :: Travel Nurse Reports
Go to the top of the page
 
+Quote Post
eddy2099
post Mar 2 2006, 08:14 PM
Post #11


My life is The Planet
******

Group: Members
Posts: 9,564
Joined: 6-August 03
From: Singapore
Member No.: 37,995



Adding more RAM might not be a bad idea, I can see that more than 600k of the harddisk is being cached. If you have more RAM, more of the processing can be done in memory rather than on the disk. Disk access is slower than RAM access.


--------------------
Batch Image Processors - http://www.batchimage.com
Go to the top of the page
 
+Quote Post
Blue|Fusion
post Mar 2 2006, 09:52 PM
Post #12


SuperGeek
****

Group: Members
Posts: 1,768
Joined: 15-May 04
From: Cleveland, Ohio
Member No.: 40,684



No matter what you do with the RAM, you will definately need SCSI if you plan to grow at all. I run a few big sites on a dual xeon with only 1GB RAM and 2 SCSIs. Low load and pretty high-volume traffic.


--------------------
There are 10 kinds of people:
Those who understand binaries and
Those who don't.
Go to the top of the page
 
+Quote Post
unixrules
post Mar 2 2006, 10:16 PM
Post #13


Celery
*

Group: Members
Posts: 33
Joined: 27-January 05
Member No.: 42,499



Thanks. Do I have to move to Total Control to get the SCSIs? Looks highly sweet.
Go to the top of the page
 
+Quote Post
nForcer
post Mar 2 2006, 11:35 PM
Post #14


SuperGeek
****

Group: Members
Posts: 1,992
Joined: 30-July 04
Member No.: 41,306



At the moment, yes.


--------------------
Your Parole Officer
Go to the top of the page
 
+Quote Post
Creed3020
post Mar 3 2006, 03:14 PM
Post #15


SuperGeek
****

Group: Members
Posts: 1,004
Joined: 11-June 05
From: Toronto, Canada
Member No.: 43,162



Insomia365 also features SCSI drives, both of my servers have SCSI drives.


--------------------
R.I.P Insomnia365
R.I.P Cortex
Go to the top of the page
 
+Quote Post
Blue|Fusion
post Mar 3 2006, 03:37 PM
Post #16


SuperGeek
****

Group: Members
Posts: 1,768
Joined: 15-May 04
From: Cleveland, Ohio
Member No.: 40,684



Go with a Total Control series server. I've been using them and recommending them to my friends in the business for almost two years no.


--------------------
There are 10 kinds of people:
Those who understand binaries and
Those who don't.
Go to the top of the page
 
+Quote Post
unixrules
post Mar 4 2006, 08:14 PM
Post #17


Celery
*

Group: Members
Posts: 33
Joined: 27-January 05
Member No.: 42,499



Thanks everybody for the advice.

I'm considering the P2800SL with 2G RAM upgrade. It gets me in the Total Control door, with faster cpu, more memory and faster drive. That will probably hold me for a while.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 9th September 2010 - 01:26 AM