From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 03:00:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19A7A16A41F for ; Thu, 15 Dec 2005 03:00:57 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90B6343D6D for ; Thu, 15 Dec 2005 03:00:46 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.1/8.13.1) with ESMTP id jBF30hH8045779; Wed, 14 Dec 2005 19:00:43 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.1/8.13.1/Submit) id jBF30hUH045778; Wed, 14 Dec 2005 19:00:43 -0800 (PST) (envelope-from kline) Date: Wed, 14 Dec 2005 19:00:42 -0800 From: Gary Kline To: Chuck Swiger Message-ID: <20051215030042.GA45655@thought.org> References: <20051214171014.GB37495@thought.org> <7088318B-3141-44E6-9F50-CB51F6CAE501@mac.com> <20051214211749.GJ41870@thought.org> <200512141342.22051.kstewart@owt.com> <20051215005519.GA44946@thought.org> <43A0C8ED.4090209@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43A0C8ED.4090209@mac.com> User-Agent: Mutt/1.4.2.1i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 19 years of service to the Unix community Cc: Gary Kline , freebsd-questions@freebsd.org, Kent Stewart Subject: Re: fquestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 03:00:57 -0000 On Wed, Dec 14, 2005 at 08:37:49PM -0500, Chuck Swiger wrote: > Gary Kline wrote: > > On Wed, Dec 14, 2005 at 01:42:21PM -0800, Kent Stewart wrote: > [ ... ] > > Does it make any sense to use O3 when compiling stuff, > > when stuff includes world/kernel/drivers? Does upping the > > optimization make any significant difference in system > > performance, in other words? Kent? Anybody? > > No. You are likely to vastly increase the amount of time it takes to compile > the system without gaining any performance that's noticable. The system > generally shouldn't be spending a lot of CPU in the kernel, anyway, compared > with the amount of time running user-mode code. (Firewalls and routers are a > significant exception, however.) Good to know, thanks. I have done a lot of tuning on my DNS server. When I upgrade, you've given me more to think about. > > If you want your system to perform better, benchmark the work it's actually > doing, and then tune from there. Spending lots of time to optimize a part of > the system that is already pretty efficient isn't going to do much, whereas > solving the bottleneck will make a useful difference. > For some reason, using Gnome sometimes brings my test server to a crawl. It's running Ubuntu and they say straight out that "Linux is just a kernel." Other than the kernel my test system has the same software as I've got here. Here, I run ctwm and everything's snappy. Are there any benchmark suite you'd recommend to see what's sucking up the most cycles? On every platform, not just my test box (old e-machines:). top is not very helpful. gary -- Gary Kline kline@thought.org www.thought.org Public service Unix