From owner-freebsd-current@FreeBSD.ORG Sat Dec 14 21:59:10 2013 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 A78BB12F; Sat, 14 Dec 2013 21:59:10 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6C9911179; Sat, 14 Dec 2013 21:59:10 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.7/8.14.7) with ESMTP id rBELx4Zh024568; Sat, 14 Dec 2013 13:59:04 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.7/8.14.7/Submit) id rBELx41u024567; Sat, 14 Dec 2013 13:59:04 -0800 (PST) (envelope-from sgk) Date: Sat, 14 Dec 2013 13:59:04 -0800 From: Steve Kargl To: Stefan Esser Subject: Re: SVN commit 259045 breaks -CURRENT Message-ID: <20131214215904.GA24545@troutmask.apl.washington.edu> References: <52ACD12A.5020906@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52ACD12A.5020906@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, kib@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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, 14 Dec 2013 21:59:10 -0000 On Sat, Dec 14, 2013 at 10:44:10PM +0100, Stefan Esser wrote: > I noticed a severe slowdown and network problems on my amd64 -CURRENT > system. By bisecting SVN revisions I identified the following commit > to be responsible: > > ---------------------------------------------------------------------- > r259045 | kib | 2013-12-06 22:44:13 +0100 (Fri, 06 Dec 2013) | 9 lines > > Disallow optimizations which potentially remove boundary checks > for signed values due to a compiler authors considering integer > overflow as impossible. > > The change follows suit of other projects taking the same measure. > ---------------------------------------------------------------------- > > This commit added the following line to /sys/conf/kern.mk: > > CFLAGS+= -fno-strict-overflow > > > The most obvious symptoms of the problem on my system are: > > 1) sa-spamd needs > 140 seconds to start > (instead of a few seconds) > > 2) SSH logins are very slow, many seconds of delay between connect > and password prompt, several seconds after password entry until > a command prompt appears (normally instantaneous) > Ah, so that explains the behavior I'm see. Just updated a circa Aug 3rd i386 FreeBSD to top-of-tree. My ssh logins to my work system take 30+ seconds now. :( -- steve -- Steve