Am 14.12.2013 22:59, schrieb Steve Kargl: > 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. :(
You may want to test the attached patch, which reverts the above mentioned commit. Regards, STefan
Index: /sys/conf/kern.mk =================================================================== --- /sys/conf/kern.mk (revision 259396) +++ /sys/conf/kern.mk (working copy) @@ -148,12 +148,6 @@ CFLAGS+= -ffreestanding # -# Do not allow a compiler to optimize out overflow checks for signed -# types. -# -CFLAGS+= -fno-strict-overflow - -# # GCC SSP support # .if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \
_______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"