Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2002 14:50:27 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.ORG>
To:        Fred Souza <cseg@storming.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Bad TCP checksum
Message-ID:  <20020524115027.GB857@hades.hell.gr>
In-Reply-To: <20020523081803.GA1730@torment.storming.org>
References:  <20020523081803.GA1730@torment.storming.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[ 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020524115027.GB857>