Re: swapfile query

2017-08-20 Thread Gary Jennejohn
On Sat, 19 Aug 2017 15:38:15 -0700 Cy Schubert wrote: > In message <20170819213149.GA34140@raichu>, Mark Johnston writes: > > On Sat, Aug 19, 2017 at 02:24:19PM -0700, Cy Schubert wrote: > > > In message <201708192100.v7jl0vfk003...@slippy.cwsent.com>, Cy Schubert > > > writes: > > > > > >

Re: swapfile query

2017-08-20 Thread tech-lists
On 19/08/2017 22:00, Cy Schubert wrote: > An easy way to find out is to run top, type in "w", then "o" and "swap" to > see which processes are using swap. You'll notice that the numbers won't > add up. I haven't looked at this but my guess is that there may be swap > leak. You can verify this by

Re: swapfile query

2017-08-20 Thread tech-lists
On 20/08/2017 08:22, Gary Jennejohn wrote: > Depends. I have vm.pageout_update_period=0 in /etc/sysctl.conf > and scan rate (sr) really does reflect the true scan rate. On > my system sr is 0 while the system is idle. > > As an aside, my system (8GB RAM) hardly ever swaps, even under > heavy mem

Re: swapfile query

2017-08-20 Thread John Baldwin
On Saturday, August 19, 2017 06:08:29 PM tech-lists wrote: > On 19/08/2017 17:54, Cy Schubert wrote: > > Then it doesn't matter if you use one or many swapfiles and deleting the 4 > > GB won't make a difference. Just add the desired swap as required. > > > > With 128 GB RAM you shouldn't be swapp

Re: swapfile query

2017-08-20 Thread Stefan Esser
Am 20.08.17 um 01:39 schrieb Greg 'groggy' Lehey: >> 3. should total swap be 1x 2x or some other multiple of RAM these days? > > It never needed to be. The only issue is that if you want processor > dumps, you once needed a swap partition (and not a swap file) at least > marginally larger than me

Re: swapfile query

2017-08-20 Thread Jamie Landeg-Jones
> 3. should total swap be 1x 2x or some other multiple of RAM these days? According to tuning(7) : | SYSTEM SETUP - DISKLABEL, NEWFS, TUNEFS, SWAP | The swap partition should typically be approximately 2x the size of | main memory for systems with less than 4GB of RAM, or approximately | eq

Re: swapfile query

2017-08-20 Thread Cy Schubert
In message <201708210241.v7l2ftcf073...@donotpassgo.dyslexicfish.net>, Jamie La ndeg-Jones writes: > > 3. should total swap be 1x 2x or some other multiple of RAM these days? > > According to tuning(7) : > > | SYSTEM SETUP - DISKLABEL, NEWFS, TUNEFS, SWAP > | The swap partition should typicall

Re: [libelftc] internal library or not?

2017-08-20 Thread Michael Zhilin
Thank you, David! __cxa_demangle works fine [1] :) Best regards, Michael. [1] https://github.com/z0nt/pstack/pull/2/commits/8f45f92c63d385cd523d67f6ccbc436c7669f9d3 On Tue, Aug 1, 2017 at 6:22 PM, David Chisnall wrote: > On 1 Aug 2017, at 12:36, Michael Zhilin wrote: > > > > Hi Ed, freebsd