From owner-freebsd-performance@FreeBSD.ORG Fri Jul 14 16:52:34 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EBA916A4DE for ; Fri, 14 Jul 2006 16:52:34 +0000 (UTC) (envelope-from tobias@netconsultoria.com.br) Received: from srv1.netconsultoria.com.br (srv1.netconsultoria.com.br [200.230.201.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id C28DA43D49 for ; Fri, 14 Jul 2006 16:52:31 +0000 (GMT) (envelope-from tobias@netconsultoria.com.br) Received: from [172.16.16.100] (mailgw.netconsultoria.com.br [200.230.201.249]) (authenticated bits=0) by srv1.netconsultoria.com.br (8.13.7/8.13.3) with ESMTP id k6EGqS9M095602 for ; Fri, 14 Jul 2006 13:52:28 -0300 (BRT) (envelope-from tobias@netconsultoria.com.br) Message-ID: <44B7CBCC.7020100@netconsultoria.com.br> Date: Fri, 14 Jul 2006 13:52:28 -0300 From: "Tobias P. Santos" User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.2/1599/Fri Jul 14 02:35:31 2006 on srv1.netconsultoria.com.br X-Virus-Status: Clean Subject: Upgrade to dual-core (Pentium D) processor - Does it worth it? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 16:52:34 -0000 Hello! We have a server running FreeBSD 5.4 i386 (which we plan to upgrade to 6.1) with a single Pentium 4 2.8GHz processor without SMP kernel. This machine basically serves web pages that may or may not use MySQL server (also run in this server). Usually, we have low usage and load average is ~ 0.2 which is ok, but sometimes, one single process (e.g., mysqld) begins to use all CPU cycles, loading up the system and leading the other smaller processes (in terms of CPU usage) to have a high response time. 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? Thank you in advance, Tobias.