From owner-freebsd-performance@FreeBSD.ORG Tue Dec 4 09:42:58 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03F4A16A41B for ; Tue, 4 Dec 2007 09:42:58 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id BAB0C13C46E for ; Tue, 4 Dec 2007 09:42:57 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id lB49gmOA058398; Tue, 4 Dec 2007 04:42:48 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lB49glKZ021633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Dec 2007 04:42:47 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200712040942.lB49glKZ021633@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 04 Dec 2007 04:40:55 -0500 To: Gergely CZUCZY From: Mike Tancsa In-Reply-To: <20071204092209.GA55785@harmless.hu> References: <20071129101729.GA57985@harmless.hu> <20071130143023.I884@192.168.1.107> <20071201163334.GA21709@harmless.hu> <200712012055.lB1Kt5IQ005728@lava.sentex.ca> <20071201205609.GA54238@harmless.hu> <200712012108.lB1L8qAd005766@lava.sentex.ca> <20071204092209.GA55785@harmless.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Jeff Roberson , freebsd-performance@freebsd.org Subject: Re: mysql scaling questions 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: Tue, 04 Dec 2007 09:42:58 -0000 At 04:22 AM 12/4/2007, Gergely CZUCZY wrote: >On Sat, Dec 01, 2007 at 04:06:55PM -0500, Mike Tancsa wrote: > > At 03:56 PM 12/1/2007, Gergely CZUCZY wrote: > > >I don't quite understand the question. It's the very same box, with > > >a dualboot configuration. > > > > Fire up the 3ware controller's RAID management software and make > sure the same write caching strategy is set for FreeBSD and Linux. > The driver my > > default to different values. > > > > i.e. under "controller settings" make sure "write cache" and > "queuing" are the same values for linux and freebsd. >I fail to see such an option, not under the 3ware BIOS software, nor >in the tw_cli interface. > >Could you be more specific on this? > >Note: in the BIOS i've seen WC turned on for all units, and there were no >OS-specific options. Hi, Its not in the bios, but in the management daemon. On FreeBSD, go to /usr/ports/sysutils/3dm and install the daemon. Start up 3dm2, point your browser to https://127.0.0.1:888 and login. Go to management menu and look at "controller settings" and there will be the values of write cache and queuing and storsav. Make sure the values set there, are the same on Linux and FreeBSD. You can download the LINUX version from 3ware's website. ---Mike