From owner-freebsd-performance@FreeBSD.ORG Fri Dec 16 06:46:20 2005 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 5B0D316A41F for ; Fri, 16 Dec 2005 06:46:20 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D00843D53 for ; Fri, 16 Dec 2005 06:46:20 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id 9AB5656; Fri, 16 Dec 2005 14:46:16 +0800 (CST) Date: Fri, 16 Dec 2005 14:46:16 +0800 From: Gea-Suan Lin To: leo.huang.gd@gmail.com Message-ID: <20051216064615.GA41775@gslin.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: freebsd-performance@freebsd.org, gslin@gslin.org Subject: Re: Benchmark MySQL Performance On FreeBSD And Linux 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, 16 Dec 2005 06:46:20 -0000 Hi, In http://blog.gslin.org/archives/2005/12/12/252/ we test more cases, and summary some important conclusions: * SCHED_ULE (kernel options) is faster than SCHED_4BSD. * Use kern.timecounter.choice=TSC (sysctl) will be faster than ACPI-fast or ACPI-safe. (about 10% again) And I notice you use kernel-image-2.6.8-2-686-smp in Debian, but not use "CPUTYPE?= p3" in /etc/make.conf to compile kernel. And you should disable these options, it may increase ~10% again: -cpu I486_CPU -cpu I586_CPU cpu I686_CPU -- * Gea-Suan Lin (public key: http://ccreader.nctu.edu.tw/~gslin/key.txt) * If you cannot convince them, confuse them. -- Harry S Truman