From owner-freebsd-stable@FreeBSD.ORG Tue Apr 8 08:57:15 2014 Return-Path: Delivered-To: freebsd-stable@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 4FA1AB61 for ; Tue, 8 Apr 2014 08:57:15 +0000 (UTC) Received: from smtp-gw11.han.skanova.net (smtp-gw11.han.skanova.net [81.236.55.20]) by mx1.freebsd.org (Postfix) with ESMTP id D546516F2 for ; Tue, 8 Apr 2014 08:57:13 +0000 (UTC) Received-SPF: none (smtp-gw11.han.skanova.net: domain bridgenet.se does not designate permitted sender hosts) identity=mailfrom; receiver=smtp-gw11.han.skanova.net; client_ip=2.248.9.41; envelope-from=johan@bridgenet.se; helo=postfix.bridgenet.se; Received: from postfix.bridgenet.se (2.248.9.41) by smtp-gw11.han.skanova.net (8.5.133) id 52F739C401B7020D; Tue, 8 Apr 2014 10:57:05 +0200 Received: from [192.168.1.107] (unknown [192.168.1.107]) (Authenticated sender: johan) by postfix.bridgenet.se (Postfix) with ESMTPSA id 4C92488AF; Tue, 8 Apr 2014 10:57:05 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: What's up with the swapping since 10/stable From: Johan Broman In-Reply-To: <5B77B062-F3BA-4AB4-A20A-65A599968AA9@gmail.com> Date: Tue, 8 Apr 2014 10:57:04 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <533DB9B1.3070500@denninger.net> <20140405152855.1cfcf37c87bdff3306d0cd6c@dec.sakura.ne.jp> <5342F61B.4030006@intertainservices.com> <5B77B062-F3BA-4AB4-A20A-65A599968AA9@gmail.com> To: Dmitry Sivachenko X-Mailer: Apple Mail (2.1874) Cc: stable-list freebsd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 08:57:15 -0000 On 07 Apr 2014, at 23:29, Dmitry Sivachenko wrote: >=20 > On 07 =D0=B0=D0=BF=D1=80. 2014 =D0=B3., at 23:01, Mike Jakubik = wrote: >=20 >> The thing is i don't use ZFS. One of my servers is running on = 9-STABLE with ZFS and uses a fraction of the swap that my desktop does. >=20 >=20 > See this thread: > = http://lists.freebsd.org/pipermail/freebsd-hackers/2014-April/044786.html >=20 > (especially few last messages) >=20 Thanks! Hmmm. In Linux there is the vm.swapiness parameter that dictates = how the vm should prioritise swapping. Although not perfect, is there a = similar tuneable available in FreeBSD? I think it would be useful to be = able to tune this as different workloads will benefit from different = settings. The parameters I=E2=80=99m aware of are: vm.swap_idle_enabled: 0 vm.defer_swapspace_pageouts: 0 I haven=E2=80=99t tried these parameters in FreeBSD 10 yet=E2=80=A6 have = anyone else seen the impact of these? Cheers Johan=