From owner-freebsd-questions@freebsd.org Tue Jan 3 03:57:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B712C90672 for ; Tue, 3 Jan 2017 03:57:19 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp3.irishbroadband.ie (smtp3.irishbroadband.ie [62.231.32.5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B51D1F2A for ; Tue, 3 Jan 2017 03:57:18 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [89.127.62.20] (helo=smtp.lan.sohara.org) by smtp3.irishbroadband.ie with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1cOG1s-0008Bt-U0; Tue, 03 Jan 2017 03:44:53 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cMvcS-000HWa-0t; Fri, 30 Dec 2016 11:45:08 +0000 Date: Fri, 30 Dec 2016 11:44:23 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: swap partition Message-Id: <20161230114423.77ba806afc170cbe7d594046@sohara.org> In-Reply-To: <20161229210502.c5c2704f.freebsd@edvax.de> References: <20161229162919.34694.qmail@ary.lan> <1483032642.96075.3.camel@yandex.com> <20161229210502.c5c2704f.freebsd@edvax.de> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2017 03:57:19 -0000 On Thu, 29 Dec 2016 21:05:02 +0100 Polytropon wrote: > On Thu, 29 Dec 2016 12:30:42 -0500, Stari Karp wrote: > > On Thu, 2016-12-29 at 16:29 +0000, John Levine wrote: > > > In article <1483012420.95172.9.camel@yandex.com> you write: > > > > > > > > I like to increase swap partition ... > > > Why?  Most BSD systems hardly use swap space at all.  There's plenty > > > of paging but that's mostly from the files that back the memory. > > > > > > R's, > > > John > > > > I am using Synth and I have 8 GB memory and swap partition was made > > defaut 3.6 GB and when I built LibreOFFice and Firefox for example > > together than going swap to 100%  > > (swap_pager: out of swap space > > kernel: swap_pager_getswapspace(5): failed) > > and because that I think to increase swap partition. > > That's really "impressive"... Those are two of the most memory intensive builds in the ports, advice to OP - don't do them both together. > I had to open 70+ tabs with "Flash" content running in order > to get Opera start using swap - on a PC with 2 GB RAM, plus > 2 GB swap partition. I made a terminal capture for this > spectacular event: You don't have to try anything like so hard with any more modern browser (I like opera - it's a pity there's so much that doesn't work properly in it now) I doubt you'd get to 20 tabs with Firefox in 2GB. -- Steve O'Hara-Smith