From owner-freebsd-current@FreeBSD.ORG Fri Jun 20 16:42:41 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 8941CD4C for ; Fri, 20 Jun 2014 16:42:41 +0000 (UTC) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id 383FE239E for ; Fri, 20 Jun 2014 16:42:40 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3gw5R321FRz1R1 for ; Fri, 20 Jun 2014 18:42:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla2; t=1403282554; x=1405874555; bh=/Tb RSY512z02LtW+7ZDRxkygGZeIqKGfYZBxHpn4+Mw=; b=dobV2YfgXg/frfWLMeP gOvNULEJUy90896ENO8u1llTq/jCD31Es/Lk/xnLhT7+qrNkuDCC4Jy/dztay2Fp m1fiFqNeYkE6M5QRRsuA4WBIqz9uuB0qGQ8gGhDKyG+ofX8lOLybHRjOamdvKTuQ cE5QJHM6+MWVjTy7PHW/M1eM= 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 ts3rE62-ARqR for ; Fri, 20 Jun 2014 18:42:34 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP for ; Fri, 20 Jun 2014 18:42:34 +0200 (CEST) Received: from neli.ijs.si (neli.ijs.si [IPv6:2001:1470:ff80:88:21c:c0ff:feb1:8c91]) by mildred.ijs.si (Postfix) with ESMTP id 3gw5Qy4916zXD for ; Fri, 20 Jun 2014 18:42:34 +0200 (CEST) Received: from neli.ijs.si ([2001:1470:ff80:88:21c:c0ff:feb1:8c91]) by neli.ijs.si with HTTP (HTTP/1.1 POST); Fri, 20 Jun 2014 18:42:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 20 Jun 2014 18:42:34 +0200 From: Mark Martinec To: freebsd-current@freebsd.org Subject: Re: CURRENT: why is CURRENT swapping so =?UTF-8?Q?fast=3F?= Organization: J. Stefan Institute In-Reply-To: <539CD081.2020900@ijs.si> References: <20140612003612.25cc2851.ohartman@zedat.fu-berlin.de> <5398F2A2.2020808@gmx.de> <46D4CB84655148FE9A5F7578E5F4A8FD@multiplay.co.uk> <539B8548.7000906@ijs.si> <20140614152907.GA61295@over-yonder.net> <539CD081.2020900@ijs.si> Message-ID: X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.0.1 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, 20 Jun 2014 16:42:41 -0000 > me wrote: >>> Is this also fixed in the 10.0-STABLE by now? >>> >>> 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. > > On 2014-06-14 17:29, Matthew D. Fuller wrote: >> You may want to check out >> which I >> believe is related. Make sure you get the latest patch rather than >> the older one, ref's in comment 10 at >> . > > Great, thank you, will apply it in the coming days. > > One would hope that such a serious pathological behaviour > (in 10-STABLE and 11) would get the patch applied by now > (patch available for two months now, problem described in March), > or the former logic reverted. I have this patch on a fresh 10.0-STABLE running now for five days, and things have improved significantly. Inactive processes are still swapped out, but ARC no longer monopolizes all it can grab, and newly activated processes get a chance to run quickly. Running a busy poudriere build no longer leaves the system in unusable state after it finishes. I hope this gets rolled into 10.0-STABLE soon. Mark