From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 07:13:16 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61CE6A2D for ; Thu, 31 Jul 2014 07:13:16 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2BD2241 for ; Thu, 31 Jul 2014 07:13:15 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id B77E131B08 for ; Thu, 31 Jul 2014 07:13:14 +0000 (UTC) Message-ID: <53D9EC9E.3020207@freebsd.org> Date: Thu, 31 Jul 2014 03:13:34 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 10 swapping Idle processes :/ References: <53D962A7.5090105@gmail.com> <53D97C71.3050806@freebsd.org> <20140731011516.21b1261d@gumby.homeunix.com> <53D9EBA0.5030600@gmail.com> In-Reply-To: <53D9EBA0.5030600@gmail.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jPmRdmE0cXMEdEngCpNcnTvFaP1UKKtO1" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 07:13:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jPmRdmE0cXMEdEngCpNcnTvFaP1UKKtO1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-07-31 03:09, Adi wrote: > Hello >=20 >> swapping refers to the management of paging at the process level - in >> some cases it's more efficient to page-out all the memory from some >> idle or less active processes.=20 >=20 > But this is probably new behavior in FreebSD 10 ? > I don't see it before on 9.1 in similar server load. >=20 >=20 >=20 >> I just reproduced this by dd'ing a 16 GB file to tmpfs (with 16GB RAM,= >> and 16GB swap). Some processes were marked as swapped before any >> actual paging occurred. \ >=20 > I forgot write, have small tmpfs too: >=20 > tmpfs 2,0M 252K 1,8M 12% > /var/pgsql/data/pg_stat_tmp >=20 > Best Regards. >=20 >=20 >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" >=20 If you reboot and don't use the tmpfs, do the symptoms go away? --=20 Allan Jude --jPmRdmE0cXMEdEngCpNcnTvFaP1UKKtO1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJT2eyhAAoJEJrBFpNRJZKfkK0P/1fx9dOrIgua3EbD+3y5pAaR aB+Epjd+AhQCcZ7/IF3CP7iE/uu7jTrdkzOc4RRfhWQl5g8CrkEMMIWGBbliOWqL 3dTJNWNNwRwOt5UJ4+pdfJ3tS0WJTRnw3BpJLSNk2MyvIvMYx+WbnmfWxY5wHF8I fPSPuveQHlupdYvZIQFtpljbMPPpw+7Ae8b+OAoV23JG86qusQnhkBafSUz7i0RJ wMjLpMJFscv7eW/kyaaj46qdyCch7y7M5WJDVo2GO+VMiKDY2rABy3aN0shd/d/x YBamJm2uwPcHc2CUuW41SvGtAD6tOhp1pTx4JmtsRbxzde18g9bBgd1/KLhIgRKD MJTZCZ/S5i76FNQ+1/UBi1WG2Op3idYn2M8qIxU3sALZYEPM3qtVUlpox5nef2Mx V4gcfvCrBBt4Wp3ca7zi8CDADCMp3qFnItl/jzbgLg92Lq9DPrsX7aULB20QRFnZ drtKKigYkD510g/Xf248mz2wmvN/ypC2PAarUtrXlApXqV8/I6hV8WexvWQX2Hkz tIEguFHKmxIn5fjRrTLYc9OGBNCrp9QisWntVMzls9oNFD8v5akuOgiAn6yQkkD7 E9eEupu6Epd6CLO+N4j1pnBbU0algXvr/7P2llZifuUvfVmEPE39hZFBLbqqqpaX pPCMvtVFhCKDvU9Fn32e =hl6X -----END PGP SIGNATURE----- --jPmRdmE0cXMEdEngCpNcnTvFaP1UKKtO1--