From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 12:03:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8B2316A469 for ; Mon, 26 Nov 2007 12:03:20 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 66EAD13C474 for ; Mon, 26 Nov 2007 12:03:20 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.184.233]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id lAQC3Jlf003841; Mon, 26 Nov 2007 13:03:19 +0100 Date: Mon, 26 Nov 2007 13:03:19 +0100 From: Albert Shih To: Jan Catrysse Message-ID: <20071126120319.GA70494@pcjas.obspm.fr> References: <20071126115022.GA70340@pcjas.obspm.fr> <20071126115816.DB21928C76@smtp.proximedia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20071126115816.DB21928C76@smtp.proximedia.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.2.2]); Mon, 26 Nov 2007 13:03:19 +0100 (CET) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on mesiob.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: Help for very bad perf for MySQL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2007 12:03:21 -0000 Le 26/11/2007 à 13:01:47+0100, Jan Catrysse a écrit > > -----Original Message----- > > > > I've already send a message. But I don't receive any answer > > :-(. I try again and hope there more solution > > > > I've a bi-proc single core Xeon 3.2ghz with FreeBSD 6.2, I'm > > running Mysql 5.X on this server and the performance of MySQL > > is very bad. For some complexe select I've got ~6secondes (on > > some basic Linux it's take 0.6 sec). And I think this is > > nothing about thead (that's mean I don't think FreeBSD 7.0 > > can solve my problem) because it's just for one select. > > > > The server have two SAS 10 000 tr/m disks. > > > > Anyone have some advise to tunning FreeBSD or MySQL for > > increase the perf ? > > > > Regards > > -- > > Albert SHIH > > Observatoire de Paris Meudon > > SIO batiment 15 > > Heure local/Local time: > > Lun 26 nov 2007 12:46:06 CET > > 6 seconds seem to be an awful lot. What kind of query are you running on > what kind of database / contents? > I don't really known it's some scientifical data. But the problem is on a basic linux pc (with SATA disk) the time is 0.6 sec with same request and same data. And it's for web applications. At 6 sec for one request it's become very long for the visitor because the application make many requests. Regards -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Lun 26 nov 2007 13:00:32 CET