From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 23 14:41:21 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78110106566C for ; Thu, 23 Feb 2012 14:41:21 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id F146C8FC0C for ; Thu, 23 Feb 2012 14:41:20 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so1454104bkc.13 for ; Thu, 23 Feb 2012 06:41:19 -0800 (PST) Received-SPF: pass (google.com: domain of ml@my.gd designates 10.204.156.77 as permitted sender) client-ip=10.204.156.77; Authentication-Results: mr.google.com; spf=pass (google.com: domain of ml@my.gd designates 10.204.156.77 as permitted sender) smtp.mail=ml@my.gd Received: from mr.google.com ([10.204.156.77]) by 10.204.156.77 with SMTP id v13mr857022bkw.112.1330008079964 (num_hops = 1); Thu, 23 Feb 2012 06:41:19 -0800 (PST) Received: by 10.204.156.77 with SMTP id v13mr702490bkw.112.1330008079747; Thu, 23 Feb 2012 06:41:19 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id w15sm3205342bku.0.2012.02.23.06.41.18 (version=SSLv3 cipher=OTHER); Thu, 23 Feb 2012 06:41:19 -0800 (PST) Message-ID: <4F46500D.3070609@my.gd> Date: Thu, 23 Feb 2012 15:41:17 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F45AB76.5050201@FreeBSD.org> <201202230822.16304.jhb@freebsd.org> In-Reply-To: <201202230822.16304.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnV6gFn25wLzl9ECTLaey4Ak6HMgBYbCeP+9sL96hu09WJVJxxzIS2+4pHfG0HMQ3r+mIzH Subject: Re: PostgreSQL benchmarks (now with Linux numbers) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 14:41:21 -0000 On 2/23/12 2:22 PM, John Baldwin wrote: > On Wednesday, February 22, 2012 9:59:02 pm Doug Barton wrote: >> On 02/22/2012 01:42, Ivan Voras wrote: >>> The Dragonfly team has recently liberated their VM from the giant lock and there are some interesting benchmarks comparing it to FreeBSD 9 and a > derivative of RedHat Enterprise Linux: >>> >>> http://leaf.dragonflybsd.org/mailarchive/kernel/2011-11/msg00008.html >>> >>> Other developments are described in their release notes: http://www.dragonflybsd.org/release30/ >> >> The 4.5 times improvement by enabling kern.ipc.shm_use_phys is pretty >> notable, what prevents us from enabling that by default? > > It makes all your SYSV SHMs wired. That's fine if you are running a dedicated > server using SYSV SHMs where you want that process to use all the RAM in the > machine (e.g. a pgqsl server). It's not so great for a general purpose load > where you would like an otherwise-idle process using SYSV SHMs to have the SHMs > paged out to swap if other processes on the machine need memory and the box is > under memory pressure. > John, any chance we can get that in layman's terms ? I'm totally no coder, but I'd really like if we could do this at my work place to increase our firewalls' performances.