From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 7 14:36:04 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 44B9EBCC for ; Wed, 7 Nov 2012 14:36:04 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id BFEC68FC08 for ; Wed, 7 Nov 2012 14:36:03 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id c10so824817eaa.13 for ; Wed, 07 Nov 2012 06:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=hXhJuK6yz2JwmUk+AP0bpA64By+HGz2KAIXwCZB0R84=; b=d92arrSTnWVRO3CBERELj0K6c3AuGK27QMCZew3wsk/WbB2hUhWof6esgFxOHLYcFm rpzpzZaXOO3pXtiR2LDzOLtfhnSTsIVTeO6S8yc/s9eMI/BDaTB80/PCLIL4PczYS53U QMQf+JUn0G6l/B5b7XWz/F8k6Cj21NuLRn4kAnUFQjLJtt73TLU+rSFUOs2laW9HUNym yEkZchPV/sAQa28IKwl7MNts/q+SeXDSu6bPC5rmZ8j4y5TIIhfwA4NRIqAv6d4dLg6m i25rCsv+7N8cA6pjEEA9ucFUHlbFoKEzUX8NsIjucv3efEzwf7VCMoTvZkDk4MuZRwVr GP9A== Received: by 10.14.216.193 with SMTP id g41mr16170449eep.37.1352298962614; Wed, 07 Nov 2012 06:36:02 -0800 (PST) Received: from ndenevsa.sf.moneybookers.net (g1.moneybookers.com. [217.18.249.148]) by mx.google.com with ESMTPS id g47sm64211959eeo.6.2012.11.07.06.36.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Nov 2012 06:36:01 -0800 (PST) Subject: Re: pgbench performance is lagging compared to Linux and DragonflyBSD? Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii From: Nikolay Denev In-Reply-To: Date: Wed, 7 Nov 2012 16:35:59 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <50980ADD.4010402@rawbw.com> To: Wojciech Puchar X-Mailer: Apple Mail (2.1499) Cc: Garrett Cooper , 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: Wed, 07 Nov 2012 14:36:04 -0000 On Nov 7, 2012, at 4:48 PM, Wojciech Puchar = wrote: >>>=20 >>> actually FreeBSD defaults are actually good for COMMON usage. and = can be tuned. >>>=20 >>> default MAXBSIZE is one exception. >>=20 >> "Common usage" is vague. While FreeBSD might do ok for some = applications (dev box, simple workstation/laptop, etc), there are other = areas that require additional tuning to get better perf that arguably = shouldn't as much (or there should be templates for doing so): 10GbE and = mbuf and network tuning; file server and file descriptor, network = tuning, etc; low latency desktop and scheduler tweaking; etc. >=20 > still any idea why MAXBSIZE is 128kB by default. for modern hard disk = it is a disaster. 2 or even 4 megabyte is OK. >=20 >>=20 >> Not to say that freebsd is entirely at fault, but because it's more = of a commodity OS that Linux, more tweaking is required... > actually IMHO much more tweaking is needed with linux, at least from = what i know from other people. And they are not newbies > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org" Actually MAXBSIZE is 64k, MAXPHYS is 128k. There was a thread about NFS performance where it was mentioned that = bigger MAXBSIZE leads to KVA fragmentation.