Date: Thu, 20 Aug 2020 10:58:21 +0200 From: Lars Liedtke <liedtke@punkt.de> To: freebsd-questions@freebsd.org Subject: Re: Swapping when memory is idle?? Message-ID: <a4cf9216-ac42-252f-0f7f-bc17fcb2a55c@punkt.de> In-Reply-To: <CAAdA2WP8cr-uRgDRT_GX0faCSAFWORn9UMwqLZOWtLgXd0Hc9w@mail.gmail.com> References: <CAAdA2WP8cr-uRgDRT_GX0faCSAFWORn9UMwqLZOWtLgXd0Hc9w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QxWK0RwueBQHBM76LpgYvo0S8VsHqKLMc Content-Type: multipart/mixed; boundary="qaJCjrV7oDyEhZGKcUrR3WJQ6CikkEfT4" --qaJCjrV7oDyEhZGKcUrR3WJQ6CikkEfT4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: de-DE Hello, I have something similiar sometimes, e.g. when I had VMs running and stopped them. If the Kernel swapped data during that time, it will not get back things from swap it does not need right now. But there may be more expirienced people being able to explain more. Cheers Lars Am 20.08.20 um 09:53 schrieb Odhiambo Washington: > Hola, > > I have a machine with 16GB RAM and not heavily used. > I see from `top` some things that I do not understand well. > Why would a system use swap when memory is idle? > > Output of top shown below: > > > last pid: 2272; load averages: 0.07, 0.19, 0.17 > > up 26+12:09= :26 > 10:49:04 > 155 processes: 1 running, 154 sleeping > CPU: 0.1% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.9% idle > Mem: 799M Active, 6262M Inact, 4964M Laundry, 2465M Wired, 1492M Buf, 1= 564M > Free > Swap: 3598M Total, 3530M Used, 67M Free, 98% Inuse > --=20 --- punkt.de GmbH Lars Liedtke =2Einfrastructure Kaiserallee 13a=09 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de info@punkt.de AG Mannheim 108285 Gesch=C3=A4ftsf=C3=BChrer: J=C3=BCrgen Egeling, Daniel Lienert, Fabian St= ein --qaJCjrV7oDyEhZGKcUrR3WJQ6CikkEfT4-- --QxWK0RwueBQHBM76LpgYvo0S8VsHqKLMc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEh0MJwNfa5yPlb1D23W10TsFigGIFAl8+Oy4ACgkQ3W10TsFi gGJ6Pw/8CEZ998P0yMAWXbQY2LXbpHwN8luJ8ZRDTOrp4/7ipj09+WqJMF3cbo50 JhWvJ4R5gY4mjEOPocW0+WkbX+4HJSUNhdYFZLdvAfUgfCnrFNXBNJV1cXboxfed mzw4YgXRyc3fH7U2H8kH4ITGLoA8Qawd2lde53LkMlwZtVGfrb3u5p/W7B8uKrEu oftBqZxDNn4zTfUAPrTnHaarag0s0qB5ACbcrlxS81+QlBt8R6JQzfXnw/m0FUsv kOk1Me4qEmJa/ONCYSNk2eHeEFcxTymSTBEbnq28ASAiXZbUDG9lI6YewtRzf7ZM u+Pq8IXF4+PKYt7c3Ut0gfY9tc3kuT7x+QnreHHvZ3i0Ckcj8TTBp9x7h6IVLmQA CocCgCe0zT7UVcQdO7Km7Ttoxe6e9oiecTdzAiMQBXWxmE7JIZsU0d6bbpHcp6IJ rxKXKBpSAUstPefpZDRTk7Gma3stT4QoVYl+Y/RGibo53imezlnIktXyyBgpztsO 279rAf6p8Jrm/Gl+whbYq6vG0y+152TsJvhquPrgsw18GdBrpC//ZycWgfHnyFW/ SUp+Jfq/y5ES9duLPUccfhmnhCYFAPNF/U2AAymfmVyEj8feHgjfGfkwVXd+/Fyl JrvMEC5+Vut5sSAnpnMcJmdtqwZo0HWbXCWgjA+dHbfAv8CcD1c= =F2JS -----END PGP SIGNATURE----- --QxWK0RwueBQHBM76LpgYvo0S8VsHqKLMc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a4cf9216-ac42-252f-0f7f-bc17fcb2a55c>