Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 22:52:22 +0100 (CET)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        Rebecca Cran <rebecca@bluestop.org>
Cc:        freebsd-hackers Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: 13-CURRENT: several GB swap being used despite plenty of free RAM
Message-ID:  <alpine.BSF.2.20.1811172251090.60846@puchar.net>
In-Reply-To: <1748688.u6MfGjpqfb@photon.int.bluestop.org>
References:  <1748688.u6MfGjpqfb@photon.int.bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
freebsd will not swap with that lots of free ram.
but it's 90GB free NOW, how about before?

If something got swapped it isn't read back just because there is free 
memory but when it will be needed.

On Sat, 17 Nov 2018, Rebecca Cran via freebsd-hackers wrote:

> I'm running 13-CURRENT from a few days ago. I noticed the system using several
> GB of swap despite having 90GB RAM still free. I know FreeBSD will use *some*,
> but 3450MB seems excessive when there's still 90GB RAM free.
>
> CPU:  0.1% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.8% idle
> Mem: 3392M Active, 5489M Inact, 390M Laundry, 25G Wired, 90G Free
> ARC: 19G Total, 8080M MFU, 9242M MRU, 64K Anon, 197M Header, 1570M Other
>     15G Compressed, 26G Uncompressed, 1.73:1 Ratio
> Swap: 8192M Total, 3450M Used, 4742M Free, 42% Inuse, 36K In
>
> Quitting firefox caused the swap usage to drop to just 460MB. I don't
> understand why it would decide to swap out so much, especially since I have
> vm.swap_idle_enabled set to 0.
>
> -- 
> Rebecca
>
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1811172251090.60846>