From owner-freebsd-current@freebsd.org Sat Mar 26 23:31:44 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 68E7BADE3C5 for ; Sat, 26 Mar 2016 23:31:44 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48D9019E1 for ; Sat, 26 Mar 2016 23:31:44 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u2QNVXVm080178; Sat, 26 Mar 2016 16:31:38 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201603262331.u2QNVXVm080178@gw.catspoiler.org> Date: Sat, 26 Mar 2016 16:31:33 -0700 (PDT) From: Don Lewis Subject: Re: CURRENT slow and shaky network stability To: phk@phk.freebsd.dk cc: ultima1252@gmail.com, freebsd-current@freebsd.org In-Reply-To: <84490.1459033102@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii 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 23:31:44 -0000 On 26 Mar, Poul-Henning Kamp wrote: > -------- > In message > , Ultima writes: > >> A large zfs send [...] > > I am not running zfs. I am. I'm not seeing any unexpected problems. I haven't really loaded this system up with a big poudriere run since it's been booted. It's mostly just been singled-threaded compiles since then. A bit of swap is used and free memory is kind of low. In my case the culprit seems to be ARC. last pid: 28589; load averages: 1.06, 1.09, 1.08 up 3+15:55:10 16:12:51 71 processes: 2 running, 63 sleeping, 6 stopped CPU: 7.0% user, 0.0% nice, 0.9% system, 0.0% interrupt, 92.1% idle Mem: 564M Active, 6787M Inact, 23G Wired, 277M Buf, 656M Free ARC: 16G Total, 5494M MFU, 2062M MRU, 499K Anon, 573M Header, 8434M Other Swap: 40G Total, 4108K Used, 40G Free When I'm making heavy use of poudriere, swap usage goes up a lot and the pressure on free memory decreases the ARC size significantly. It's a headless machine accessed via ssh, so I won't see any issues with Xorgs and its clients getting paged out. Remote shell access seems to perform ok for me. Before r297203 I was running r296416 and really pushed it hard. I didn't observe any unexpected interactivity issues even with more than 10G of swap used and a load average over 50. I'd love to add more RAM, but the motherboard is at max capacity. The problems that some are describing sound a lot like lost interrupts or lost wakeups. The former could easily be hardware dependant. My FreeBSD 10.3-PRERELEASE desktop is worse under load. It also uses zfs, but only has 8 GB of RAM. The main culprit is firefox, which gets very bloated after a while. I've got some other hoggish processes on it, which doesn't help.