From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 6 17:54:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DA57448 for ; Tue, 6 Nov 2012 17:54:47 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 174DF8FC14 for ; Tue, 6 Nov 2012 17:54:46 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so321282dad.13 for ; Tue, 06 Nov 2012 09:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=MXV0bYAkLrWH+vn5tKB9cu45Q20ENUuKGJh3p7eeJqQ=; b=IqAzUj/N5tlRchgXamnScfqXo6TU6s2zZuo3gIwbEsVCuCaatM+bm4tUq2a0vfK2+u CDyYlu4oljaOWZ9nHvm3AMu0daxt/P1D2p60Zf0ohpEH8FqIHeEO2QBxYVyTcqv+a0Js 8N/SHtEEFII3kQkQipFgZ97xKnutx04L7S+FR59UESR+ge7up/iPfFo5J7/FEOz60Rdb D6iRsPIia36GvypAEdeYfqrBhiemaU+ogpe55FExyPmjf/m2aP6nC4DpE/8puqBw6chc m8Mu+e405S10AW6sYFp/BtXu5vFxyowhVco/1F3DT0EjcZlkhyKtq73PohyH/ExIcC8q k7yA== Received: by 10.68.225.34 with SMTP id rh2mr5542392pbc.78.1352224486530; Tue, 06 Nov 2012 09:54:46 -0800 (PST) Received: from [10.77.14.93] (mobile-166-147-081-002.mycingular.net. [166.147.81.2]) by mx.google.com with ESMTPS id pv7sm12668250pbc.20.2012.11.06.09.54.44 (version=SSLv3 cipher=OTHER); Tue, 06 Nov 2012 09:54:45 -0800 (PST) References: <50980ADD.4010402@rawbw.com> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (10A403) From: Garrett Cooper Subject: Re: pgbench performance is lagging compared to Linux and DragonflyBSD? Date: Tue, 6 Nov 2012 09:54:39 -0800 To: Wojciech Puchar Cc: Yuri , "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2012 17:54:47 -0000 On Nov 6, 2012, at 1:26 AM, Wojciech Puchar = wrote: >> defaults) is sysctl/tunable variables set in the *BSD OSes (on DFly, >> FreeBSD, and NetBSD). Unfortunately (based on my experience) FreeBSD coul= d >> be a lot better when it comes to defaults, and more tuning is required to= >=20 > actually FreeBSD defaults are actually good for COMMON usage. and can be t= uned. >=20 > default MAXBSIZE is one exception. "Common usage" is vague. While FreeBSD might do ok for some applications (de= v box, simple workstation/laptop, etc), there are other areas that require a= dditional tuning to get better perf that arguably shouldn't as much (or ther= e should be templates for doing so): 10GbE and mbuf and network tuning; file= server and file descriptor, network tuning, etc; low latency desktop and sc= heduler tweaking; etc. Not to say that freebsd is entirely at fault, but because it's more of a com= modity OS that Linux, more tweaking is required... Thanks, -Garrett=