From owner-freebsd-current@FreeBSD.ORG Sat Dec 14 22:20:47 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 58B9BA89 for ; Sat, 14 Dec 2013 22:20:47 +0000 (UTC) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DD88612E9 for ; Sat, 14 Dec 2013 22:20:46 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id mx12so1854682bkb.34 for ; Sat, 14 Dec 2013 14:20:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=bvyh6eBPrw2H+2h8C4fBaHlGZvWxp+O9MAtRQXCv2TM=; b=ZLcLtzMOs7RYHGF5RB8fOO7NXq4OTRV2BdijmrXmYmHLP50jrC5nG0QysGrhfMz0Gv h+Z2QHL+B/ZQ1TubMUiW8BJTbs6q2Iy8GL+Y00Njq7zCEVEpK2SswsN7pHne5lfCM9jv py0/FxP/Yh2oLDz3KQ7M7kXvCK28z2K4zzgRduwd5/I6aSslHk8LpKl6zorRgetyNpni we3HIS+xhZRTsOfaAT7aqarhU34yoSJIOoz5sxOE+6WPhjE6c7qWf35v1OkBbBeNr+cy t7sM8cTZZGqXlska/MY3QSFUjsVxXyUFcUbVkBKfsKe2m4L6PlVvdg3xdXT+sIdFKa7X R1Mg== X-Received: by 10.204.108.2 with SMTP id d2mr10516bkp.79.1387059645114; Sat, 14 Dec 2013 14:20:45 -0800 (PST) Received: from ubm.strangled.net (g231037036.adsl.alicedsl.de. [92.231.37.36]) by mx.google.com with ESMTPSA id bf8sm5866842bkb.14.2013.12.14.14.20.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Dec 2013 14:20:44 -0800 (PST) Date: Sat, 14 Dec 2013 23:20:42 +0100 From: Marc UBM To: freebsd-current@freebsd.org Subject: Re: SVN commit 259045 breaks -CURRENT Message-Id: <20131214232042.dbf77b9d6227c38292def34a@gmail.com> In-Reply-To: <20131214215904.GA24545@troutmask.apl.washington.edu> References: <52ACD12A.5020906@freebsd.org> <20131214215904.GA24545@troutmask.apl.washington.edu> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 22:20:47 -0000 On Sat, 14 Dec 2013 13:59:04 -0800 Steve Kargl wrote: > 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. :( I observe dnsmasq causing extremely high network latency without any visible reason - though that may not be related. I'll remove -fno-strict-overflow, recompile kernel and see if anything changes. Bye Marc