From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 00:26:20 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D8CCB916 for ; Thu, 12 Jun 2014 00:26:20 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 9E475294E for ; Thu, 12 Jun 2014 00:26:20 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 838CA20E7088C; Thu, 12 Jun 2014 00:26:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id 4A1A720E70885; Thu, 12 Jun 2014 00:26:08 +0000 (UTC) Message-ID: <46D4CB84655148FE9A5F7578E5F4A8FD@multiplay.co.uk> From: "Steven Hartland" To: "Matthias Andree" , References: <20140612003612.25cc2851.ohartman@zedat.fu-berlin.de> <5398F2A2.2020808@gmx.de> Subject: Re: CURRENT: why is CURRENT swapping so fast? Date: Thu, 12 Jun 2014 01:26:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 00:26:20 -0000 ----- Original Message ----- From: "Matthias Andree" > Am 12.06.2014 00:36, schrieb O. Hartmann: >> >> I use my boxes for daily work and in most cases, the usage of applications is the same. >> Compiling the OS and updating ports while having claws-mail and firefox opened is some >> usual scenario. >> >> I realise since a couple of weeks, if not months now, but always sticky to 11.0-CURRENT, >> that the system is even with 8 GB RAM very quickly out of memory and swapping. As of >> today - updating CURRENT (buildword) and also updating ports. Nothing else except >> firefox. And the box is using 1% swapspace. > > Are you using ZFS, and more to the point, did you recently start using it? > > Do you mean "start swapping out sooner than it used to do"? > > Do you expect that swap remains at 0 unless there is serious memory > pressure? > > One point: Linux rolls dice when it needs memory, with a tunable that > states the chance that either a cached page gets evicted, or an in-use > page gets swapped out. > > Has FreeBSD similar mechanisms these days? Also how recent a current there where some vm changes which apparently helped with this specifically r260567 and r265944. Regards Steve