From owner-freebsd-questions@freebsd.org Thu Dec 29 20:05:13 2016 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 B3D2FC96017 for ; Thu, 29 Dec 2016 20:05:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 283531AD1 for ; Thu, 29 Dec 2016 20:05:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Thu, 29 Dec 2016 21:06:41 +0100 Received: from r56.edvax.de (port-92-195-28-64.dynamic.qsc.de [92.195.28.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 777A23CC42; Thu, 29 Dec 2016 21:05:03 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id uBTK52NH001966; Thu, 29 Dec 2016 21:05:02 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 29 Dec 2016 21:05:02 +0100 From: Polytropon To: Stari Karp Cc: John Levine , freebsd-questions@freebsd.org Subject: Re: swap partition Message-Id: <20161229210502.c5c2704f.freebsd@edvax.de> In-Reply-To: <1483032642.96075.3.camel@yandex.com> References: <20161229162919.34694.qmail@ary.lan> <1483032642.96075.3.camel@yandex.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with 6E119683482 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.2041 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: Thu, 29 Dec 2016 20:05:13 -0000 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: > > >=20 > > > I like to increase swap partition ... > > Why?=A0=A0Most BSD systems hardly use swap space at all.=A0=A0There's p= lenty > > of paging but that's mostly from the files that back the memory. > >=20 > > R's, > > John >=20 > 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%=A0 > (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"... 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: 1 [|||| 7.9%] Tasks: 73, 0 thr; 1 running 2 [| 2.6%] Load average: 0.38 0.70 0.42=20 Mem[|||||||||||||||||||1601/1990MB] Uptime: 00:52:33 Swp[||||| 275/2047MB] Over time, swap did increase a little bit, but hardly any CPU load - mostly I/O load. Mem[|||||||||||||||||||1597/1990MB] Swp[|||||| 404/2047MB] The system kept being basically responsive, but the browser was no fun to interact with until the "Flash" processes were forcedly killed. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...