From owner-freebsd-stable@FreeBSD.ORG Sat Dec 22 12:40:01 2007 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D10816A417 for ; Sat, 22 Dec 2007 12:40:01 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 69A5F13C455 for ; Sat, 22 Dec 2007 12:40:01 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so180202anc.13 for ; Sat, 22 Dec 2007 04:40:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=N2hL/zRb/YVdCNhp0fgNbQ12czbww9FcURW+BvF3Y6c=; b=Sx7NgA5adHPWAlJcbkn97RXw1lZgLnYdLFf8FkcT0d1GAbPlDmb2AWv1uzFVGWC6cY7UJKcoq2KV8DCaPDqCQqqNzWCMBTDjM3O/YRLmwccWjpVE94jZrtoufaBP+QkyZGWgsDaTA5t5Mmm2TwHETzsSlGAUFWhJl3DJdGQsAG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GBgjLlGa/umxaW6x0KmqxAOZPW0wrzGlxDr6lZg4sTZdWBMlt4DXp/NYC6IKhWdnFN/mUb4t+n7XI9Wto7vePnxh841XlC2WdHcgixNZFU9S1vjxRRhaMW2j4bRBBl9qqtBdceB3H8oeakK5adK0fD43FHtTsz00n1lPMAOSku0= Received: by 10.100.202.9 with SMTP id z9mr3085953anf.16.1198327200630; Sat, 22 Dec 2007 04:40:00 -0800 (PST) Received: by 10.100.228.15 with HTTP; Sat, 22 Dec 2007 04:40:00 -0800 (PST) Message-ID: Date: Sat, 22 Dec 2007 13:40:00 +0100 From: "Claus Guttesen" To: "User Ota" In-Reply-To: <20071222090553.GB16381@noah.ota.homelinux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200712220531.WAA09277@lariat.net> <20071222090553.GB16381@noah.ota.homelinux.net> Cc: stable@freebsd.org Subject: Re: SMP on FreeBSD 6.x and 7.0: Worth doing? freenx@deweyonline.com X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 12:40:01 -0000 > > > It appears, though I'd need to instrument the code more to be sure, > > > that the slowdown is coming from file I/O. Could it be that there > > > less concurrency or more overhead in FreeBSD file operations than > > > there is in Linux? Even with SoftUpdates turned on, the cache > > > volume mounted with -noatime, and aufs (which uses kqueues -- a > > > FreeBSD invention -- to optimize multithreaded disk access), the > > > benchmark shows FreeBSD losing out. Why? > > > > I have noticed an entry in GENERIC called > > > > device cpufreq > > > > Could this have any influence on the performance (on FreeBSD)? > > > > I saw this device late in the 7.0 release-process and I since I'm > > accustomed to comment out any devices and options I don't need I have > > commented this out as well. So I haven't performed any tests with and > > without this device. > > > > Cpufreq is for CPU frequency scaling. In the linux world, the cpufreq > daemon allows you to control your cpu speed and voltage using power > profiles and such, which makes it a definite power saving tool for > laptops. The cpufreq driver is already included with the Linux kernel, > so I'm going to assume that they've just implemented the cpufreq driver > in the kernel recently :) > > If enabled, it probably would have an impact on performance, however I > have lost the ability to test such a function since my laptop decides > not to POST anymore. Yes, I did figure out what the purpose of this device was. :-) My point was that this could lead to lower benchmarks on servers if GENERIC is used. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare