i can corroborate swap slogging and thrashing has long been a problem for
both firefox and chromium, my way out has been to merely quit the browser
and relaunch, and seethe under my teeth wondering whether to blame the
horrible memory management on the kernel, browsers, libraries, or what.  on
the other hand just a couple days ago i watched in amazement as firefox
actually released a ton of swap while i continued browsing.  maybe somebody
is actually hip and incrementally improving something?


On Mon, Sep 18, 2017 at 4:26 PM, Jeff Chapin <chapinjeff at gmail.com> wrote:

> Swapoff checks that automatically -- but I usually do it when I notice
> that I am using a ton of swap, but not all my ram. It may just be an
> illusion, but it seems that when I have a browser that is starting to act
> up and slow, this fixes it.
>
>
> On Mon, Sep 18, 2017 at 4:17 PM, Justin Krejci <jus at krytosvirus.com>
> wrote:
>
>> Do you check to make sure your existing swap usage and RAM usage combined
>> does not equal a number higher than the amount of total RAM you have on the
>> system? I am guessing flushing swap into RAM when there is not enough RAM
>> available is a bad thing to do.
>>
>> Just curious, why do you clear your swap space like that periodically? If
>> your swap is being used too much, perhaps you either need more RAM or else
>> should maybe turn down your vm.swappiness in sysctl.
>>
>> On 2017-09-18 04:07 PM, Jeff Chapin wrote:
>>
>> I periodically check swap usage, and run:
>>
>> sudo swapoff -a; sudo swapon -a;
>>
>> This will force anything in swap (on disk) back into RAM.
>>
>> Jeff
>>
>> On Mon, Sep 18, 2017 at 4:05 PM, Steve Trapp <stevetrapp at comcast.net>
>> wrote:
>>
>>> Aha. I tried 'man swap' but didn't think of 'swapon'. My google search
>>> was not
>>> very productive, so I am thankful of your information! -Steve
>>>
>>> On Mon, Sep 18, 2017 at 07:16:16PM +0000, Iznogoud wrote:
>>> > >
>>> > > For GNU/Linux, how do you turn swap off and how do you turn in back
>>> on again?
>>> > >
>>> >
>>> > Here is the top of the manual page:
>>> >
>>> >
>>> > NAME
>>> >        swapon, swapoff - enable/disable devices and files for paging
>>> and swap-
>>> >        ping
>>> >
>>> > SYNOPSIS
>>> >        /sbin/swapon [-h -V]
>>> >        /sbin/swapon -a [-v] [-e]
>>> >        /sbin/swapon [-v] [-p priority]  specialfile ...
>>> >        /sbin/swapon [-s]
>>> >        /sbin/swapoff [-h -V]
>>> >        /sbin/swapoff -a
>>> >        /sbin/swapoff specialfile ...
>>> >
>>> > _______________________________________________
>>> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>>> > tclug-list at mn-linux.org
>>> > http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>>> --
>>> Name: Steve Trapp
>>> Location: Just east of the Missippi River
>>> Email-address: stevetrapp<AT>comcast<DOT>net
>>> Homepage: comcast DROPPED ALL HOMEPAGES--Where do I put my PGP public
>>> key now?
>>> _______________________________________________
>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>>> tclug-list at mn-linux.org
>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>>>
>>
>>
>>
>> --
>> Jeff Chapin
>> President, CedarLug, retired
>> President, UNIPC, "I'll get around to it"
>> President, UNI Scuba Club
>> Senator, NISG, retired
>>
>> _______________________________________________
>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>> tclug-list at mn-linux.org
>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>>
>>
>> _______________________________________________
>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>> tclug-list at mn-linux.org
>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>>
>>
>
>
> --
> Jeff Chapin
> President, CedarLug, retired
> President, UNIPC, "I'll get around to it"
> President, UNI Scuba Club
> Senator, NISG, retired
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
>


-- 
this concludes test 42 of big bang inflation dynamics.  in the advent of an
actual universe, further instructions will be provided.
000000000000000000000042
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20170919/2f3ed322/attachment-0001.html>