From owner-freebsd-stable Fri May 24 5: 5: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 958C837B40C for ; Fri, 24 May 2002 05:04:43 -0700 (PDT) Received: from hades.hell.gr (patr530-b156.otenet.gr [212.205.244.164]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g4OC4c6H005786; Fri, 24 May 2002 15:04:38 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g4OC4bRV001142; Fri, 24 May 2002 15:04:37 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g4OBoRwh000963; Fri, 24 May 2002 14:50:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 24 May 2002 14:50:27 +0300 From: Giorgos Keramidas To: Fred Souza Cc: stable@FreeBSD.ORG Subject: Re: Bad TCP checksum Message-ID: <20020524115027.GB857@hades.hell.gr> References: <20020523081803.GA1730@torment.storming.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020523081803.GA1730@torment.storming.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ freebsd-hackers removed from Cc: - please do not cross-post ] On 2002-05-23 11:18, Fred Souza wrote: > > 19:16:55.759657 me.50441 > somehost.http: S [bad tcp cksum fffe!] ... > Since I saw once something similar happening, I think it's good to > mention that these lines exist in my /etc/make.conf: > > CFLAGS= -O2 > COPTFLAGS+= -O2 > CPUTYPE=k6-2 It was probably me that you show mentioning it. I've tried to test differences in speed with -O2 for both the userland and kernel, and failed as you describe. This comment from make.conf might help you a bit in choosing optimizations flags: # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings above -O (-O2, ...) are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" before submitting bug reports # to the developers. # Note also that at this time the -O2 setting is known to produce BROKEN # CODE on the Alpha platform. -- Giorgos Keramidas - http://www.FreeBSD.org keramida@FreeBSD.org - The Power to Serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message