From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 07:09:19 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B024C85C for ; Thu, 31 Jul 2014 07:09:19 +0000 (UTC) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B37621A1 for ; Thu, 31 Jul 2014 07:09:19 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id q58so2308425wes.21 for ; Thu, 31 Jul 2014 00:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=whj7KzywBIDWgheVysJjqcPYhs1pk+z9rgVwy+VZW3w=; b=b9Y8XVRkKaT5xRPs0g+LS/07oiTCYSvO7cmh+nFuEITfcUgsRmRa4Sp3mgRgRpzVLN brS54WZMONyMFJdEKq9HAraRUC6FQb8m8ajvnX7sDVq/Rw+B6unsiee3dBSxiD8GhNvJ gU0kjoKrK2GvnXqDeTHyu24ih29u2rSKBKYLqONCMLOjDjPnj4xPlinNv6s5cKYKi/ya QjKvZSl08gkki/0GV2w3OOYq3Fm7Ji34MzUsBa+tzgfR8pr19gt7CcKLdq7qYsJ7EeVp nddvkWR5jRHbuRGoSCsAYUznkOBnzsrutJcQKiYZvMDVry5I9bIcYYKc+68lbCNoDVKi JAMA== X-Received: by 10.194.222.5 with SMTP id qi5mr13526822wjc.62.1406790557163; Thu, 31 Jul 2014 00:09:17 -0700 (PDT) Received: from [192.168.2.100] (dhcp46-187-149-223.eaw.com.pl. [46.187.149.223]) by mx.google.com with ESMTPSA id 10sm11270436wjr.22.2014.07.31.00.09.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Jul 2014 00:09:16 -0700 (PDT) Message-ID: <53D9EBA0.5030600@gmail.com> Date: Thu, 31 Jul 2014 09:09:20 +0200 From: Adi User-Agent: Mozilla/5.0 (Windows NT 5.1; 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> In-Reply-To: <20140731011516.21b1261d@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:09:19 -0000 Hello > 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. But this is probably new behavior in FreebSD 10 ? I don't see it before on 9.1 in similar server load. > 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. \ I forgot write, have small tmpfs too: tmpfs 2,0M 252K 1,8M 12% /var/pgsql/data/pg_stat_tmp Best Regards.