From owner-freebsd-performance@FreeBSD.ORG Sat Jun 25 20:38:14 2005 Return-Path: X-Original-To: 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 5BC2516A41C for ; Sat, 25 Jun 2005 20:38:14 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from mail.rulez.sk (DaEmoN.RuLeZ.sK [84.16.32.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13F4843D4C for ; Sat, 25 Jun 2005 20:38:14 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id CB9B71CC42; Sat, 25 Jun 2005 22:38:12 +0200 (CEST) Received: from danger.dnv.dewnet.sk (dewnet [213.215.105.189]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rulez.sk (Postfix) with ESMTP id 624E71CC41; Sat, 25 Jun 2005 22:38:09 +0200 (CEST) Date: Sat, 25 Jun 2005 21:58:48 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.5) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <1986158848.20050625215848@rulez.sk> To: "Shawn Mitchell" In-Reply-To: <20050625172623.42DAD204E1F@kcmop04.iodamedia.net> References: <42BD64F1.4080001@roq.com> <20050625172623.42DAD204E1F@kcmop04.iodamedia.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.rulez.sk X-Spam-Status: No, hits=-2.934 tagged_above=-999 required=5 tests=[AWL=-0.335, BAYES_00=-2.599] X-Spam-Level: Cc: 'Michael Vince' , 'Steve Roome' , performance@freebsd.org Subject: Re[2]: FreeBSD MySQL still WAY slower than Linux X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2005 20:38:14 -0000 Nemam dobru naladu Shawn, Saturday, June 25, 2005, 7:26:22 PM, si odoslal: > I tested a MySQL install on a Dell 6600. It's specs were 8 GB ram, 12 x 73 > 15k rpm drives (Ultra320) on a RAID5, 4 Xeon MP w/ 2 meg of cache, HT > enabled so the OS saw 8 CPU's. > Every time, a stock linux install (SuSE, CentOS, and Fedora) were always > faster than FreeBSD stock, or custom kernel utilizing different options. > I never could fully benchmark it running on Linux; as I never got the server > to max out before my benchmarking machine maxed out. > If your using 4.x, add these to your config file > options MAXDSIZ="(256*1024*1024)" > options MAXSSIZ="(256*1024*1024)" > options DFLDSIZ="(256*1024*1024)" these are not possible to use under 5.x? > I noticed a HUGE difference on FreeBSD with those added, but it still > doesn't crank up there with Linux. > Also, default linux install's do not make it use more ram. You still have > to copy one of the my-xxx.cnf files over to /etc/my.cnf or > /usr/local/etc/my.cnf > MySQL is developed on Linux, and ported to FreeBSD. That's the best > explanation you'll get probably. > Your posting a lot of configuration here except the most easily > important one for performance in MySQL, thats your my.cnf configuration file > You will more then double your performance if you just start off by copying > /usr/local/share/mysql/my-large.cnf > to > /var/db/mysql > MySQL out of the box setup to use a tiny amount of ram and it wouldn't > surprise me if a lot of Linux distributions have a much more high > performance my.cnf file since most distributions are aimed at people who > don't know what they are doing. -- Nieze by som chcel este nieco napisat, ale uz som to napisal. DanGer, ICQ: 261701668 | e-mail protecting at: http://www.2pu.net/ http://danger.rulez.sk | proxy list at: http://www.proxy-web.com/ | FreeBSD - The Power to Serve! [ s pokrokom by nic nebolo, len nie a nie ho skoncit. ]