From owner-freebsd-current@freebsd.org Sat Mar 26 17:28:25 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68B2CADE2AC for ; Sat, 26 Mar 2016 17:28:25 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.auburn.protected-networks.net (mail.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.auburn.protected-networks.net", Issuer "Protected Networks Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 665231B3C; Sat, 26 Mar 2016 17:28:24 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.auburn.protected-networks.net (localhost.auburn.protected-networks.net [127.0.0.1]) by mail.auburn.protected-networks.net (Postfix) with ESMTP id 116D966; Sat, 26 Mar 2016 13:28:20 -0400 (EDT) Received: from mail.auburn.protected-networks.net ([127.0.0.1]) by mail.auburn.protected-networks.net (mail.auburn.protected-networks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0j73cy7_k8xA; Sat, 26 Mar 2016 13:28:18 -0400 (EDT) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks CA" (verified OK)) (Authenticated sender: imb@mail.auburn.protected-networks.net) by mail.auburn.protected-networks.net (Postfix) with ESMTPSA id 1835C8; Sat, 26 Mar 2016 13:28:18 -0400 (EDT) Subject: Re: CURRENT slow and shaky network stability To: "O. Hartmann" , "K. Macy" References: <20160325213025.61c41f2c.ohartman@zedat.fu-berlin.de> <20160326180045.790621bb.ohartman@zedat.fu-berlin.de> Cc: FreeBSD CURRENT From: Michael Butler Openpgp: id=6F63E6399DCC8E3E94D60F0642FF6BAE0442D492 Message-ID: <56F6C6B0.6010103@protected-networks.net> Date: Sat, 26 Mar 2016 13:28:16 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <20160326180045.790621bb.ohartman@zedat.fu-berlin.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 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: Sat, 26 Mar 2016 17:28:25 -0000 -current is not great for interactive use at all. The strategy of pre-emptively dropping idle processes to swap is hurting .. big time. Compare inactive memory to swap in this example .. 110 processes: 1 running, 108 sleeping, 1 zombie CPU: 1.2% user, 0.0% nice, 4.3% system, 0.0% interrupt, 94.5% idle Mem: 474M Active, 1609M Inact, 764M Wired, 281M Buf, 119M Free Swap: 4096M Total, 917M Used, 3178M Free, 22% Inuse PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1819 imb 1 28 0 213M 11284K select 1 147:44 5.97% gkrellm 59238 imb 43 20 0 980M 424M select 0 10:07 1.92% firefox .. it shouldn't start randomly swapping out processes because they're used infrequently when there's more than enough RAM to spare .. It also shows up when trying to reboot .. on all of my gear, 90 seconds of "fail-safe" time-out is no longer enough when a good proportion of daemons have been dropped onto swap and must be brought back in to flush their data segments :-( Michael