From owner-freebsd-questions@freebsd.org Thu Dec 29 20:51:27 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 1DADEC9637A for ; Thu, 29 Dec 2016 20:51:27 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward2h.cmail.yandex.net (forward2h.cmail.yandex.net [IPv6:2a02:6b8:0:f35::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD2421975 for ; Thu, 29 Dec 2016 20:51:26 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward2h.cmail.yandex.net (Yandex) with ESMTP id 21B6220D11; Thu, 29 Dec 2016 23:51:15 +0300 (MSK) Received: from smtp2o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id BD8EA5080933; Thu, 29 Dec 2016 23:51:13 +0300 (MSK) Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id DkdkyBvU9n-pBpKoJEr; Thu, 29 Dec 2016 23:51:12 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1483044672; bh=MSa6KPRmdujsaV8zJozlxWCPDqvN9XzXM5MfbcsjN84=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References; b=KNXoG6Ndq202LuM4pP420FEFEJgmqgojJ5lmY9w9nV6+C0i1mLUaVD/8Y+xqpUL6n +BpjVHOuH5X8RclvsuBh5/69H5z2tVkHDLStvaDQWv1CUkKW6rSrHznfjSvWvC1SOJ dmhmvRhdhP+5JYbR0ES3vTN6MJBc7BJJY7E3VonY= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0,1 0,1 0 Message-ID: <1483044670.96510.7.camel@yandex.com> Subject: Re: swap partition From: Stari Karp To: Polytropon Cc: John Levine , freebsd-questions@freebsd.org Date: Thu, 29 Dec 2016 15:51:10 -0500 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> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 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: Thu, 29 Dec 2016 20:51:27 -0000 On Thu, 2016-12-29 at 21:05 +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"... > > 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  >   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. :-) > I did a test at this time still running when I writing email with Evolution:  I open Firefox and star on youtube watching 16 different movies, than star listening on VLC Gregory Isaac and on Mplayer run W. Wenders Paris-Texas. On GIMP I edit one photo and open was Blender, Stellarium, play between working on GIMP game Rocks'n Diamonds and copy /home and /var on external firewire HD. Swap was not touched, 0% and memory was used 1.9 GB. I monitored with System Monitor on GNOME 3.