From owner-freebsd-current@FreeBSD.ORG Fri Jun 13 23:12:16 2014 Return-Path: Delivered-To: freebsd-current@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 B7F80956 for ; Fri, 13 Jun 2014 23:12:16 +0000 (UTC) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id 699092085 for ; Fri, 13 Jun 2014 23:12:16 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3gqyPp4RMyzb3 for ; Sat, 14 Jun 2014 01:12:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:organization :from:from:date:date:message-id:received:received:received; s= jakla2; t=1402701131; x=1405293132; bh=GiVB/w10xRsk1ZkX1kgcZW/bG ZA+U6WNDwe9PyKoQQA=; b=n7Bxu+IboTZ/HxtJ6ITrWlRpqZMeIMqCv9NC1akZP dXKhEHusY6iQdYlsMPC3juwRqZKfBS/vE/lugujLtBUxZ1FuL/k/bF5QfnIFILkG 3+KFk74eB4TdNQYSs90fCWg8iAabYNBdyIEcfbT9rBESH89iRxprbrllhzIWmtEy pE= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10012) with ESMTP id cu32wG17fv4s for ; Sat, 14 Jun 2014 01:12:11 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP for ; Sat, 14 Jun 2014 01:12:11 +0200 (CEST) Received: from [92.244.73.219] (vpn091.ijs.si [92.244.73.219]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mildred.ijs.si (Postfix) with ESMTPSA id 3gqyPl0H9czl7 for ; Sat, 14 Jun 2014 01:12:10 +0200 (CEST) Message-ID: <539B8548.7000906@ijs.si> Date: Sat, 14 Jun 2014 01:12:08 +0200 From: Mark Martinec Organization: Jozef Stefan Institute 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-current@freebsd.org Subject: Re: CURRENT: why is CURRENT swapping so fast? References: <20140612003612.25cc2851.ohartman@zedat.fu-berlin.de> <5398F2A2.2020808@gmx.de> <46D4CB84655148FE9A5F7578E5F4A8FD@multiplay.co.uk> In-Reply-To: <46D4CB84655148FE9A5F7578E5F4A8FD@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 23:12:16 -0000 On 2014-06-12 2:26, Steven Hartland wrote: > Also how recent a current there where some vm changes which apparently > helped with this > specifically r260567 and r265944. Is this also fixed in the 10.0-STABLE by now? I'm running "10.0-STABLE #0 r266449 May 19" (with ZFS and 16 MB of memory) and I'm noticing pretty much what O. Hartmann describes (since a couple of weeks or maybe a month ago). When some bulky operation (like a poudriere build) runs, some inactive processes are swapped out. This is just fine, but when the bulky task is finished, the ARC extends to the new released memory, but the swapped out jobs then struggle for memory when they become active again. It can take a minute for a sshd (login from remote) to respond with a prompt, and it can take long minutes for a swapped out SQL database (not large) or a web browser to become responsive again. The situation does not improve by itself, ARC has it all, less active jobs scramble and fight for whatever free memory is left for them and most of them remain swapped out. The best curse of action to recover is to reboot. Quite a pain. Mark