Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 13:05:29 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Tobias P. Santos <tobias@netconsultoria.com.br>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: Upgrade to dual-core (Pentium D) processor - Does it worth it?
Message-ID:  <71F17CAF-882F-48D8-91F5-52602F3B7C04@mac.com>
In-Reply-To: <44B7CBCC.7020100@netconsultoria.com.br>
References:  <44B7CBCC.7020100@netconsultoria.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jul 14, 2006, at 12:52 PM, Tobias P. Santos wrote:
> As this server's motherboard doesn't support an additional  
> processor, we are wondering whether a Pentium D processor (830)  
> might help to minimize this problem.
> In our understanding, one core would be busy with mysqld for  
> example, while the other one would be free to handle other  
> processes like httpd and serve pages that don't even need mysql  
> resources.
> Is this correct? Did someone have similiar (successful or  
> unsuccessful) experiences?

Yes, in particular, the preforking design that Apache uses  
distributes very well amoungst multiple CPUs.  There is some overhead  
from using SMP, you might get better performance by separating your  
workload into two machines, one dedicated to Apache and one dedicated  
to your MySQL database, but upgrading to a dual-core CPU is cheaper...


-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71F17CAF-882F-48D8-91F5-52602F3B7C04>