From owner-freebsd-performance@FreeBSD.ORG Wed Dec 21 15:45:01 2011 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 62432106564A for ; Wed, 21 Dec 2011 15:45:01 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 14CA68FC0C for ; Wed, 21 Dec 2011 15:45:00 +0000 (UTC) Received: from [192.168.187.69] (unknown [87.54.33.251]) by csmtp2.one.com (Postfix) with ESMTPA id 36A20307653D; Wed, 21 Dec 2011 15:29:21 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Erik Cederstrand In-Reply-To: Date: Wed, 21 Dec 2011 16:29:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <77FBE722-2CAC-49A5-B0D2-4BBE33DDBCE5@cederstrand.dk> References: <4EE1EAFE.3070408@m5p.com> <4EE2AE64.9060802@m5p.com> <4EE88343.2050302@m5p.com> <4EE933C6.4020209@zedat.fu-berlin.de> <20111215024249.GA13557@icarus.home.lan> <4EE9A2A0.80607@zedat.fu-berlin.de> <4EF1121F.9010209@zedat.fu-berlin.de> <4EF11B57.7090007@phoronix.com> To: Randy Schultz X-Mailer: Apple Mail (2.1251.1) Cc: Tom Evans , freebsd-performance@freebsd.org Subject: Re: Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server 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: Wed, 21 Dec 2011 15:45:01 -0000 Den 21/12/2011 kl. 15.20 skrev Randy Schultz: > I agree whole-heartedly. I guess I wasn't clear. I wasn't trying to = say most > SA's never tune, only that from watching other SA's over the years, = little > tuning is done. As a casual SA, I often find I'm fumbling around in the dark to find out = if my server is running optimally. I can check CPU and memory usage, but = finding out if I could get my server to perform better by fiddling with = block sizes or any number of sysctls is daunting. Who knows, maybe my = batch jobs can complete 50% faster, or my CPU load can go from 20% to = 10%? I really like the mysqltuner script for MySQL in this regard because it = contains all the hard-earned experience of others and actually manages = to suggest useful values for the configuration file for me to adjust. It = would be great if there was something similar for FreeBSD that could = suggest things like "hey, you are getting interrupt storms on em0, might = want to check up on that" or "the block size on ada0 is insane for the = current I/O load" or "on this particular hardware, try setting sysctls = xxx and yyy to NNN instead" or "process 12345 is doing 1 billion system = calls/sec, doesn't seem right". Something like taking the suggestions = from = http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctls-= loader-conf-kernel and trying to guess from my specific setup which = knobs might apply, and possibly which values. I'm perfectly aware that this is not a substitution for actually = thinking, profiling and benchmarking, but at least I'll have a place to = start. Erik=