Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Mar 2004 19:30:13 -0500
From:      Scott W <wegster@mindcore.net>
To:        Joseph Koenig <joe@jwebmedia.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 1 processor vs. 2
Message-ID:  <40452715.5030304@mindcore.net>
In-Reply-To: <BC6A0533.1DC4C%joe@jwebmedia.com>
References:  <BC6A0533.1DC4C%joe@jwebmedia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joseph Koenig wrote:

>I'm putting together a system that will host a relatively small database
>(around 20,000 records), as well as run Apache / PHP to search that
>database. I have the option in front of me to use a P III dual 1GHz machine
>with a SCSI Raid 5, or to use a single P4 2.8 GHz with a SCSI Raid 1. Both
>have 1GB RAM. I'm looking to use MySQL as the DB. The site that this machine
>will host gets about 2 million hits per months (yes, hits, not pageviews or
>visitors) from about 21,000 unique visitors. Does anyone have an opinion as
>to which machine will perform best under this scenario? Obviously, both
>would run FreeBSD. Thanks,
>
>Joe Koenig
>Production Manager
>jWeb New Media Design
>joe@jWebmedia.com
>http://www.jwebmedia.com/
>636.928.3162 
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>
Someone else already mentioned this, but RAID-1 will be faster than the 
RAID-5 at the storage level, if the RAID-5 array is a relatively small # 
of drives.  If you're talking about 2 disk RAID-1 versus 10 disks 
RAID-5, those numbers may change.  If the drives are integrated into the 
systems, it's also possible the RAID-1 disks are faster drives than the 
RAID-5 drives...

If you're going to run the DB and web server on the same system with a 
high percentage of static pages, the SMP system may help out.

If you have almost all dynamic content is full of complex DB queries, 
the P4 would do better based solely on CPU speed.

How about RAID-1 on the dual PIII and keep the P4 as a workstation? :-)

The PIII is likely up to the task, but it really depends on the type of 
content (is _everything_ PHP generating dynamic content, every page 
hitting the DB etc?)

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40452715.5030304>